Documentation Index

July 6, 2026 · View on GitHub

Every document in this repository, labeled by audience. Paths are stable — link to them freely.

User guides — building with the SDK

DocumentWhat it covers
server-dev.mdBuilding MCP servers with McpServer: tools, prompts, resources, deployment, OAuth protection, structured output, elicitation, sampling, completions, notifications. Teaches the 2026-07-28 stateless model as the default with legacy behavior marked.
client-dev.mdBuilding MCP clients with Client / ClientSession: dual-era negotiation, tools/prompts/resources, HTTP transport configuration, OAuth (CLI and web hosting), elicitation/sampling servicing, session resume.
migration-v2.mdUpgrading a project from v1 to v2 — every breaking and behavioral change, with runnable before/after code, plus the deprecated-features registry.
tasks.mdThe Tasks extension (SEP-2663): long-running tool calls, polling, in-task input, cancellation — server and client side.
apps.mdThe MCP Apps extension (SEP-1865): host-rendered tool UIs via McpServer::ui().
compatibility.mdThe cPanel/Apache/PHP-FPM compatibility rules: what works everywhere, what degrades gracefully, and required .htaccess configuration.
shared-hosting-validation.mdThe live cPanel/Apache/FPM validation record for v2: what was run, the per-feature verdicts, and the degradation tests backing each claim.
../examples/README.mdIndex of runnable examples — one per major SDK feature.
../webclient/README.mdThe bundled web-based MCP test client (reference implementation for web hosting).

Contributor guides — working on the SDK

DocumentWhat it covers
testing.mdThe canonical test-stack reference: PHPUnit, PHPStan, both conformance tracks, MCP Inspector / Claude Code / OpenAI harnesses.
../conformance/README.mdHow the dual-track conformance harness works, baseline curation, and the no-shortcuts rule.
dependency-policy.mdHow dependencies are declared, bumped, and retired.
labels.mdIssue labels, aligned with the MCP SDK Working Group conventions.
../CONTRIBUTING.mdLocal setup, coding standards, versioning policy, review flow.
../AGENTS.mdOrientation for AI coding agents: architecture map, test commands, v2 process rules.

Process and governance

DocumentWhat it covers
v2-development-plan.mdThe main working plan for v2 development — workstreams, milestones, release gates, and the development record.
api-audit-v2.mdThe v1 → v2 PHP API audit (source material for the migration guide).
../ROADMAP.mdDirection, SDK-tier self-assessment, and what is being worked on.
../CHANGELOG.mdStructured release history (Keep a Changelog).
../GOVERNANCE.mdHow decisions are made and how to become a trusted contributor.
../SECURITY.mdHow to report vulnerabilities.
../SUPPORT.mdWhere to ask questions.
../CODE_OF_CONDUCT.mdContributor Covenant 2.1, adopted by reference.