GitHub / modelcontextprotocol/python-sdk issues and pull requests
#2323 - fix: preserve real stdin/stdout after stdio server exits
Pull Request -
State: open - Opened by owendevereaux 3 days ago
#2322 - draft: MRTR (SEP-2322) lowlevel plumbing + handler-shape comparison
Pull Request -
State: open - Opened by maxisbey 3 days ago
#2321 - feat: Add protocol_version parameter to ClientSession
Pull Request -
State: open - Opened by goingforstudying-ctrl 3 days ago
#2320 - Extract JSON-RPC wrapping into a Dispatcher component
Pull Request -
State: open - Opened by maxisbey 3 days ago
#2319 - fix: handle unbound response_or_error in send_request timeout
Pull Request -
State: closed - Opened by Bortlesboat 4 days ago
- 1 comment
#2318 - fix: widen errlog type to accept subprocess.DEVNULL
Pull Request -
State: closed - Opened by Bortlesboat 4 days ago
#2317 - Don't override client_metadata.scopes if they are already set
Issue -
State: open - Opened by artdent 4 days ago
#2316 - fix: Align ElicitResult action naming with specification
Pull Request -
State: closed - Opened by goingforstudying-ctrl 4 days ago
#2315 - docs: Add troubleshooting guide for 421 Invalid Host Header error
Pull Request -
State: closed - Opened by goingforstudying-ctrl 4 days ago
#2314 - deprecate: Mark SSE transport as deprecated
Pull Request -
State: closed - Opened by goingforstudying-ctrl 4 days ago
#2313 - feat: Add protocol_version parameter to ClientSession
Pull Request -
State: closed - Opened by goingforstudying-ctrl 4 days ago
#2310 - Mark SSE transport as deprecated in favor of Streamable HTTP
Pull Request -
State: open - Opened by alexchenai 4 days ago
#2309 - Hachis
Issue -
State: open - Opened by iliassouare83-cmd 4 days ago
#2308 - Try hacking
Issue -
State: open - Opened by iliassouare83-cmd 4 days ago
#2307 - [mcp/python-sdk] ClientSession has no way to specify protocolVersion
Issue -
State: open - Opened by tsingh2k15 4 days ago
- 1 comment
#2306 - fix: cancel in-flight handlers when transport closes in server.run()
Pull Request -
State: closed - Opened by maxisbey 5 days ago
#2305 - ci: run strict-no-cover in scripts/test to catch stale pragmas locally
Pull Request -
State: closed - Opened by maxisbey 6 days ago
#2304 - fix: preserve existing refresh_token when server omits it in refresh response
Pull Request -
State: open - Opened by ctonneslan 6 days ago
#2303 - [v1.x] fix: handle non-UTF-8 bytes in stdio server stdin
Pull Request -
State: closed - Opened by maxisbey 6 days ago
#2302 - fix: handle non-UTF-8 bytes in stdio server stdin
Pull Request -
State: closed - Opened by maxisbey 6 days ago
#2301 - fix: remove scope registration check from authorize handler
Pull Request -
State: open - Opened by maxisbey 6 days ago
#2300 - feat(client): store InitializeResult as initialize_result
Pull Request -
State: closed - Opened by maxisbey 6 days ago
#2299 - fix: propagate transport errors in ClientSession default message handler
Pull Request -
State: closed - Opened by VoidChecksum 7 days ago
#2298 - Propagate contextvars.Context through anyio streams without modifying SessionMessage
Pull Request -
State: open - Opened by Kludex 7 days ago
#2297 - GNAP: git-native coordination between MCP servers and multi-agent orchestrators
Issue -
State: closed - Opened by ori-cofounder 8 days ago
#2296 - docs: add environment variables guide
Pull Request -
State: open - Opened by ameenalkhaldi 8 days ago
#2295 - feat: extract parameter descriptions from docstrings into tool JSON schemas
Pull Request -
State: open - Opened by ameenalkhaldi 8 days ago
- 1 comment
#2293 - client: store server_info on ClientSession after initialization
Pull Request -
State: open - Opened by Bortlesboat 9 days ago
#2292 - refactor: connect-first stream lifecycle for sse and streamable_http
Pull Request -
State: closed - Opened by maxisbey 10 days ago
#2291 - refactor(examples): migrate all HTTP examples to streamable_http_app()
Pull Request -
State: closed - Opened by maxisbey 10 days ago
#2290 - chore(deps): bump black from 25.1.0 to 26.3.1 in the uv group across 1 directory
Pull Request -
State: open - Opened by dependabot[bot] 11 days ago
Labels: dependencies, python:uv
#2289 - feat: add subject and claims fields to AccessToken
Pull Request -
State: open - Opened by yakub268 11 days ago
#2288 - Unicode characters cause JSONRPCMessage.model_validate_json validation error
Issue -
State: closed - Opened by vladman-25 11 days ago
- 2 comments
Labels: question, needs confirmation
#2287 - fix: enable DNS rebinding protection by default for security
Pull Request -
State: closed - Opened by Jah-yee 11 days ago
#2286 - FIX: link in README.md
Pull Request -
State: closed - Opened by madrugado 11 days ago
- 1 comment
#2285 - fix: move logging configuration from MCPServer.__init__ to run()
Pull Request -
State: closed - Opened by omar-y-abdi 12 days ago
#2283 - fix: handle ClientDisconnect gracefully in StreamableHTTP POST handler
Pull Request -
State: open - Opened by omar-y-abdi 12 days ago
#2282 - Handle connection errors in StreamableHTTP post_writer
Pull Request -
State: open - Opened by omar-y-abdi 12 days ago
#2280 - Fix: preserve existing refresh_token when server omits it in refresh response
Pull Request -
State: closed - Opened by Jah-yee 12 days ago
- 1 comment
#2277 - test: convert test_integration.py to in-memory transport (fix flaky)
Pull Request -
State: closed - Opened by maxisbey 12 days ago
#2273 - Handle connection errors in StreamableHTTPTransport
Pull Request -
State: closed - Opened by slykar 12 days ago
- 2 comments
#2270 - _handle_refresh_response discards existing refresh_token when server omits it
Issue -
State: open - Opened by oedokumaci 12 days ago
- 1 comment
#2269 - [Security] DNS rebinding protection disabled by default — all default MCP servers vulnerable
Issue -
State: closed - Opened by hhhashexe 12 days ago
- 1 comment
#2268 - Fix stdio_client BrokenResourceError race condition during shutdown
Pull Request -
State: open - Opened by weiguangli-io 13 days ago
#2267 - test: fix WS test port race; narrow to single smoke test covering both transport ends
Pull Request -
State: closed - Opened by maxisbey 13 days ago
#2266 - fix: close all memory stream ends in client transport cleanup
Pull Request -
State: closed - Opened by maxisbey 13 days ago
#2265 - Rewrite TestChildProcessCleanup with socket-based deterministic liveness probe
Pull Request -
State: closed - Opened by maxisbey 13 days ago
#2264 - tests: eliminate port-allocation races in SSE/StreamableHTTP tests
Pull Request -
State: open - Opened by maxisbey 13 days ago
#2263 - fix: eliminate test port allocation race by running uvicorn in-thread
Pull Request -
State: open - Opened by maxisbey 13 days ago
#2262 - fix: return 405 for GET/DELETE in stateless streamable-http mode
Pull Request -
State: open - Opened by sys-2077 13 days ago
#2261 - fix: include "none" in token_endpoint_auth_methods_supported metadata
Pull Request -
State: open - Opened by namabile 14 days ago
#2260 - Server OAuth metadata hardcodes token_endpoint_auth_methods_supported, breaking public client flows
Issue -
State: closed - Opened by namabile 14 days ago
- 2 comments
#2259 - Gracefully terminate active sessions during StreamableHTTP shutdown
Pull Request -
State: open - Opened by Bortlesboat 14 days ago
- 1 comment
#2258 - fix: detect stdin EOF on parent death for stdio transport
Pull Request -
State: closed - Opened by Bortlesboat 14 days ago
- 3 comments
#2257 - fix: don't send log notification on transport error
Pull Request -
State: closed - Opened by maxisbey 14 days ago
#2256 - fix: correct Context type parameters across examples and tests
Pull Request -
State: closed - Opened by maxisbey 14 days ago
#2255 - Allow explicit `message_url` override in `mcp.client.sse.sse_client`
Issue -
State: open - Opened by tonybhaskar 14 days ago
- 1 comment
#2254 - test issue from NeoX
Issue -
State: closed - Opened by xray918 14 days ago
#2253 - fix: terminate active StreamableHTTP sessions during shutdown
Pull Request -
State: open - Opened by weiguangli-io 14 days ago
- 1 comment
#2252 - refactor: consistent raise-based error handling in MCPServer handlers
Pull Request -
State: open - Opened by BabyChrist666 15 days ago
#2251 - fix: reject JSON-RPC requests with null id instead of misclassifying as notifications
Pull Request -
State: open - Opened by shivama205 15 days ago
- 2 comments
#2250 - fix: align timeout params between sse_client and streamable_http_client
Pull Request -
State: closed - Opened by Mritunjaypratapsinghh 15 days ago
#2249 - fix: propagate HTTP errors from transports instead of silently logging
Pull Request -
State: open - Opened by MaxwellCalkin 15 days ago
#2247 - docs: add DNS rebinding protection guide
Pull Request -
State: closed - Opened by goingforstudying-ctrl 15 days ago
#2246 - fix: validate_scope should allow all scopes when no restriction
Pull Request -
State: closed - Opened by goingforstudying-ctrl 15 days ago
#2242 - fix: catch ClosedResourceError in _handle_message error recovery path
Pull Request -
State: closed - Opened by herakles-dev 16 days ago
- 2 comments
#2239 - Graceful SSE drain on session manager shutdown
Pull Request -
State: closed - Opened by wiggzz 17 days ago
- 1 comment
#2237 - docs: Add documentation for stdio server shutdown behavior
Pull Request -
State: closed - Opened by goingforstudying-ctrl 17 days ago
- 1 comment
#2234 - fix: Ensure stdio server exits when stdin reaches EOF (fixes #2231)
Pull Request -
State: closed - Opened by goingforstudying-ctrl 17 days ago
- 3 comments
#2232 - streamable_http_client hangs indefinitely when server sends POST-only endpoints without SSE fallback
Issue -
State: closed - Opened by KlementMultiverse 17 days ago
- 1 comment
#2231 - Stdio transport: MCP server process survives parent death (stdin EOF not causing shutdown)
Issue -
State: closed - Opened by arcivanov 17 days ago
- 6 comments
Labels: needs repro
#2216 - Bug: validate_scope rejects client scopes when required scopes in None
Issue -
State: open - Opened by nik1097 18 days ago
- 3 comments
Labels: bug, auth, ready for work, P2
#2211 - feat: store server_info on ClientSession during initialization
Pull Request -
State: open - Opened by shivama205 19 days ago
- 1 comment
Labels: enhancement, P3
#2209 - feat: add subject and claims fields to AccessToken
Pull Request -
State: open - Opened by shivama205 19 days ago
- 1 comment
Labels: needs confirmation, auth, enhancement
#2203 - refactor: remove request_ctx ContextVar, thread Context explicitly
Pull Request -
State: closed - Opened by maxisbey 21 days ago
- 1 comment
#2192 - docs: add CLI command flags reference to README
Pull Request -
State: open - Opened by Br1an67 22 days ago
- 1 comment
Labels: documentation
#2191 - fix: reject unsupported HTTP methods early in session manager
Pull Request -
State: open - Opened by Br1an67 22 days ago
- 2 comments
Labels: bug, P2
#2190 - fix: remove shell=True from subprocess calls in mcp dev
Pull Request -
State: open - Opened by Br1an67 22 days ago
- 1 comment
Labels: bug, P3
#2187 - fix: preserve notification metadata when related_request_id is 0
Pull Request -
State: open - Opened by Br1an67 22 days ago
- 1 comment
Labels: bug, P2
#2152 - fix: accept wildcard media types in Accept header per RFC 7231
Pull Request -
State: closed - Opened by shivama205 25 days ago
- 4 comments
Labels: bug, improves spec compliance, P2
#2150 - Active Streamable HTTP sessions are not terminated during shutdown
Issue -
State: open - Opened by emmahoggan 25 days ago
- 1 comment
Labels: bug, ready for work, P2
#2146 - feat: public API for runtime handler registration/deregistration
Pull Request -
State: open - Opened by BabyChrist666 26 days ago
Labels: needs confirmation, v2, enhancement
#2145 - Fix stateless HTTP task accumulation causing memory leak
Pull Request -
State: open - Opened by wiggzz 26 days ago
Labels: bug, P2
#2117 - Pluggable Transport Abstractions for Client and Shared sessions
Pull Request -
State: open - Opened by sreenithi about 1 month ago
- 4 comments
Labels: needs confirmation, breaking change, v2, enhancement
#2114 - ExceptionGroup wrapping obscures real errors from task groups
Issue -
State: open - Opened by maxisbey about 1 month ago
- 2 comments
Labels: bug, v2, P1
#2103 - docs: generate hierarchical per-module API reference pages
Pull Request -
State: closed - Opened by jonathanhefner about 1 month ago
Labels: documentation
#2096 - Fix the session binding logic for tasks.
Pull Request -
State: open - Opened by localden about 1 month ago
Labels: bug, breaking change, P1
#2078 - fix: restore eager OAuth discovery to avoid slow unauthenticated roundtrip
Pull Request -
State: open - Opened by BabyChrist666 about 1 month ago
Labels: bug, auth, P2
#2075 - Reject JSON-RPC requests with null id instead of misclassifying as notifications
Pull Request -
State: open - Opened by BabyChrist666 about 1 month ago
Labels: bug, improves spec compliance, P2
#2072 - fix: handle ClosedResourceError in _handle_message error recovery path
Pull Request -
State: open - Opened by BabyChrist666 about 1 month ago
- 1 comment
Labels: bug, P3
#2066 - Invalid JSON: EOF while parsing
Issue -
State: closed - Opened by bha123 about 1 month ago
- 1 comment
Labels: question, needs confirmation
#2064 - ClientDisconnect during _handle_post_request crashes stateless session with ClosedResourceError
Issue -
State: closed - Opened by einarfd about 1 month ago
- 2 comments
Labels: bug, ready for work, P3
#2057 - Requests with "id": null silently misclassified as notifications
Issue -
State: open - Opened by clouatre about 1 month ago
- 10 comments
Labels: bug, improves spec compliance, P2
#2043 - chore: weekly dependency update
Pull Request -
State: open - Opened by github-actions[bot] about 1 month ago
- 2 comments
Labels: dependencies
#2041 - feat: expose progress_callback in ServerSession methods
Pull Request -
State: open - Opened by BryceEWatson about 1 month ago
- 1 comment
#2040 - fix: prevent stdio_server from closing process stdio handles
Pull Request -
State: open - Opened by adityuhkapoor about 1 month ago
- 1 comment
Labels: bug, P3
#2039 - SEP-2207: Refresh token guidance
Pull Request -
State: open - Opened by wdawson about 1 month ago
- 1 comment
#2019 - fix: strip trailing slash from issuer URL in OAuth metadata serialization
Pull Request -
State: open - Opened by BabyChrist666 about 1 month ago
Labels: bug, needs confirmation, auth
#1979 - feat: extract parameter descriptions from function docstrings
Pull Request -
State: open - Opened by heath-hunnicutt-ruach-tov about 2 months ago
#1978 - feat: add theme field to Icon type for light/dark mode support
Pull Request -
State: open - Opened by gfortaine about 2 months ago