| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository |
| route-controller | files |
| route-action | disambiguate |
| fetch-nonce | v2:e3867606-4a18-075a-d9fd-d8539e98a2a5 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | D704:20741A:139EA9A:1A14B7A:6AFEAF11 |
| html-safe-nonce | 2c89565ad636c1b0b887e7457d0071aec63e6062d34f993506bab71bbe7a872f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzA0OjIwNzQxQToxMzlFQTlBOjFBMTRCN0E6NkFGRUFGMTEiLCJ2aXNpdG9yX2lkIjoiNzYzODQ0NTA2MjUwNTgwMzUzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 533b475b1ca68ae3cb7e6a8775eb528844a8f82bbb5ac82cbd5a7be005e383f3 |
| hovercard-subject-tag | repository:974487101 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | // |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/markadelnawar/python-sdk |
| twitter:image | https://opengraph.githubassets.com/d7547bf66aa9922f8d9df814142c08df66b4f91776e9e4c8648e7e554ceb2bf7/markadelnawar/python-sdk |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d7547bf66aa9922f8d9df814142c08df66b4f91776e9e4c8648e7e554ceb2bf7/markadelnawar/python-sdk |
| og:image:alt | The official Python SDK for Model Context Protocol servers and clients - markadelnawar/python-sdk |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 95b2753c978240785d6cca00783c00a371b2d7d9879bb32e305170a1b19bd28e |
| turbo-cache-control | no-cache |
| go-import | github.com/markadelnawar/python-sdk git https://github.com/markadelnawar/python-sdk.git |
| octolytics-dimension-user_id | 148314933 |
| octolytics-dimension-user_login | markadelnawar |
| octolytics-dimension-repository_id | 974487101 |
| octolytics-dimension-repository_nwo | markadelnawar/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 862584018 |
| octolytics-dimension-repository_parent_nwo | modelcontextprotocol/python-sdk |
| octolytics-dimension-repository_network_root_id | 862584018 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3f25273206cd841171bca0002261ae4c9757d934 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/markadelnawar/python-sdk#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmarkadelnawar%2Fpython-sdk |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmarkadelnawar%2Fpython-sdk |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=markadelnawar%2Fpython-sdk |
| Reload | https://github.com/markadelnawar/python-sdk |
| Reload | https://github.com/markadelnawar/python-sdk |
| Reload | https://github.com/markadelnawar/python-sdk |
| markadelnawar | https://github.com/markadelnawar |
| python-sdk | https://github.com/markadelnawar/python-sdk |
| Code | https://github.com/markadelnawar/python-sdk |
| Pull requests1 (1) | https://github.com/markadelnawar/python-sdk/pulls |
| Actions | https://github.com/markadelnawar/python-sdk/actions |
| Projects | https://github.com/markadelnawar/python-sdk/projects |
| Security and quality | https://github.com/markadelnawar/python-sdk/security |
| Insights | https://github.com/markadelnawar/python-sdk/pulse |
| https://github.com/markadelnawar/python-sdk |
| python-sdk | https://github.com/markadelnawar/python-sdk |
| modelcontextprotocol/python-sdk | https://github.com/modelcontextprotocol/python-sdk |
| Notifications | https://github.com/login?return_to=%2Fmarkadelnawar%2Fpython-sdk |
| Fork0 (0) | https://github.com/login?return_to=%2Fmarkadelnawar%2Fpython-sdk |
| Star0 (0) | https://github.com/login?return_to=%2Fmarkadelnawar%2Fpython-sdk |
| modelcontextprotocol.io | https://modelcontextprotocol.io |
| Readme | https://github.com/markadelnawar/python-sdk#readme-ov-file |
| License | https://github.com/markadelnawar/python-sdk#License-1-ov-file |
| Code of conduct | https://github.com/markadelnawar/python-sdk#coc-ov-file |
| Contributing | https://github.com/markadelnawar/python-sdk#contributing-ov-file |
| Security policy | https://github.com/markadelnawar/python-sdk#security-ov-file |
| Activity | https://github.com/markadelnawar/python-sdk/activity |
| 0 forks | https://github.com/markadelnawar/python-sdk/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fmarkadelnawar%2Fpython-sdk&report=markadelnawar+%28user%29 |
| Branches | https://github.com/markadelnawar/python-sdk/branches |
| Tags | https://github.com/markadelnawar/python-sdk/tags |
| https://github.com/markadelnawar/python-sdk/branches |
| https://github.com/markadelnawar/python-sdk/tags |
| 810 Commits | https://github.com/markadelnawar/python-sdk/commits/main/ |
| https://github.com/markadelnawar/python-sdk/commits/main/ |
| .claude/commands | https://github.com/markadelnawar/python-sdk/tree/main/.claude/commands |
| .claude/commands | https://github.com/markadelnawar/python-sdk/tree/main/.claude/commands |
| .github | https://github.com/markadelnawar/python-sdk/tree/main/.github |
| .github | https://github.com/markadelnawar/python-sdk/tree/main/.github |
| docs | https://github.com/markadelnawar/python-sdk/tree/main/docs |
| docs | https://github.com/markadelnawar/python-sdk/tree/main/docs |
| examples | https://github.com/markadelnawar/python-sdk/tree/main/examples |
| examples | https://github.com/markadelnawar/python-sdk/tree/main/examples |
| scripts | https://github.com/markadelnawar/python-sdk/tree/main/scripts |
| scripts | https://github.com/markadelnawar/python-sdk/tree/main/scripts |
| src/mcp | https://github.com/markadelnawar/python-sdk/tree/main/src/mcp |
| src/mcp | https://github.com/markadelnawar/python-sdk/tree/main/src/mcp |
| tests | https://github.com/markadelnawar/python-sdk/tree/main/tests |
| tests | https://github.com/markadelnawar/python-sdk/tree/main/tests |
| .git-blame-ignore-revs | https://github.com/markadelnawar/python-sdk/blob/main/.git-blame-ignore-revs |
| .git-blame-ignore-revs | https://github.com/markadelnawar/python-sdk/blob/main/.git-blame-ignore-revs |
| .gitattribute | https://github.com/markadelnawar/python-sdk/blob/main/.gitattribute |
| .gitattribute | https://github.com/markadelnawar/python-sdk/blob/main/.gitattribute |
| .gitignore | https://github.com/markadelnawar/python-sdk/blob/main/.gitignore |
| .gitignore | https://github.com/markadelnawar/python-sdk/blob/main/.gitignore |
| .pre-commit-config.yaml | https://github.com/markadelnawar/python-sdk/blob/main/.pre-commit-config.yaml |
| .pre-commit-config.yaml | https://github.com/markadelnawar/python-sdk/blob/main/.pre-commit-config.yaml |
| CLAUDE.md | https://github.com/markadelnawar/python-sdk/blob/main/CLAUDE.md |
| CLAUDE.md | https://github.com/markadelnawar/python-sdk/blob/main/CLAUDE.md |
| CODE_OF_CONDUCT.md | https://github.com/markadelnawar/python-sdk/blob/main/CODE_OF_CONDUCT.md |
| CODE_OF_CONDUCT.md | https://github.com/markadelnawar/python-sdk/blob/main/CODE_OF_CONDUCT.md |
| CONTRIBUTING.md | https://github.com/markadelnawar/python-sdk/blob/main/CONTRIBUTING.md |
| CONTRIBUTING.md | https://github.com/markadelnawar/python-sdk/blob/main/CONTRIBUTING.md |
| LICENSE | https://github.com/markadelnawar/python-sdk/blob/main/LICENSE |
| LICENSE | https://github.com/markadelnawar/python-sdk/blob/main/LICENSE |
| README.md | https://github.com/markadelnawar/python-sdk/blob/main/README.md |
| README.md | https://github.com/markadelnawar/python-sdk/blob/main/README.md |
| README.v2.md | https://github.com/markadelnawar/python-sdk/blob/main/README.v2.md |
| README.v2.md | https://github.com/markadelnawar/python-sdk/blob/main/README.v2.md |
| RELEASE.md | https://github.com/markadelnawar/python-sdk/blob/main/RELEASE.md |
| RELEASE.md | https://github.com/markadelnawar/python-sdk/blob/main/RELEASE.md |
| SECURITY.md | https://github.com/markadelnawar/python-sdk/blob/main/SECURITY.md |
| SECURITY.md | https://github.com/markadelnawar/python-sdk/blob/main/SECURITY.md |
| mkdocs.yml | https://github.com/markadelnawar/python-sdk/blob/main/mkdocs.yml |
| mkdocs.yml | https://github.com/markadelnawar/python-sdk/blob/main/mkdocs.yml |
| pyproject.toml | https://github.com/markadelnawar/python-sdk/blob/main/pyproject.toml |
| pyproject.toml | https://github.com/markadelnawar/python-sdk/blob/main/pyproject.toml |
| uv.lock | https://github.com/markadelnawar/python-sdk/blob/main/uv.lock |
| uv.lock | https://github.com/markadelnawar/python-sdk/blob/main/uv.lock |
| README | https://github.com/markadelnawar/python-sdk |
| Code of conduct | https://github.com/markadelnawar/python-sdk |
| Contributing | https://github.com/markadelnawar/python-sdk |
| License | https://github.com/markadelnawar/python-sdk |
| Security | https://github.com/markadelnawar/python-sdk |
| https://github.com/markadelnawar/python-sdk#mcp-python-sdk |
| https://pypi.org/project/mcp/ |
| https://github.com/modelcontextprotocol/python-sdk/blob/main/LICENSE |
| https://www.python.org/downloads/ |
| https://modelcontextprotocol.github.io/python-sdk/ |
| https://modelcontextprotocol.io |
| https://modelcontextprotocol.io/specification/latest |
| v1.x branch | https://github.com/modelcontextprotocol/python-sdk/tree/v1.x |
| README.v2.md | https://github.com/markadelnawar/python-sdk/blob/main/README.v2.md |
| https://github.com/markadelnawar/python-sdk#table-of-contents |
| MCP Python SDK | https://github.com/markadelnawar/python-sdk#mcp-python-sdk |
| Overview | https://github.com/markadelnawar/python-sdk#overview |
| Installation | https://github.com/markadelnawar/python-sdk#installation |
| Adding MCP to your python project | https://github.com/markadelnawar/python-sdk#adding-mcp-to-your-python-project |
| Running the standalone MCP development tools | https://github.com/markadelnawar/python-sdk#running-the-standalone-mcp-development-tools |
| Quickstart | https://github.com/markadelnawar/python-sdk#quickstart |
| What is MCP? | https://github.com/markadelnawar/python-sdk#what-is-mcp |
| Core Concepts | https://github.com/markadelnawar/python-sdk#core-concepts |
| Server | https://github.com/markadelnawar/python-sdk#server |
| Resources | https://github.com/markadelnawar/python-sdk#resources |
| Tools | https://github.com/markadelnawar/python-sdk#tools |
| Structured Output | https://github.com/markadelnawar/python-sdk#structured-output |
| Prompts | https://github.com/markadelnawar/python-sdk#prompts |
| Images | https://github.com/markadelnawar/python-sdk#images |
| Context | https://github.com/markadelnawar/python-sdk#context |
| Getting Context in Functions | https://github.com/markadelnawar/python-sdk#getting-context-in-functions |
| Context Properties and Methods | https://github.com/markadelnawar/python-sdk#context-properties-and-methods |
| Completions | https://github.com/markadelnawar/python-sdk#completions |
| Elicitation | https://github.com/markadelnawar/python-sdk#elicitation |
| Sampling | https://github.com/markadelnawar/python-sdk#sampling |
| Logging and Notifications | https://github.com/markadelnawar/python-sdk#logging-and-notifications |
| Authentication | https://github.com/markadelnawar/python-sdk#authentication |
| FastMCP Properties | https://github.com/markadelnawar/python-sdk#fastmcp-properties |
| Session Properties and Methods | https://github.com/markadelnawar/python-sdk#session-properties-and-methods |
| Request Context Properties | https://github.com/markadelnawar/python-sdk#request-context-properties |
| Running Your Server | https://github.com/markadelnawar/python-sdk#running-your-server |
| Development Mode | https://github.com/markadelnawar/python-sdk#development-mode |
| Claude Desktop Integration | https://github.com/markadelnawar/python-sdk#claude-desktop-integration |
| Direct Execution | https://github.com/markadelnawar/python-sdk#direct-execution |
| Streamable HTTP Transport | https://github.com/markadelnawar/python-sdk#streamable-http-transport |
| CORS Configuration for Browser-Based Clients | https://github.com/markadelnawar/python-sdk#cors-configuration-for-browser-based-clients |
| Mounting to an Existing ASGI Server | https://github.com/markadelnawar/python-sdk#mounting-to-an-existing-asgi-server |
| StreamableHTTP servers | https://github.com/markadelnawar/python-sdk#streamablehttp-servers |
| Basic mounting | https://github.com/markadelnawar/python-sdk#basic-mounting |
| Host-based routing | https://github.com/markadelnawar/python-sdk#host-based-routing |
| Multiple servers with path configuration | https://github.com/markadelnawar/python-sdk#multiple-servers-with-path-configuration |
| Path configuration at initialization | https://github.com/markadelnawar/python-sdk#path-configuration-at-initialization |
| SSE servers | https://github.com/markadelnawar/python-sdk#sse-servers |
| Advanced Usage | https://github.com/markadelnawar/python-sdk#advanced-usage |
| Low-Level Server | https://github.com/markadelnawar/python-sdk#low-level-server |
| Structured Output Support | https://github.com/markadelnawar/python-sdk#structured-output-support |
| Pagination (Advanced) | https://github.com/markadelnawar/python-sdk#pagination-advanced |
| Writing MCP Clients | https://github.com/markadelnawar/python-sdk#writing-mcp-clients |
| Client Display Utilities | https://github.com/markadelnawar/python-sdk#client-display-utilities |
| OAuth Authentication for Clients | https://github.com/markadelnawar/python-sdk#oauth-authentication-for-clients |
| Parsing Tool Results | https://github.com/markadelnawar/python-sdk#parsing-tool-results |
| MCP Primitives | https://github.com/markadelnawar/python-sdk#mcp-primitives |
| Server Capabilities | https://github.com/markadelnawar/python-sdk#server-capabilities |
| Documentation | https://github.com/markadelnawar/python-sdk#documentation |
| Contributing | https://github.com/markadelnawar/python-sdk#contributing |
| License | https://github.com/markadelnawar/python-sdk#license |
| https://github.com/markadelnawar/python-sdk#overview |
| https://github.com/markadelnawar/python-sdk#installation |
| https://github.com/markadelnawar/python-sdk#adding-mcp-to-your-python-project |
| uv | https://docs.astral.sh/uv/ |
| https://github.com/markadelnawar/python-sdk#running-the-standalone-mcp-development-tools |
| https://github.com/markadelnawar/python-sdk#quickstart |
| examples/snippets/servers/fastmcp_quickstart.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/fastmcp_quickstart.py |
| Claude Code | https://docs.claude.com/en/docs/claude-code/mcp |
| https://github.com/markadelnawar/python-sdk#what-is-mcp |
| Model Context Protocol (MCP) | https://modelcontextprotocol.io |
| https://github.com/markadelnawar/python-sdk#core-concepts |
| https://github.com/markadelnawar/python-sdk#server |
| examples/snippets/servers/lifespan_example.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/lifespan_example.py |
| https://github.com/markadelnawar/python-sdk#resources |
| examples/snippets/servers/basic_resource.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/basic_resource.py |
| https://github.com/markadelnawar/python-sdk#tools |
| examples/snippets/servers/basic_tool.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/basic_tool.py |
| examples/snippets/servers/tool_progress.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/tool_progress.py |
| https://github.com/markadelnawar/python-sdk#structured-output |
| https://github.com/markadelnawar/python-sdk#advanced-direct-calltoolresult |
| examples/snippets/servers/direct_call_tool_result.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/direct_call_tool_result.py |
| examples/snippets/servers/structured_output.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/structured_output.py |
| https://github.com/markadelnawar/python-sdk#prompts |
| examples/snippets/servers/basic_prompt.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/basic_prompt.py |
| https://github.com/markadelnawar/python-sdk#icons |
| examples/fastmcp/icons_demo.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/fastmcp/icons_demo.py |
| https://github.com/markadelnawar/python-sdk#images |
| examples/snippets/servers/images.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/images.py |
| https://github.com/markadelnawar/python-sdk#context |
| https://github.com/markadelnawar/python-sdk#getting-context-in-functions |
| https://github.com/markadelnawar/python-sdk#context-properties-and-methods |
| FastMCP Properties | https://github.com/markadelnawar/python-sdk#fastmcp-properties |
| Session Properties and Methods | https://github.com/markadelnawar/python-sdk#session-properties-and-methods |
| Request Context Properties | https://github.com/markadelnawar/python-sdk#request-context-properties |
| examples/snippets/servers/tool_progress.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/tool_progress.py |
| https://github.com/markadelnawar/python-sdk#completions |
| examples/snippets/clients/completion_client.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/clients/completion_client.py |
| https://github.com/markadelnawar/python-sdk#elicitation |
| examples/snippets/servers/elicitation.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/elicitation.py |
| https://github.com/markadelnawar/python-sdk#sampling |
| examples/snippets/servers/sampling.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/sampling.py |
| https://github.com/markadelnawar/python-sdk#logging-and-notifications |
| examples/snippets/servers/notifications.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/notifications.py |
| https://github.com/markadelnawar/python-sdk#authentication |
| MCP authorization specification | https://modelcontextprotocol.io/specification/2025-06-18/basic/authorization |
| examples/snippets/servers/oauth_server.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/oauth_server.py |
| examples/servers/simple-auth/ | https://github.com/markadelnawar/python-sdk/blob/main/examples/servers/simple-auth |
| TokenVerifier | https://github.com/markadelnawar/python-sdk/blob/main/src/mcp/server/auth/provider.py |
| https://github.com/markadelnawar/python-sdk#fastmcp-properties |
| https://github.com/markadelnawar/python-sdk#session-properties-and-methods |
| https://github.com/markadelnawar/python-sdk#request-context-properties |
| examples/snippets/servers/lifespan_example.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/lifespan_example.py |
| https://github.com/markadelnawar/python-sdk#running-your-server |
| https://github.com/markadelnawar/python-sdk#development-mode |
| https://github.com/markadelnawar/python-sdk#claude-desktop-integration |
| https://github.com/markadelnawar/python-sdk#direct-execution |
| examples/snippets/servers/direct_execution.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/direct_execution.py |
| https://github.com/markadelnawar/python-sdk#streamable-http-transport |
| examples/snippets/servers/streamable_config.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/streamable_config.py |
| examples/snippets/servers/streamable_starlette_mount.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/streamable_starlette_mount.py |
| examples/servers/simple-streamablehttp/ | https://github.com/markadelnawar/python-sdk/blob/main/examples/servers/simple-streamablehttp |
| examples/servers/simple-streamablehttp-stateless/ | https://github.com/markadelnawar/python-sdk/blob/main/examples/servers/simple-streamablehttp-stateless |
| https://github.com/markadelnawar/python-sdk#cors-configuration-for-browser-based-clients |
| https://github.com/markadelnawar/python-sdk#mounting-to-an-existing-asgi-server |
| Starlette documentation | https://www.starlette.io/routing/#submounting-routes |
| https://github.com/markadelnawar/python-sdk#streamablehttp-servers |
| https://github.com/markadelnawar/python-sdk#basic-mounting |
| examples/snippets/servers/streamable_http_basic_mounting.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/streamable_http_basic_mounting.py |
| https://github.com/markadelnawar/python-sdk#host-based-routing |
| examples/snippets/servers/streamable_http_host_mounting.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/streamable_http_host_mounting.py |
| https://github.com/markadelnawar/python-sdk#multiple-servers-with-path-configuration |
| examples/snippets/servers/streamable_http_multiple_servers.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/streamable_http_multiple_servers.py |
| https://github.com/markadelnawar/python-sdk#path-configuration-at-initialization |
| examples/snippets/servers/streamable_http_path_config.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/streamable_http_path_config.py |
| https://github.com/markadelnawar/python-sdk#sse-servers |
| Streamable HTTP transport | https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http |
| Starlette documentation | https://www.starlette.io/routing/#submounting-routes |
| https://github.com/markadelnawar/python-sdk#advanced-usage |
| https://github.com/markadelnawar/python-sdk#low-level-server |
| examples/snippets/servers/lowlevel/lifespan.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/lowlevel/lifespan.py |
| examples/snippets/servers/lowlevel/basic.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/lowlevel/basic.py |
| https://github.com/markadelnawar/python-sdk#structured-output-support |
| examples/snippets/servers/lowlevel/structured_output.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/lowlevel/structured_output.py |
| https://github.com/markadelnawar/python-sdk#returning-calltoolresult-directly |
| examples/snippets/servers/lowlevel/direct_call_tool_result.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/lowlevel/direct_call_tool_result.py |
| https://github.com/markadelnawar/python-sdk#pagination-advanced |
| https://github.com/markadelnawar/python-sdk#server-side-implementation |
| examples/snippets/servers/pagination_example.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/servers/pagination_example.py |
| https://github.com/markadelnawar/python-sdk#client-side-consumption |
| examples/snippets/clients/pagination_client.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/clients/pagination_client.py |
| https://github.com/markadelnawar/python-sdk#key-points |
| simple-pagination example | https://github.com/markadelnawar/python-sdk/blob/main/examples/servers/simple-pagination |
| https://github.com/markadelnawar/python-sdk#writing-mcp-clients |
| transports | https://modelcontextprotocol.io/specification/2025-03-26/basic/transports |
| examples/snippets/clients/stdio_client.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/clients/stdio_client.py |
| Streamable HTTP transport | https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http |
| examples/snippets/clients/streamable_basic.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/clients/streamable_basic.py |
| https://github.com/markadelnawar/python-sdk#client-display-utilities |
| examples/snippets/clients/display_utilities.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/clients/display_utilities.py |
| https://github.com/markadelnawar/python-sdk#oauth-authentication-for-clients |
| authorization support | https://modelcontextprotocol.io/specification/2025-03-26/basic/authorization |
| examples/snippets/clients/oauth_client.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/snippets/clients/oauth_client.py |
| examples/clients/simple-auth-client/ | https://github.com/markadelnawar/python-sdk/blob/main/examples/clients/simple-auth-client |
| https://github.com/markadelnawar/python-sdk#parsing-tool-results |
| https://github.com/markadelnawar/python-sdk#mcp-primitives |
| https://github.com/markadelnawar/python-sdk#server-capabilities |
| https://github.com/markadelnawar/python-sdk#documentation |
| API Reference | https://modelcontextprotocol.github.io/python-sdk/api/ |
| Experimental Features (Tasks) | https://modelcontextprotocol.github.io/python-sdk/experimental/tasks/ |
| Model Context Protocol documentation | https://modelcontextprotocol.io |
| Model Context Protocol specification | https://modelcontextprotocol.io/specification/latest |
| Officially supported servers | https://github.com/modelcontextprotocol/servers |
| https://github.com/markadelnawar/python-sdk#contributing |
| contributing guide | https://github.com/markadelnawar/python-sdk/blob/main/CONTRIBUTING.md |
| https://github.com/markadelnawar/python-sdk#license |
| modelcontextprotocol.io | https://modelcontextprotocol.io |
| Readme | https://github.com/markadelnawar/python-sdk#readme-ov-file |
| License | https://github.com/markadelnawar/python-sdk#License-1-ov-file |
| Code of conduct | https://github.com/markadelnawar/python-sdk#coc-ov-file |
| Contributing | https://github.com/markadelnawar/python-sdk#contributing-ov-file |
| Security policy | https://github.com/markadelnawar/python-sdk#security-ov-file |
| Activity | https://github.com/markadelnawar/python-sdk/activity |
| 0 forks | https://github.com/markadelnawar/python-sdk/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fmarkadelnawar%2Fpython-sdk&report=markadelnawar+%28user%29 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |