Skip to content

Documentation Plan ​

This page tracks where the documentation stands and what gets written next, so docs work stays deliberate instead of ad hoc.

Current State ​

AreaPageStatus
Landing / overviewindex.mdDone — value proposition, protocol surface, architecture diagram
Onboardinggetting-started.mdDone — install, app factory, both transports
Middlewaremiddleware.mdDone
Taskstasks.mdDone — execution flow diagram, opt-in, helpers, example
Securitysecurity.mdDone — auth flow diagram, token map, introspection, authz rules
Runtime referenceruntime-surface.mdDone — revisions, stateless draft flow, endpoints
Docs infrastructuredeployment.mdDone
Release processrelease.mdDone

Gaps To Fill Next ​

Ordered by expected reader value.

Phase 1 — Reference completeness ​

  • API reference. Generate from docstrings so create_app(), registries, ServerSettings, task helpers, and the security types have a browsable reference instead of living only in guide prose.
  • Settings reference. A dedicated page for ServerSettings and MiddlewareConfig: every knob, default, and which guide explains it.
  • Transports guide. Streamable HTTP details (sessions, SSE streams, shutdown behavior, http_validation rules) and stdio framing in one place; today this is scattered across runtime-surface.md and getting-started.md.

Phase 2 — Task-oriented guides ​

  • Resources and subscriptions. resources/subscribe, update notifications, and the subscriptions.py transport surface.
  • Prompts and roots. Short guides matching the depth tools already have.
  • Observability. What pymcp.observability.logging emits and how to wire it into an existing logging setup.
  • Cookbook. Promote example/ (config-driven server, web-based example) into narrated recipes.

Phase 3 — Operations and policy ​

  • Testing and conformance. How to run the MCP conformance suite locally and what the CI baseline (conformance-baseline.yml) means.
  • Versioning policy. Which MCP revisions are supported, how draft support is gated, and what the deprecation path looks like.
  • Troubleshooting / FAQ. Start from real issues (session errors, 401/403 challenges, task lifecycle confusion) as they come up.

Conventions ​

  • Every page must be reachable from nav or sidebar in docs/.vitepress/config.mjs; the build fails on dead links, so broken links fail CI.
  • Pages are served at /<page>/ (the URLs the project has always used), via the rewrites map in docs/.vitepress/config.mjs. A new page needs an entry there, a sidebar entry, and root-absolute links such as /tasks/.
  • Diagrams are Mermaid fenced blocks (```mermaid), rendered in the browser by the shared theme (light and dark, click to enlarge). Do not add a custom Mermaid loader script.
  • Design and layout come from the shared @tavric-labs/docs-theme package. Change the look there, not in this repository.
  • Prefer one flow diagram plus focused code examples per guide over long prose; match the structure of tasks.md and security.md.
  • Keep README.md links pointing at the hosted pages listed here.

Released under the MIT License.