René's URL Explorer Experiment


Title: refactor: remove request_ctx ContextVar, thread Context explicitly by maxisbey · Pull Request #2203 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: refactor: remove request_ctx ContextVar, thread Context explicitly by maxisbey · Pull Request #2203 · modelcontextprotocol/python-sdk

X Title: refactor: remove request_ctx ContextVar, thread Context explicitly by maxisbey · Pull Request #2203 · modelcontextprotocol/python-sdk

Description: Removes the request_ctx ContextVar and threads Context explicitly through the MCPServer request-handling chain. Motivation and Context The request_ctx ContextVar in mcp.server.lowlevel.server was redundant: the lowlevel server already passes ServerRequestContext as the first argument to every _handle_* method. The ContextVar was a second mechanism carrying the same value, used only by MCPServer.get_context(). This PR removes the ContextVar entirely, making the data flow explicit. _handle_* methods construct the high-level Context at the lowlevel→MCPServer boundary and pass it through. Part of #2112 (context refactor) / #1684 (contextvars cleanup). How Has This Been Tested? All existing tests pass (1123 passed, 98 skipped, 1 xfailed) New tests for the context-required guards in Tool.run(), Prompt.render(), ResourceTemplate.create_resource() uv run --frozen pyright src/ tests/ — 0 errors uv run --frozen ruff check — clean Breaking Changes Yes — documented in docs/migration.md: MCPServer.get_context() removed — use ctx: Context parameter injection in tool/resource/prompt functions instead (the existing recommended pattern) request_ctx ContextVar removed from mcp.server.lowlevel.server — code importing it directly will need to use parameter injection MCPServer.call_tool(), read_resource(), get_prompt() now accept an optional context: Context | None = None parameter — backward-compatible for callers that don't pass it New behavior: if a tool/resource/prompt declares a ctx: Context parameter but is called with context=None, a clear error is raised (ToolError for tools, ValueError for prompts/resource templates). Previously None was silently injected. Types of changes Breaking change (fix or feature that would cause existing functionality to change) Documentation update Checklist I have read the MCP Documentation My code follows the repository's style guidelines New and existing tests pass locally I have added appropriate error handling I have added or updated documentation as needed Additional context Context class moved from mcp.server.mcpserver.server to mcp.server.mcpserver.context. The public import path (from mcp.server.mcpserver import Context) is unchanged via __init__.py re-export. The old direct-module path (from mcp.server.mcpserver.server import Context) also still works because server.py imports Context at module level. Exception hierarchy cleanup (making prompts/resources raise MCPServerError subclasses instead of ValueError) was considered but deferred to #1742 (error taxonomy) to avoid scope creep — see that issue for the full analysis of the existing inconsistencies. AI Disclaimer

Open Graph Description: Removes the request_ctx ContextVar and threads Context explicitly through the MCPServer request-handling chain. Motivation and Context The request_ctx ContextVar in mcp.server.lowlevel.server was r...

X Description: Removes the request_ctx ContextVar and threads Context explicitly through the MCPServer request-handling chain. Motivation and Context The request_ctx ContextVar in mcp.server.lowlevel.server was r...

Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/2203

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:9b01d5b7-04ac-dd03-1098-55a221e8e900
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBDEA:2AA07D:BE08E3:100C101:6A5CF0B9
html-safe-nonce4400961f1e517939c2013a6bc804ac842c98ceb256c68cac52dddb0f6a503c91
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCREVBOjJBQTA3RDpCRTA4RTM6MTAwQzEwMTo2QTVDRjBCOSIsInZpc2l0b3JfaWQiOiIzMTA4Nzc0NTg4NTAwOTk2MjgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2f11d146ec6a9ddd900dd8730454861389b52c6f941eac08fc68e3a185658508
hovercard-subject-tagpull_request:3344371728
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/2203/files
twitter:imagehttps://avatars.githubusercontent.com/u/224885523?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/224885523?s=400&v=4
og:image:altRemoves the request_ctx ContextVar and threads Context explicitly through the MCPServer request-handling chain. Motivation and Context The request_ctx ContextVar in mcp.server.lowlevel.server was r...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id862584018
octolytics-dimension-repository_nwomodelcontextprotocol/python-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id862584018
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/python-sdk
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2203/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2203%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2203%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2203/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2203/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2203/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2203/files
modelcontextprotocol https://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Fork 3.7k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Star 23.7k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Code https://github.com/modelcontextprotocol/python-sdk
Issues 259 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 306 https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality 6 https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
Code https://github.com/modelcontextprotocol/python-sdk
Issues https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
maxisbeyhttps://github.com/maxisbey
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
remove-request-ctx-contextvarhttps://github.com/modelcontextprotocol/python-sdk/tree/remove-request-ctx-contextvar
Conversation 26 https://github.com/modelcontextprotocol/python-sdk/pull/2203
Commits 6 https://github.com/modelcontextprotocol/python-sdk/pull/2203/commits
Checks 34 https://github.com/modelcontextprotocol/python-sdk/pull/2203/checks
Files changed https://github.com/modelcontextprotocol/python-sdk/pull/2203/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2203/files
refactor: remove request_ctx ContextVar, thread Context explicitly https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#top
Show all changes 6 commits https://github.com/modelcontextprotocol/python-sdk/pull/2203/files
116fb4c refactor: remove request_ctx ContextVar, thread Context explicitly maxisbey Mar 2, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2203/commits/116fb4c8434e3f1ee7e7aa1a617d3ecdde24c597
87ed4b0 reword docs/migration.md to be injected instead of constructed maxisbey Mar 3, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2203/commits/87ed4b098812cb21f9a9f4055095bda4e6bcecf3
0f9c792 refactor: make context required at internal layers, optional at MCPSe… maxisbey Mar 3, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2203/commits/0f9c79234ee0866f227509153c19493495111e30
40951bd style: merge elicit_url import into single block maxisbey Mar 3, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2203/commits/40951bdb922e05419e05e6561d509de103e3f1d7
95d5b32 style: use pragma no branch instead of no cover for progress_token check maxisbey Mar 3, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2203/commits/95d5b32e5394cb6fd4c28b5990e0548c1fa94609
56d237a test: cover get_prompt context=None fallback; revert no branch pragma maxisbey Mar 4, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2203/commits/56d237a2215faadb18c330aedcb4ba343a9df8bf
Clear filters https://github.com/modelcontextprotocol/python-sdk/pull/2203/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2203/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2203/files
migration.md https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
server.py https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
__init__.py https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-1212dd4293d9fb8b9118c5b2f2afed4b9d4f227de7717f269aa0d64a251ce6e0
context.py https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-b8a980ea2822cbd7a2f938f77b794ef9df6724acb5d637fdf87c0ad2bfe2db1a
base.py https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-5df96c06127fae8e6f84e304e9bce59568220d3364e7493ea839527627ac4571
manager.py https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-3e581d64a2ee273deae306f54de13424b01482db9d8916a7cabc3145c9c9afbb
resource_manager.py https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-3638946fe0f98df2b1f99f9237907bc1344596ddd20cdfbb297d3ae874894cfd
templates.py https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-44c89eefb9a0f376f6c3004ad4a44828e0403a96114fe008c0dd7a708abde7cc
server.py https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
base.py https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-b53a543261a9bc27476087bcb5fcf6e0d7e9d1b5b3df09e312f22b22ccffe761
tool_manager.py https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-ce540f985aabae39cc3a70e8943cb43a5c45e9ce6705c306b747c3483bec7034
context_injection.py https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-1b4ab7dd31f66da1830d323a66bff21b9b1a8d6d9220bc9f73bf2daee3bf3382
test_list_roots_callback.py https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-90b39d804728390ef9eab471f7f9877b35f83c44d63b99a1ea9653f6d5e11ee9
test_logging_callback.py https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-e2c00711f742606cdec4058b3f6121def7c09f5d3e74d16e2a6ba26bba1c91f5
test_sampling_callback.py https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-2644de1d5107de80cb62cb010cb87b5858288fdd961806d4abdbc822f1d30540
test_base.py https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-6ccb3f45c2025086b1ca3e761516276354e6cb47cb6f7322b884a8798e2b8c93
test_manager.py https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-56ef81c26fc0496c4ef1960022efb9de2a42e32ae97138833a8a590c4c332bd4
test_resource_manager.py https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-8c172adad20fc633a6965eec4784cfb4f2631fd7d88fa37003b689ca6e44dce1
test_resource_template.py https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-1984957e9d1e3a3e525ce9a3707676cae0b81fd98ba0866abf8ce087e1c443b6
test_server.py https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-c191383f010475fc22bf69d35f14f16d7e45098b05a1a0f03ad66d6c151d1f34
test_tool_manager.py https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-52a191f1e98e90ef36bd37740822f5c22a5d3ac583e52cda061b175b97fa1196
__init__.py https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-116ccf1387769247852a447cd25567df6292ca0aa189ee8f647c588bf7a5aaf5
test_base.py https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-48b6e30e08db8e94e4b71e86c8159b98e5626c10bf980975d9c492d76228ca36
docs/migration.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
View file https://github.com/modelcontextprotocol/python-sdk/blob/56d237a2215faadb18c330aedcb4ba343a9df8bf/docs/migration.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2203/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2203/files
https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
src/mcp/server/lowlevel/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
View file https://github.com/modelcontextprotocol/python-sdk/blob/56d237a2215faadb18c330aedcb4ba343a9df8bf/src/mcp/server/lowlevel/server.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2203/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
src/mcp/server/mcpserver/__init__.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-1212dd4293d9fb8b9118c5b2f2afed4b9d4f227de7717f269aa0d64a251ce6e0
View file https://github.com/modelcontextprotocol/python-sdk/blob/56d237a2215faadb18c330aedcb4ba343a9df8bf/src/mcp/server/mcpserver/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2203/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-1212dd4293d9fb8b9118c5b2f2afed4b9d4f227de7717f269aa0d64a251ce6e0
src/mcp/server/mcpserver/context.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-b8a980ea2822cbd7a2f938f77b794ef9df6724acb5d637fdf87c0ad2bfe2db1a
View file https://github.com/modelcontextprotocol/python-sdk/blob/56d237a2215faadb18c330aedcb4ba343a9df8bf/src/mcp/server/mcpserver/context.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2203/{{ revealButtonHref }}
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2203/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2203/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2203/files
src/mcp/server/mcpserver/prompts/base.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-5df96c06127fae8e6f84e304e9bce59568220d3364e7493ea839527627ac4571
View file https://github.com/modelcontextprotocol/python-sdk/blob/56d237a2215faadb18c330aedcb4ba343a9df8bf/src/mcp/server/mcpserver/prompts/base.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2203/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-5df96c06127fae8e6f84e304e9bce59568220d3364e7493ea839527627ac4571
https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-5df96c06127fae8e6f84e304e9bce59568220d3364e7493ea839527627ac4571
https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-5df96c06127fae8e6f84e304e9bce59568220d3364e7493ea839527627ac4571
https://github.com/modelcontextprotocol/python-sdk/pull/2203/files#diff-5df96c06127fae8e6f84e304e9bce59568220d3364e7493ea839527627ac4571
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2203/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.