python-sdk/examples
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-06-26 12:02:27 +02:00
..
clients Validate the iss authorization-response parameter (RFC 9207 / SEP-2468) (#2921) 2026-06-20 17:54:18 +02:00
mcpserver Split protocol types into a standalone mcp-types package (#2973) 2026-06-25 19:18:38 +02:00
servers Conformance burn-down: server-side InputRequiredResult, Mcp-Method/Name validation, x-mcp-header filter (14 scenarios → green) (#2974) 2026-06-26 09:51:59 +02:00
snippets Split protocol types into a standalone mcp-types package (#2973) 2026-06-25 19:18:38 +02:00
stories Add story-style examples suite (27 stories + harness + CI) (#2957) 2026-06-26 12:02:27 +02:00
pyproject.toml Add story-style examples suite (27 stories + harness + CI) (#2957) 2026-06-26 12:02:27 +02:00
README.md Add story-style examples suite (27 stories + harness + CI) (#2957) 2026-06-26 12:02:27 +02:00

Python SDK examples

  • stories/ — the canonical reference. One self-verifying example per protocol feature, each with its own README. Start with stories/tools/; the stories README has the full table and how to run them.
  • snippets/ — short extracts embedded into README.v2.md. Kept minimal and in sync with the top-level README; not intended to be run standalone.
  • servers/everything-server/ — the conformance target for the cross-SDK conformance suite. Exercises every server capability in one process.
  • mcpserver/ — single-file v1-era examples retained for the migration guide; superseded by stories/ and slated for removal.
  • clients/ and the remaining servers/ directories (simple-*, sse-polling-demo, structured-output-lowlevel) — standalone v1-era projects still linked from README.v2.md; retained pending consolidation into stories/.

For real-world servers see the servers repository.