What does this package do?
It provides a Laravel SDK for both consuming and serving MCP (Model Context Protocol) endpoints, including client messaging, server handling, authentication, memory, and progress tracking.
@ronydebnath
基本信息
WIP - Model Context Protocol (MCP) SDK for Laravel. A robust, extensible Laravel package that implements the Model Context Protocol (MCP) for building AI-driven conversational applications.
工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
MCP SDK for Laravel is a PHP package that provides both a client for interacting with Model Context Protocol (MCP) servers and tools for implementing MCP servers within a Laravel application. It is designed for Laravel developers who need to integrate or serve MCP-based conversational AI.
Install via Composer (composer require ronydebnath/mcp-sdk) and publish the config with php artisan vendor:publish. Configure environment variables like MCP_HOST, MCP_PORT, and MCP_TOKEN_EXPIRY, then use the MCPClient or StreamingMCPClient via dependency injection or the MCP facade to send messages. Set up an MCP server by adding a POST /mcp route and registering message handlers on MCPServer.
It provides a Laravel SDK for both consuming and serving MCP (Model Context Protocol) endpoints, including client messaging, server handling, authentication, memory, and progress tracking.
The server supports token-based authentication. Clients can send a bearer token in the `Authorization` header or include it as a `token` query parameter. Tokens are generated via `AuthProvider::generateToken()` and validated by the `AuthMiddleware`.
Memory is kept in-memory by default. If `MCP_MEMORY_PERSIST` is set to `true`, data is persisted to the filesystem at the path specified by `MCP_MEMORY_STORAGE_PATH` (default `storage_path('app/mcp/memory')`).
Connections are HTTP-based. The client sends messages to a configured host/port. The server listens on a `POST /mcp` route. Streaming is supported when the client sends an `Accept: text/event-stream` header.
The package requires a Laravel application running on PHP 8.0+ with the Composer dependency manager. It uses standard Laravel features like service providers, facades, and dependency injection.

Local-first credential broker for MCP. AI coding agents (Claude Code, Cursor, Codex…) call APIs, SSH and databases through scoped presets; secrets stay in your OS keychain and never enter the agent's context.

SSH MCP server for AI agents: remote commands, file transfer, log search and server audits through OpenSSH.

Verified cyber-physical AI tools. 25 MCP tools, x402-payable on Base.

Catch intent conflicts before code conflicts. The open-source coordination protocol for coding agents, built above Git.

Know when your AI agents, cron jobs and CI pipelines fail, stall or go quiet. Your agent sets up monitors from a plain description, tells you what is broken and why, reads run history and traces, and writes notes on inci
评论