AI SummaryA schema reference guide for implementing MCP (Model Context Protocol) clients and servers in PHP, helping developers quickly locate the right types and DTOs for protocol integration tasks.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to install the "mcp-php-schema" skill in my project. Please run this command in my terminal: # Install skill into the correct directory (14 files) mkdir -p .claude/skills/skill && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/skill/SKILL.md "https://raw.githubusercontent.com/WordPress/php-mcp-schema/trunk/skill/SKILL.md" && mkdir -p .claude/skills/skill/data && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/skill/data/schema-client.json "https://raw.githubusercontent.com/WordPress/php-mcp-schema/trunk/skill/data/schema-client.json" && mkdir -p .claude/skills/skill/data && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/skill/data/schema-common.json "https://raw.githubusercontent.com/WordPress/php-mcp-schema/trunk/skill/data/schema-common.json" && mkdir -p .claude/skills/skill/data && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/skill/data/schema-index.json "https://raw.githubusercontent.com/WordPress/php-mcp-schema/trunk/skill/data/schema-index.json" && mkdir -p .claude/skills/skill/data && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/skill/data/schema-server.json "https://raw.githubusercontent.com/WordPress/php-mcp-schema/trunk/skill/data/schema-server.json" && mkdir -p .claude/skills/skill/reference && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/skill/reference/client.md "https://raw.githubusercontent.com/WordPress/php-mcp-schema/trunk/skill/reference/client.md" && mkdir -p .claude/skills/skill/reference && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/skill/reference/common.md "https://raw.githubusercontent.com/WordPress/php-mcp-schema/trunk/skill/reference/common.md" && mkdir -p .claude/skills/skill/reference && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/skill/reference/factories.md "https://raw.githubusercontent.com/WordPress/php-mcp-schema/trunk/skill/reference/factories.md" && mkdir -p .claude/skills/skill/reference && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/skill/reference/overview.md "https://raw.githubusercontent.com/WordPress/php-mcp-schema/trunk/skill/reference/overview.md" && mkdir -p .claude/skills/skill/reference && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/skill/reference/rpc-methods.md "https://raw.githubusercontent.com/WordPress/php-mcp-schema/trunk/skill/reference/rpc-methods.md" && mkdir -p .claude/skills/skill/reference && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/skill/reference/server.md "https://raw.githubusercontent.com/WordPress/php-mcp-schema/trunk/skill/reference/server.md" && mkdir -p .claude/skills/skill/scripts && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/skill/scripts/find-rpc.sh "https://raw.githubusercontent.com/WordPress/php-mcp-schema/trunk/skill/scripts/find-rpc.sh" && mkdir -p .claude/skills/skill/scripts && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/skill/scripts/get-type.sh "https://raw.githubusercontent.com/WordPress/php-mcp-schema/trunk/skill/scripts/get-type.sh" && mkdir -p .claude/skills/skill/scripts && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/skill/scripts/search-types.sh "https://raw.githubusercontent.com/WordPress/php-mcp-schema/trunk/skill/scripts/search-types.sh" Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.
Description
Navigate and understand the MCP PHP schema. Use when implementing MCP clients/servers, understanding protocol types, or finding the right DTO for a task.
Domains Overview
| Domain | Types | Purpose | | --- | --- | --- | | Common | 59 | Protocol base, JSON-RPC, content blocks | | Server | 59 | Tools, resources, prompts, logging | | Client | 46 | Sampling, elicitation, roots, tasks |
Quick Navigation
• Server types (resources, tools, prompts): reference/server.md • Client types (sampling, elicitation, roots): reference/client.md • Common types (protocol, JSON-RPC): reference/common.md • RPC methods: reference/rpc-methods.md • Factories: reference/factories.md
Schema Structure
3 domains, 17 subdomains, 164 types total.
Finding a Request/Result Pair
• Check rpc-methods.md for method name • Look up request type in domain file • Find corresponding result type
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster