What problem does it solve?
Provides a clear, navigable reference for the Model Context Protocol schema implemented in PHP so developers can quickly find type definitions, RPC methods, and factory mappings without reading the entire codebase.
Core Features & Use Cases
- Type discovery: Human-readable domain references and JSON data files list classes, unions, namespaces, and properties for 164 types across Common, Server, and Client domains.
- RPC mapping & factories: Indexed RPC method table and factory mappings make it easy to find request/result pairs and discriminator-based object instantiation patterns.
- Search tooling: Helper shell scripts enable programmatic lookup of types and RPC methods for integration into development workflows.
- Use Case: Integrate the schema into tooling to validate JSON-RPC messages, map incoming RPC requests to DTOs, or locate the correct DTO namespace when building MCP-compatible clients and servers.
Quick Start
Open the MCP PHP schema and use the included scripts to find the DTO details for CallToolRequest.