Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
modelcontextprotocol
/
python-sdk
Public
Notifications
You must be signed in to change notification settings
Fork
3.8k
Star
24k
Code
Issues
207
Pull requests
219
Actions
Projects
Security and quality
6
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
python-sdk
examples
snippets
on
encoding-guard
User selector
All users
All time
Commit history
Commits on Jul 27, 2026
Add mcp.types as a permanent alias for mcp_types (#3190)
maxisbey
authored
b7c9a91
View commit details
Copy full SHA for b7c9a91
View code at this point
Browse repository at this point
Commits on Jul 14, 2026
Replace httpx and httpx-sse with httpx2 (#2972)
Show description for 2713b53
Kludex
and
maxisbey
authored
2713b53
View commit details
Copy full SHA for 2713b53
View code at this point
Browse repository at this point
Commits on Jun 26, 2026
Support RFC 8693 token exchange for enterprise IdP flows (SEP-990) (#2988)
Show description for c0ecb70
Kludex
and
maxisbey
authored
c0ecb70
View commit details
Copy full SHA for c0ecb70
View code at this point
Browse repository at this point
Commits on Jun 25, 2026
Split protocol types into a standalone `mcp-types` package (#2973)
Kludex
authored
0ee7f1b
View commit details
Copy full SHA for 0ee7f1b
View code at this point
Browse repository at this point
Commits on Jun 20, 2026
Deprecate roots, sampling, and logging methods per SEP-2577 (#2926)
Kludex
authored
4573e4a
View commit details
Copy full SHA for 4573e4a
View code at this point
Browse repository at this point
Validate the `iss` authorization-response parameter (RFC 9207 / SEP-2468) (#2921)
Kludex
authored
48cf495
View commit details
Copy full SHA for 48cf495
View code at this point
Browse repository at this point
Commits on Jun 11, 2026
Prepare release machinery for v2 pre-releases (#2831)
maxisbey
authored
e196857
View commit details
Copy full SHA for e196857
View code at this point
Browse repository at this point
Commits on Mar 9, 2026
fix: correct Context type parameters across examples and tests (#2256)
maxisbey
authored
31a38b5
View commit details
Copy full SHA for 31a38b5
View code at this point
Browse repository at this point
Commits on Feb 18, 2026
fix: prevent command injection in example URL opening (#2082)
maxisbey
authored
b9431d4
View commit details
Copy full SHA for b9431d4
View code at this point
Browse repository at this point
Commits on Feb 12, 2026
refactor: replace lowlevel Server decorators with on_* constructor kwargs (#1985)
maxisbey
authored
0a22a9d
View commit details
Copy full SHA for 0a22a9d
View code at this point
Browse repository at this point
Commits on Feb 3, 2026
refactor: replace `mcp.types as types` to `from mcp import types` (#1986)
Kludex
authored
1a8c14a
View commit details
Copy full SHA for 1a8c14a
View code at this point
Browse repository at this point
feat: add `ClientRequestContext` type alias for client-side handlers (#1989)
Kludex
authored
4fc49c6
View commit details
Copy full SHA for 4fc49c6
View code at this point
Browse repository at this point
refactor: split `RequestContext` between server and client (#1987)
Kludex
authored
b1f7eec
View commit details
Copy full SHA for b1f7eec
View code at this point
Browse repository at this point
Commits on Jan 30, 2026
Support different transports in Client (#1972)
Kludex
authored
2182205
View commit details
Copy full SHA for 2182205
View code at this point
Browse repository at this point
Commits on Jan 26, 2026
refactor: `McpError` renamed to `MCPError` and flatten parameters (#1956)
Show description for acba547
Kludex
and
maxisbey
authored
acba547
View commit details
Copy full SHA for acba547
View code at this point
Browse repository at this point
Commits on Jan 25, 2026
Rename `FastMCP` to `MCPServer` (#1951)
Kludex
authored
65c614e
View commit details
Copy full SHA for 65c614e
View code at this point
Browse repository at this point
Commits on Jan 22, 2026
Add `meta` to `Client` methods (#1923)
Kludex
authored
f0ab53e
View commit details
Copy full SHA for f0ab53e
View code at this point
Browse repository at this point
Commits on Jan 16, 2026
chore: add D212 lint rule to enforce Google-style docstrings (#1892)
felixweinberger
authored
d41d0c0
View commit details
Copy full SHA for d41d0c0
View code at this point
Browse repository at this point
refactor: move transport-specific parameters from FastMCP constructor to run() (#1898)
Show description for 8adb5bd
Kludex
and
claude
authored
8adb5bd
View commit details
Copy full SHA for 8adb5bd
View code at this point
Browse repository at this point
refactor: use snake case instead of camel case in types (#1894)
Kludex
authored
e94b386
View commit details
Copy full SHA for e94b386
View code at this point
Browse repository at this point
fix: change Resource URI fields from AnyUrl to str (#1863)
felixweinberger
authored
cfb2909
View commit details
Copy full SHA for cfb2909
View code at this point
Browse repository at this point
Commits on Dec 10, 2025
Add `streamable_http_client` which accepts `httpx.AsyncClient` instead of `httpx_client_factory` (#1177)
Show description for a3a4b8d
Kludex
and
felixweinberger
authored
a3a4b8d
View commit details
Copy full SHA for a3a4b8d
View code at this point
Browse repository at this point
Commits on Dec 3, 2025
fix: add lifespan context manager to StreamableHTTP mounting examples (#1669)
Show description for 72a3400
3 people
authored
72a3400
View commit details
Copy full SHA for 72a3400
View code at this point
Browse repository at this point
Commits on Dec 2, 2025
feat: backwards-compatible create_message overloads for SEP-1577 (#1713)
felixweinberger
authored
fa851d9
View commit details
Copy full SHA for fa851d9
View code at this point
Browse repository at this point
Commits on Nov 25, 2025
Implement SEP-1036: URL mode elicitation for secure out-of-band interactions (#1580)
Show description for 02b7889
cbcoutinho
and
felixweinberger
authored
02b7889
View commit details
Copy full SHA for 02b7889
View code at this point
Browse repository at this point
Commits on Nov 23, 2025
Implement SEP-1577 - Sampling With Tools (#1594)
Show description for 71c4755
3 people
authored
71c4755
View commit details
Copy full SHA for 71c4755
View code at this point
Browse repository at this point
Commits on Nov 20, 2025
docs: Update examples to use stateless HTTP with JSON responses (#1499)
domdomegg
authored
fcffa14
View commit details
Copy full SHA for fcffa14
View code at this point
Browse repository at this point
Commits on Oct 21, 2025
Allow CallToolResult to be returned directly to support _meta field for OpenAI Apps (#1459)
Show description for 1200ba0
BrandonShar
and
maxisbey
authored
1200ba0
View commit details
Copy full SHA for 1200ba0
View code at this point
Browse repository at this point
Commits on Oct 14, 2025
fix: send params as empty object for list methods without cursor (#1453)
felixweinberger
authored
de89457
View commit details
Copy full SHA for de89457
View code at this point
Browse repository at this point
Commits on Sep 23, 2025
feat: add paginated list decorators for prompts, resources, and tools (#1286)
Show description for 4fb975c
maxisbey
and
claude
authored
4fb975c
View commit details
Copy full SHA for 4fb975c
View code at this point
Browse repository at this point
Commits on Aug 31, 2025
changes structured temperature to not deadly (#1328)
monkeywithacupcake
authored
1644b82
View commit details
Copy full SHA for 1644b82
View code at this point
Browse repository at this point
Commits on Aug 21, 2025
docs: clarify streamable_http_path configuration when mounting servers (#1172)
felixweinberger
authored
ff02c59
View commit details
Copy full SHA for ff02c59
View code at this point
Browse repository at this point
Commits on Aug 11, 2025
Add pyright strict mode on the whole project (#1254)
Kludex
authored
c7671e4
View commit details
Copy full SHA for c7671e4
View code at this point
Browse repository at this point
Commits on Jul 17, 2025
README - replace code snippets with examples -- auth examples (#1164)
ihrpr
authored
41184ba
View commit details
Copy full SHA for 41184ba
View code at this point
Browse repository at this point
Docs: Update CallToolResult parsing in README (#812)
Show description for dd79297
functicons
and
felixweinberger
authored
dd79297
View commit details
Copy full SHA for dd79297
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.