Back to list
WordPress

mcp-php-schema

by WordPress

3🍴 0📅 Jan 9, 2026

SKILL.md


name: mcp-php-schema 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.

MCP PHP Schema Reference

Quick Navigation

Schema Structure

3 domains, 17 subdomains, 164 types total.

Domains Overview

DomainTypesPurpose
Common59Protocol base, JSON-RPC, content blocks
Server59Tools, resources, prompts, logging
Client46Sampling, elicitation, roots, tasks

Common Patterns

Finding a Request/Result Pair

  1. Check rpc-methods.md for method name
  2. Look up request type in domain file
  3. Find corresponding result type

Using Factory Classes

Factories create the correct DTO from discriminator values. See factories.md for patterns.

JSON Data Files

For programmatic access:

  • data/schema-index.json - Lightweight discovery index
  • data/schema-common.json - Common domain types
  • data/schema-server.json - Server domain types
  • data/schema-client.json - Client domain types

Search Scripts

# Search types by name
./scripts/search-types.sh "Resource"

# Get type details
./scripts/get-type.sh "CallToolRequest"

# Find RPC method
./scripts/find-rpc.sh "tools/call"

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon