askill
mcp-php-schema

mcp-php-schemaSafety 100Repository

Navigate and understand the MCP PHP schema. Use when implementing MCP clients/servers, understanding protocol types, or finding the right DTO for a task.

3 stars
1.2k downloads
Updated 1/9/2026

Package Files

Loading files...
SKILL.md

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"

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

82/100Analyzed 2/28/2026

High-quality technical reference skill for navigating the MCP PHP schema. Provides comprehensive overview of 3 domains (Common, Server, Client) with 164 types, clear navigation paths to reference files, common patterns for finding request/result pairs, programmatic JSON access, and search scripts. The description includes clear usage triggers. Well-structured with tables and code examples. Minor issue: 'observability' tag seems misaligned with schema navigation content. Reference-style skill that scores well on R11 (high-density technical content) and R3 (when to use section).

100
85
80
85
75

Metadata

Licenseunknown
Version-
Updated1/9/2026
PublisherWordPress

Tags

observability