PHP MCP Server sdk
@yamayuski
About PHP MCP Server sdk
PHP MCP Server SDK library
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is PHP MCP Server sdk?
PHP MCP Server sdk is a library for building MCP (Model Context Protocol) servers in PHP 8.2+. It exposes resources, prompts, and tools over standard transports (stdio and Streamable HTTP/SSE) and handles all MCP protocol messages and lifecycle events. It is intended for PHP developers who need to create MCP-compliant servers that can integrate with MCP clients.
How to use PHP MCP Server sdk?
Install the SDK via Composer: composer require yamayuski/php-mcp-server-sdk. Then write your server implementation to expose resources, prompts, and tools. The SDK manages all MCP protocol message handling and lifecycle events. For development, use Dev Containers with VS Code or PhpStorm; run composer install, then composer test for unit tests or ./start-inspector.sh for inspector testing.
Key features of PHP MCP Server sdk
- Build MCP servers that expose resources, prompts, and tools
- Use stdio or Streamable HTTP (SSE) transports
- Handle all MCP protocol messages and lifecycle events
- Requires PHP 8.2+
- Licensed under Apache-2.0
Use cases of PHP MCP Server sdk
- Create a custom MCP server for your application's data and tools
- Build a bridge between existing PHP services and MCP clients
- Implement a server that provides resources and prompts via HTTP streaming
FAQ from PHP MCP Server sdk
What PHP version is required?
PHP 8.2 or higher.
What transports does the SDK support?
It supports stdio and Streamable HTTP (SSE) transports.
How do I install the SDK?
Use Composer: composer require yamayuski/php-mcp-server-sdk.
Is there a way to test my server?
Yes, run composer test for unit tests or ./start-inspector.sh for inspector testing.
What license does the SDK use?
It is licensed under the Apache-2.0 license.
Frequently asked questions
What PHP version is required?
PHP 8.2 or higher.
What transports does the SDK support?
It supports stdio and Streamable HTTP (SSE) transports.
How do I install the SDK?
Use Composer: `composer require yamayuski/php-mcp-server-sdk`.
Is there a way to test my server?
Yes, run `composer test` for unit tests or `./start-inspector.sh` for inspector testing.
What license does the SDK use?
It is licensed under the Apache-2.0 license.
Basic information
More Developer Tools MCP servers

PuzzleTide Puzzle Generator
Caravaca-LabsWord search generator, crossword generator, and sudoku generator + solver as a local-first MCP server. 15 deterministic tools: printable PDF puzzle worksheets, themed word banks, and verifiable LLM evals. From the makers
MCP-Scan: An MCP Security Scanner
invariantlabs-aiSecurity scanner for AI agents, MCP servers and agent skills.
Altronis
sypherinMCP server + CLI for Altronis — Singapore AI consulting. Ask the Lyra consultant, generate a grant-matched AI transformation plan, pull curated SG AI events/news. Read-only, wraps altronis.sg.
Grafana MCP server
grafanaMCP server for Grafana
mcp-excalidraw
yctimlinMCP server and Claude Code skill for Excalidraw — programmatic canvas toolkit to create, edit, and export diagrams via AI agents with real-time canvas sync.
Comments