René's URL Explorer Experiment


Title: Pass InputRequiredResult through the MCPServer prompt and resource pipelines by maxisbey · Pull Request #3020 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Pass InputRequiredResult through the MCPServer prompt and resource pipelines by maxisbey · Pull Request #3020 · modelcontextprotocol/python-sdk

X Title: Pass InputRequiredResult through the MCPServer prompt and resource pipelines by maxisbey · Pull Request #3020 · modelcontextprotocol/python-sdk

Description: Motivation and Context input-required-result-non-tool-request was the last waived server conformance scenario: at 2026-07-28 a server MAY answer prompts/get and resources/read with an InputRequiredResult (SEP-2322 multi-round-trip requests), but only the tools/call pipeline passed one through from MCPServer — the prompt pipeline silently coerced it into a text message and the resource pipeline had no path for it. The low-level Server, the per-version result surfaces, and the client auto-loop (#2998) already supported all three methods, so this closes the gap at the one remaining tier, mirroring the tools pass-through from #2974: Prompt.render / MCPServer.get_prompt pass an InputRequiredResult returned by an @mcp.prompt() function through unchanged; the retry's answers arrive on ctx.input_responses, with ctx.request_state carrying the echoed state. ResourceTemplate.create_resource / MCPServer.read_resource do the same for @mcp.resource() template functions. Static resource functions can never read the retry (they take no Context), so FunctionResource.read now rejects an InputRequiredResult loudly instead of JSON-dumping it as resource text. Context.read_resource stays a pure content reader: an InputRequiredResult from a template raises a clear RuntimeError there. A handler that wants to receive and forward one as its own result calls MCPServer.read_resource(uri, context) directly, which carries the union. Era handling needed zero new code: the per-version result surfaces already reject the frame toward pre-2026 sessions with -32603, exactly as for tools. The everything-server gains the test_input_required_result_prompt fixture the scenario drives, and the waiver is removed from both expected-failures files — both server conformance baselines are now empty. How Has This Been Tested? The target scenario passes locally at the pinned harness (2/2 checks; previously failed round 1). All three CI server conformance legs run locally at the pin with the emptied baselines: active 42/42, draft 71/71, 2026-07-28 100/100 — zero failures, no stale entries. Full suite at 100% branch coverage. New tests cover the prompt/resource round trips through an in-memory Client, the seam pass-throughs (identity), both ctx.read_resource arcs, the static-resource rejection, and the legacy-session -32603 posture for both methods. mkdocs build --strict passes with the new docs section and runnable example. Coverage note: the scenario exercises prompts/get only — no conformance scenario currently drives resources/read returning InputRequiredResult, so the resource side is proven by the SDK test suite alone. Worth adding a scenario in the conformance repo. Breaking Changes Type-level, documented in docs/migration.md: MCPServer.get_prompt() / read_resource() (and Prompt.render() / ResourceTemplate.create_resource()) now return ... | InputRequiredResult; direct callers narrow with isinstance. ctx.read_resource() is unchanged — it still returns content, and now raises a clear RuntimeError if the resource requests input (forward via MCPServer.read_resource(uri, context) instead). Types of changes Bug fix (non-breaking change which fixes an issue) New feature (non-breaking change which adds functionality) 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 Part of #2891. With this change, .github/actions/conformance/expected-failures.yml and expected-failures.2026-07-28.yml are both fully empty — every scenario in the pinned conformance harness passes against the SDK with no waivers. AI Disclaimer

Open Graph Description: Motivation and Context input-required-result-non-tool-request was the last waived server conformance scenario: at 2026-07-28 a server MAY answer prompts/get and resources/read with an InputRequired...

X Description: Motivation and Context input-required-result-non-tool-request was the last waived server conformance scenario: at 2026-07-28 a server MAY answer prompts/get and resources/read with an InputRequired...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:891010e5-62db-529b-0484-0457907b1337
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA760:214CC0:C86589:108A96A:6A5B0855
html-safe-nonce860dafa8ff04c8c2b6097a97adab6904ad917d478dd0a8f87b3745a1ec2ea129
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzYwOjIxNENDMDpDODY1ODk6MTA4QTk2QTo2QTVCMDg1NSIsInZpc2l0b3JfaWQiOiI2MjU0Njg2MTYzOTkzMDM2ODg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac020c068a9520d1765fdc009ddf84cf19b56e5d37bd195987b34f5ab07f7d6261
hovercard-subject-tagpull_request:3956504654
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/3020/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:altMotivation and Context input-required-result-non-tool-request was the last waived server conformance scenario: at 2026-07-28 a server MAY answer prompts/get and resources/read with an InputRequired...
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/3020/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3020%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%2F3020%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/3020/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3020/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3020/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3020/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.6k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Code https://github.com/modelcontextprotocol/python-sdk
Issues 258 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 301 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
iir-non-tool-requesthttps://github.com/modelcontextprotocol/python-sdk/tree/iir-non-tool-request
Conversation 6 https://github.com/modelcontextprotocol/python-sdk/pull/3020
Commits 4 https://github.com/modelcontextprotocol/python-sdk/pull/3020/commits
Checks 35 https://github.com/modelcontextprotocol/python-sdk/pull/3020/checks
Files changed https://github.com/modelcontextprotocol/python-sdk/pull/3020/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3020/files
Pass InputRequiredResult through the MCPServer prompt and resource pipelines https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#top
Show all changes 4 commits https://github.com/modelcontextprotocol/python-sdk/pull/3020/files
4a8cb8c Widen the MCPServer prompt and resource pipelines to pass InputRequir… maxisbey Jun 29, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3020/commits/4a8cb8ce7e82c170eb7fa77d11f98e9e854ac5e8
f689d8f Make Context.read_resource raise-only on InputRequiredResult maxisbey Jun 29, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3020/commits/f689d8f94953d8114d90473bf649365ed77a4eb9
2738181 Let handler-raised MCPError keep its code and data in the prompt and … maxisbey Jun 29, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3020/commits/273818156a5720214fca9bd09405ae52c909e464
2a381da Keep the outer request's input_responses out of nested resource reads maxisbey Jun 29, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3020/commits/2a381dad481bc5246cdff16f433425343faaf1e7
Clear filters https://github.com/modelcontextprotocol/python-sdk/pull/3020/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3020/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3020/files
expected-failures.2026-07-28.yml https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-a8ea36ef04436cd253292c3fbbe06e88795d93362fba66a5919cc6793c5f2aef
expected-failures.yml https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-9554cfe66b53ce3771454545473fbd08be68a3c6ecdd0f837273a3e41e6b67d7
low-level-server.md https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-70e089ea18cc1d0dcc9b488293d6a16a84f37f75d8984e67b8c8064a9721b537
multi-round-trip.md https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-bf12f93d186d9ac3faf1377b597a60bfeb11a1e29c493fd4e6ed20d88d693666
migration.md https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
tutorial004.py https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-f6918a7f3ed997742943b32c88f615fff0438cf332bce09d2425c7413e298510
server.py https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056
context.py https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-b8a980ea2822cbd7a2f938f77b794ef9df6724acb5d637fdf87c0ad2bfe2db1a
base.py https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-5df96c06127fae8e6f84e304e9bce59568220d3364e7493ea839527627ac4571
manager.py https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-3e581d64a2ee273deae306f54de13424b01482db9d8916a7cabc3145c9c9afbb
resource_manager.py https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-3638946fe0f98df2b1f99f9237907bc1344596ddd20cdfbb297d3ae874894cfd
templates.py https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-44c89eefb9a0f376f6c3004ad4a44828e0403a96114fe008c0dd7a708abde7cc
types.py https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-1e54d881b5d815eba8abbe33154fa58a08e77537be0d9f48e167e48f2ecb44bf
server.py https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
test_mrtr.py https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-b01d5962d34f3e53541e38bde069e9ada14fe1458db3fd68c9b2773fea0ade03
test_141_resource_templates.py https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-045ed4cd08494a48b9629af457dcfd79eba43786c41e5178b64f38508d48e77f
test_base.py https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-6ccb3f45c2025086b1ca3e761516276354e6cb47cb6f7322b884a8798e2b8c93
test_function_resources.py https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-82c1a7501d622cf5701094ff10b28ac640b4b4f2dd9c7fa78e7ecbcd4d0c9166
test_resource_template.py https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-1984957e9d1e3a3e525ce9a3707676cae0b81fd98ba0866abf8ce087e1c443b6
test_file_server.py https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-36df6412591ac780d100b75e49c667f1a85ba6b01f3e0b78a61ab08de772e278
test_server.py https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-c191383f010475fc22bf69d35f14f16d7e45098b05a1a0f03ad66d6c151d1f34
.github/actions/conformance/expected-failures.2026-07-28.ymlhttps://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-a8ea36ef04436cd253292c3fbbe06e88795d93362fba66a5919cc6793c5f2aef
View file https://github.com/modelcontextprotocol/python-sdk/blob/2a381dad481bc5246cdff16f433425343faaf1e7/.github/actions/conformance/expected-failures.2026-07-28.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3020/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-a8ea36ef04436cd253292c3fbbe06e88795d93362fba66a5919cc6793c5f2aef
.github/actions/conformance/expected-failures.ymlhttps://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-9554cfe66b53ce3771454545473fbd08be68a3c6ecdd0f837273a3e41e6b67d7
View file https://github.com/modelcontextprotocol/python-sdk/blob/2a381dad481bc5246cdff16f433425343faaf1e7/.github/actions/conformance/expected-failures.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3020/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-9554cfe66b53ce3771454545473fbd08be68a3c6ecdd0f837273a3e41e6b67d7
docs/advanced/low-level-server.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-70e089ea18cc1d0dcc9b488293d6a16a84f37f75d8984e67b8c8064a9721b537
View file https://github.com/modelcontextprotocol/python-sdk/blob/2a381dad481bc5246cdff16f433425343faaf1e7/docs/advanced/low-level-server.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3020/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-70e089ea18cc1d0dcc9b488293d6a16a84f37f75d8984e67b8c8064a9721b537
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-70e089ea18cc1d0dcc9b488293d6a16a84f37f75d8984e67b8c8064a9721b537
docs/advanced/multi-round-trip.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-bf12f93d186d9ac3faf1377b597a60bfeb11a1e29c493fd4e6ed20d88d693666
View file https://github.com/modelcontextprotocol/python-sdk/blob/2a381dad481bc5246cdff16f433425343faaf1e7/docs/advanced/multi-round-trip.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3020/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-bf12f93d186d9ac3faf1377b597a60bfeb11a1e29c493fd4e6ed20d88d693666
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-bf12f93d186d9ac3faf1377b597a60bfeb11a1e29c493fd4e6ed20d88d693666
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-bf12f93d186d9ac3faf1377b597a60bfeb11a1e29c493fd4e6ed20d88d693666
docs/migration.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
View file https://github.com/modelcontextprotocol/python-sdk/blob/2a381dad481bc5246cdff16f433425343faaf1e7/docs/migration.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3020/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
docs_src/mrtr/tutorial004.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-f6918a7f3ed997742943b32c88f615fff0438cf332bce09d2425c7413e298510
View file https://github.com/modelcontextprotocol/python-sdk/blob/2a381dad481bc5246cdff16f433425343faaf1e7/docs_src/mrtr/tutorial004.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3020/{{ revealButtonHref }}
examples/servers/everything-server/mcp_everything_server/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056
View file https://github.com/modelcontextprotocol/python-sdk/blob/2a381dad481bc5246cdff16f433425343faaf1e7/examples/servers/everything-server/mcp_everything_server/server.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3020/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056
src/mcp/server/mcpserver/context.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-b8a980ea2822cbd7a2f938f77b794ef9df6724acb5d637fdf87c0ad2bfe2db1a
View file https://github.com/modelcontextprotocol/python-sdk/blob/2a381dad481bc5246cdff16f433425343faaf1e7/src/mcp/server/mcpserver/context.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3020/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-b8a980ea2822cbd7a2f938f77b794ef9df6724acb5d637fdf87c0ad2bfe2db1a
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-b8a980ea2822cbd7a2f938f77b794ef9df6724acb5d637fdf87c0ad2bfe2db1a
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-b8a980ea2822cbd7a2f938f77b794ef9df6724acb5d637fdf87c0ad2bfe2db1a
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-b8a980ea2822cbd7a2f938f77b794ef9df6724acb5d637fdf87c0ad2bfe2db1a
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-b8a980ea2822cbd7a2f938f77b794ef9df6724acb5d637fdf87c0ad2bfe2db1a
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-b8a980ea2822cbd7a2f938f77b794ef9df6724acb5d637fdf87c0ad2bfe2db1a
src/mcp/server/mcpserver/prompts/base.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-5df96c06127fae8e6f84e304e9bce59568220d3364e7493ea839527627ac4571
View file https://github.com/modelcontextprotocol/python-sdk/blob/2a381dad481bc5246cdff16f433425343faaf1e7/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/3020/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-5df96c06127fae8e6f84e304e9bce59568220d3364e7493ea839527627ac4571
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-5df96c06127fae8e6f84e304e9bce59568220d3364e7493ea839527627ac4571
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-5df96c06127fae8e6f84e304e9bce59568220d3364e7493ea839527627ac4571
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-5df96c06127fae8e6f84e304e9bce59568220d3364e7493ea839527627ac4571
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-5df96c06127fae8e6f84e304e9bce59568220d3364e7493ea839527627ac4571
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-5df96c06127fae8e6f84e304e9bce59568220d3364e7493ea839527627ac4571
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-5df96c06127fae8e6f84e304e9bce59568220d3364e7493ea839527627ac4571
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-5df96c06127fae8e6f84e304e9bce59568220d3364e7493ea839527627ac4571
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-5df96c06127fae8e6f84e304e9bce59568220d3364e7493ea839527627ac4571
src/mcp/server/mcpserver/prompts/manager.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-3e581d64a2ee273deae306f54de13424b01482db9d8916a7cabc3145c9c9afbb
View file https://github.com/modelcontextprotocol/python-sdk/blob/2a381dad481bc5246cdff16f433425343faaf1e7/src/mcp/server/mcpserver/prompts/manager.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3020/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-3e581d64a2ee273deae306f54de13424b01482db9d8916a7cabc3145c9c9afbb
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-3e581d64a2ee273deae306f54de13424b01482db9d8916a7cabc3145c9c9afbb
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-3e581d64a2ee273deae306f54de13424b01482db9d8916a7cabc3145c9c9afbb
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-3e581d64a2ee273deae306f54de13424b01482db9d8916a7cabc3145c9c9afbb
src/mcp/server/mcpserver/resources/resource_manager.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-3638946fe0f98df2b1f99f9237907bc1344596ddd20cdfbb297d3ae874894cfd
View file https://github.com/modelcontextprotocol/python-sdk/blob/2a381dad481bc5246cdff16f433425343faaf1e7/src/mcp/server/mcpserver/resources/resource_manager.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3020/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-3638946fe0f98df2b1f99f9237907bc1344596ddd20cdfbb297d3ae874894cfd
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-3638946fe0f98df2b1f99f9237907bc1344596ddd20cdfbb297d3ae874894cfd
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-3638946fe0f98df2b1f99f9237907bc1344596ddd20cdfbb297d3ae874894cfd
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-3638946fe0f98df2b1f99f9237907bc1344596ddd20cdfbb297d3ae874894cfd
src/mcp/server/mcpserver/resources/templates.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-44c89eefb9a0f376f6c3004ad4a44828e0403a96114fe008c0dd7a708abde7cc
View file https://github.com/modelcontextprotocol/python-sdk/blob/2a381dad481bc5246cdff16f433425343faaf1e7/src/mcp/server/mcpserver/resources/templates.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3020/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-44c89eefb9a0f376f6c3004ad4a44828e0403a96114fe008c0dd7a708abde7cc
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-44c89eefb9a0f376f6c3004ad4a44828e0403a96114fe008c0dd7a708abde7cc
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-44c89eefb9a0f376f6c3004ad4a44828e0403a96114fe008c0dd7a708abde7cc
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-44c89eefb9a0f376f6c3004ad4a44828e0403a96114fe008c0dd7a708abde7cc
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-44c89eefb9a0f376f6c3004ad4a44828e0403a96114fe008c0dd7a708abde7cc
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-44c89eefb9a0f376f6c3004ad4a44828e0403a96114fe008c0dd7a708abde7cc
https://github.com/modelcontextprotocol/python-sdk/pull/3020/files#diff-44c89eefb9a0f376f6c3004ad4a44828e0403a96114fe008c0dd7a708abde7cc
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3020/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3020/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.