mcp-php-schema

Official

Quickly locate MCP PHP DTOs and RPC types

AuthorWordPress
Version1.0.0
Installs0

System Documentation

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.

Dependency Matrix

Required Modules

jq

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: mcp-php-schema
Download link: https://github.com/WordPress/php-mcp-schema/archive/main.zip#mcp-php-schema

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.