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 }}
githubstack
/
python-sdk
Public
forked from
modelcontextprotocol/python-sdk
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
python-sdk
tests
server
on
main
User selector
All users
All time
Commit history
Commits on Apr 15, 2025
Python lint: Ruff rules for comprehensions and performance (#512)
cclauss
authored
babb477
View commit details
Copy full SHA for babb477
View code at this point
Browse repository at this point
Commits on Apr 10, 2025
Allow generic parameters to be passed onto `Context` on FastMCP tools
Show description for da54ea0
jkawamoto
and
Kludex
authored
da54ea0
View commit details
Copy full SHA for da54ea0
View code at this point
Browse repository at this point
Commits on Mar 27, 2025
Fixes incorrect casting into int for numbers in string format (#384)
kafkasl
authored and
dsp-ant
committed
4e3c196
View commit details
Copy full SHA for 4e3c196
View code at this point
Browse repository at this point
Commits on Mar 24, 2025
Fix #201: Move incoming message stream from BaseSession to ServerSession (#325)
Show description for 568cbd1
dsp-ant
and
claude
authored
568cbd1
View commit details
Copy full SHA for 568cbd1
View code at this point
Browse repository at this point
Commits on Mar 20, 2025
Add strict mode to pyright (#315)
Show description for ae77772
Kludex
authored
ae77772
View commit details
Copy full SHA for ae77772
View code at this point
Browse repository at this point
Commits on Mar 14, 2025
Revert "refactor: reorganize message handling for better type safety and clar…" (#282)
Show description for 7196604
Kludex
authored
7196604
View commit details
Copy full SHA for 7196604
View code at this point
Browse repository at this point
Commits on Mar 13, 2025
refactor: reorganize message handling for better type safety and clarity (#239)
Show description for 9d0f2da
dsp-ant
authored
9d0f2da
View commit details
Copy full SHA for 9d0f2da
View code at this point
Browse repository at this point
Close unclosed resources in the whole project (#267)
Show description for 94d326d
Kludex
authored
94d326d
View commit details
Copy full SHA for 94d326d
View code at this point
Browse repository at this point
Commits on Feb 20, 2025
Fix #177: Returning multiple tool results (#222)
Show description for b1942b3
dsp-ant
authored
b1942b3
View commit details
Copy full SHA for b1942b3
View code at this point
Browse repository at this point
Commits on Feb 11, 2025
docs: update README with lifespan examples and usage
Show description for e5815bd
dsp-ant
committed
e5815bd
View commit details
Copy full SHA for e5815bd
View code at this point
Browse repository at this point
test: add tests for server lifespan support
Show description for e598750
dsp-ant
committed
e598750
View commit details
Copy full SHA for e598750
View code at this point
Browse repository at this point
Commits on Feb 4, 2025
fix: fix tests
dsp-ant
committed
27bfde9
View commit details
Copy full SHA for 27bfde9
View code at this point
Browse repository at this point
Commits on Jan 30, 2025
Fix comment about pydantic versioning
jeremydanielfox
committed
defd52b
View commit details
Copy full SHA for defd52b
View code at this point
Browse repository at this point
relax pydantic, pydantic-settings, and uvicorn
jeremydanielfox
committed
0d48a44
View commit details
Copy full SHA for 0d48a44
View code at this point
Browse repository at this point
Commits on Jan 27, 2025
refactor: standardize resource response format
Show description for 070e841
dsp-ant
committed
070e841
View commit details
Copy full SHA for 070e841
View code at this point
Browse repository at this point
fix: respect resource mime type in responses
Show description for 8ff4b5e
dsp-ant
committed
8ff4b5e
View commit details
Copy full SHA for 8ff4b5e
View code at this point
Browse repository at this point
more fixes
dsp-ant
committed
978cfe3
View commit details
Copy full SHA for 978cfe3
View code at this point
Browse repository at this point
fix tests
dsp-ant
committed
43a30c1
View commit details
Copy full SHA for 43a30c1
View code at this point
Browse repository at this point
Commits on Jan 18, 2025
add support for async resources
micpst
committed
f5f19b2
View commit details
Copy full SHA for f5f19b2
View code at this point
Browse repository at this point
Commits on Jan 13, 2025
Add instructions field to ServerSession and FastMCP
salman1993
committed
bc6746e
View commit details
Copy full SHA for bc6746e
View code at this point
Browse repository at this point
Commits on Jan 6, 2025
feat: add example and test for parameter descriptions in FastMCP tools
dsp-ant
committed
b66c675
View commit details
Copy full SHA for b66c675
View code at this point
Browse repository at this point
Commits on Jan 3, 2025
fix: Fix line length in test_server.py
dsp-ant
committed
329f595
View commit details
Copy full SHA for 329f595
View code at this point
Browse repository at this point
fix: Address formatting and type checking issues
dsp-ant
committed
2d8f08d
View commit details
Copy full SHA for 2d8f08d
View code at this point
Browse repository at this point
test: Add test for non-ASCII character handling in FastMCP tools
dsp-ant
committed
43796bf
View commit details
Copy full SHA for 43796bf
View code at this point
Browse repository at this point
Commits on Jan 2, 2025
fix: Update AnyIO stream creation to use type annotation syntax
dsp-ant
committed
73c055f
View commit details
Copy full SHA for 73c055f
View code at this point
Browse repository at this point
Commits on Dec 21, 2024
fix tests
dsp-ant
committed
44e1abb
View commit details
Copy full SHA for 44e1abb
View code at this point
Browse repository at this point
style: Fix imports and line length formatting
dsp-ant
committed
a79f51f
View commit details
Copy full SHA for a79f51f
View code at this point
Browse repository at this point
fix: Update test to match Pydantic's JSON schema output for model references with defaults
Show description for fe75f43
dsp-ant
committed
fe75f43
View commit details
Copy full SHA for fe75f43
View code at this point
Browse repository at this point
Integrate FastMCP
Show description for 557e90d
dsp-ant
committed
557e90d
View commit details
Copy full SHA for 557e90d
View code at this point
Browse repository at this point
Commits on Nov 11, 2024
run ruff
dsp-ant
committed
ec8c85e
View commit details
Copy full SHA for ec8c85e
View code at this point
Browse repository at this point
Remove helper types
Show description for f5d82bd
dsp-ant
committed
f5d82bd
View commit details
Copy full SHA for f5d82bd
View code at this point
Browse repository at this point
rename mcp_python to mcp
dsp-ant
committed
ed87ae9
View commit details
Copy full SHA for ed87ae9
View code at this point
Browse repository at this point
Commits on Nov 7, 2024
feat: add structured capability types
Show description for 5497da0
dsp-ant
committed
5497da0
View commit details
Copy full SHA for 5497da0
View code at this point
Browse repository at this point
Commits on Oct 11, 2024
Format with ruff
dsp-ant
committed
fd68df6
View commit details
Copy full SHA for fd68df6
View code at this point
Browse repository at this point
Allow passing initialization options to a session
Show description for cc342a0
dsp-ant
committed
cc342a0
View commit details
Copy full SHA for cc342a0
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.