| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:eadeea1f-5631-9fc0-6523-b253e7207985 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9E20:1D4E56:553ECEC:73AC85A:6A5DEA6D |
| html-safe-nonce | 6d53feaeccb0e53076e28a29f75722556ac9e6748326ab4f8bc5e522cb08dcd6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTIwOjFENEU1Njo1NTNFQ0VDOjczQUM4NUE6NkE1REVBNkQiLCJ2aXNpdG9yX2lkIjoiMjMzMTU0MTEwNjAwMDI1OTY5MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e06808ff6bb4d0e4b489cbd6853a203e7da9bb5f2d9e37d6a0784ae58676c61c |
| hovercard-subject-tag | pull_request:2715504595 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/1230/files |
| twitter:image | https://avatars.githubusercontent.com/u/3305567?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3305567?s=400&v=4 |
| og:image:alt | Reference implementation: for the SEP: Namespaces using URIs
Key Changes:
Added uri fields to Tools and Prompts.
Added capability to filter by URI prefixes for all list methods (list_resources, to... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | f068985268f2a1e272fe40dd37a3352a16d337d57ec570e56da6c2346e179f59 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 862584018 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 862584018 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e36408244bcd0ded36f1cfba5db8e97f99c2117e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F1230%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F1230%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 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/1230/files |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/1230/files |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/1230/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1230/files |
|
modelcontextprotocol
| https://github.com/modelcontextprotocol |
| python-sdk | https://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
263
| https://github.com/modelcontextprotocol/python-sdk/issues |
|
Pull requests
309
| 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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose |
| chughtapan | https://github.com/chughtapan |
| modelcontextprotocol:main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| chughtapan:combined_resource_prefix | https://github.com/chughtapan/python-sdk/tree/combined_resource_prefix |
|
Conversation
19
| https://github.com/modelcontextprotocol/python-sdk/pull/1230 |
|
Commits
15
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/commits |
|
Checks
10
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/checks |
|
Files changed
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1230/files |
|
SEP: Namespaces using URIs
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#top |
|
Show all changes
15 commits
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files |
|
7453e70
Implement prefix based matching for list resources / templates methods
chughtapan Aug 1, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/commits/7453e70cd0465c7138dae354cc36d976665ecbe6 |
|
79c89d5
feat: implement resource-based inheritance for tools and prompts
chughtapan Aug 1, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/commits/79c89d5fb02b8ed4e7a9d3df36bb1485e8f2f767 |
|
a9e67fd
style: apply ruff formatting
chughtapan Aug 1, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/commits/a9e67fda0103ed32baed12ebfcedda23b627c202 |
|
a9635c3
feat: Convert tools and prompts to URI-based storage
chughtapan Aug 1, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/commits/a9635c3bf0c88fdbda01b87a61252a2f0c760e76 |
|
777b670
feat: Implement consistent prefix-based filtering for all list operat…
chughtapan Aug 1, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/commits/777b67020098ffbeee59048ac54b9cf608c0d781 |
|
6ed58df
fix: Update prompt manager to support prefix filtering and URI-based …
chughtapan Aug 2, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/commits/6ed58df68909e644662da7e202fcc04e93a9b1ec |
|
5d025a9
fix: Fix test failures after prefix filtering implementation
chughtapan Aug 2, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/commits/5d025a95788ddf03564d757582431fe4f8523819 |
|
a378a50
refactor: consolidate URI handling and implement DRY principles
chughtapan Aug 2, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/commits/a378a50920fb0152df863b9509b22fa4a43e3575 |
|
8238b0a
refactor: clean up unnecessary changes in tests and examples
chughtapan Aug 2, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/commits/8238b0a92b1e8433812c6bade167a2b8391e4e76 |
|
d360e8d
refactor: Update URI schemes and improve filter_by_prefix signature
chughtapan Aug 2, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/commits/d360e8d008ed346d362372f77a2d94679a6a41fc |
|
5a752ad
refactor: Make URI fields required and block all MCP scheme usage in …
chughtapan Aug 3, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/commits/5a752ad34d8c29f375ddc02cec1b8341d5718641 |
|
cf7103e
nit: Remove unnecessary explicit URI parameters in tests
chughtapan Aug 3, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/commits/cf7103e6ba5884b38313e3aff2942908fc22baf0 |
|
e4614ba
refactor: Replace single prefix filter with multi-path URI filters
chughtapan Aug 3, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/commits/e4614ba17f2de926e445f7d1fe6367b2b9c0d76a |
|
9eea409
feat: Use AnyUrl type for URI fields and update managers
chughtapan Aug 3, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/commits/9eea4099b6cd00ba493ef6cb4430b5a7884e794d |
|
d4ead25
Add example + minor fixes + add tests
chughtapan Aug 4, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/commits/d4ead25fb4aa7d21c7535d0353ec53d520edc490 |
|
Clear filters
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1230/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1230/files |
|
README.md
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-1f605513db4b9bd876b8efa73827b7a9e9499ce8314a2fb60cd9d22f1719f2e9 |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-6717dbff945c705e47c46049bfbd1843c215660eaf0abe7b13e60b4a4dd1cd69 |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-cf9c7eb8c1e2d4f07777fb94e6a7ac7c6e6edbed04fc283789690b7e4ce99df4 |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-6f8bfa77e7dd219d4340997e7e165170e698dd73e1a872ad790fafa4147d7f3b |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-ba52c682d4e3fbfa81efb481c7df117341f6502fcf7b99f0722448f0ffbfb9bd |
|
structured_output_lowlevel.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-8604d4c5baa0596ca92de98a6318ad440e6597c3f72ab2fbd8eba942fb58c290 |
|
hierarchical_organization.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-48b57a6ac9d4afa8467f14aec7a8440b40556f123160942dcb5baccc8d2766c2 |
|
basic.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-1861975ff3b1a2d4130ed88e0881219376e0d895546c9016c2e8852d2103e6ef |
|
lifespan.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-49300a7e38d34581bc85b6afb20eae4354460401ce0b233284f725f17697d3bc |
|
structured_output.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-1c0e49f04d68d3b86b237841614a62fed643d3eeab25e71ca0ff3750596c57d3 |
|
session.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
|
base.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-076751b309be973ba47bf94149a184bf136aab6a0663e9ae4593878263953370 |
|
manager.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-c4a126c672219928f17d356d6df412551338d36d420750a31b345945af64e670 |
|
prompt_manager.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-6983adfd03e7e1bbe5c1daad088964c78abee5ecd8986cc693f327c71145bb97 |
|
resource_manager.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-22c1918f4fc52c2d604f177e34d9173095646efbb547d60648281ddfbf86f893 |
|
templates.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-72a157a0ed0ea636e0d321e8f36aca9de5deb869f7de05b0b8d007823f6a2961 |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-14a2991a8f2be5b9e60dab5fae92d2230dc23e57937ad5e5641b832d9c662738 |
|
base.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-69c6a7ada93ce277ad1ae8f79a6800160e437084559ca0a24255851cb061a3a1 |
|
tool_manager.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-d9f49c4155cf42f7f146266f7f51294f25359fd25241f6495ded5fa4c8718424 |
|
uri_utils.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-7c87df4d112d5d6a2446676c52f4c41b73be88973e7bcf4abd1253a0d474aa02 |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4 |
|
types.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-9b043ee327a542607e73b38ebb19c77049650efbe3a1f9d5891b0f8af09599ae |
|
test_output_schema_validation.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-dc75f269f6db41a54ac1f7e6c770c679e7c44ebc8f9b87a8d14a037c28754f64 |
|
test_152_resource_mime_type.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-d46a33f06c2ab296192ab76304cf0779b1a6caa43c7331a7027bb7cdd64da786 |
|
test_88_random_error.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-4e8132257776907428bdfd1d3671faed7b41a6347402e65f630f3a27a290edf5 |
|
test_manager.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-847c6787735beb6914ce096523b4797a16cfdcf809a3a7e4984befd2351b66d7 |
|
test_resource_manager.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-8c6c5018603605fc22cccb9d2fd9301f99b9784eead7612a20610c117179a9f5 |
|
test_resource_template.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-43d119004d118d943703eba5dcdc0c38754808e1b1067b7757ca70def217fefe |
|
test_server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-2c82340ecf6b6a4c0adbc7f94f272d810dca759a8bba8c3066b4110afc2fd586 |
|
test_title.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-a4008c0c8a209f61f590110ddf3a6bc69e06a05f0f426363b4ec98b400bd6098 |
|
test_tool_manager.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-b5b4bbafe34c06e716812137f400c45d7e1a454cce6f39f69a71b3e9cb4c1975 |
|
test_uri_utils.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-15b82299cd18dc849ef8d2eeb2853be8a69016540db2ebb13f1c0bc6c4a045db |
|
test_cancel_handling.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-c1f187f0c3cd17c4a86593f3fd13298817256f3be47c48065168959055ad0753 |
|
test_lowlevel_input_validation.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-b03a30ed62b1e26c982596a9a203e82a559718f58d4bf7c25cf959820508ae8b |
|
test_lowlevel_output_validation.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-0c1fbfc219f8d31c8fc337edc62d3c107192ff8ef97eddce15ec6c29e8a2f209 |
|
test_lowlevel_tool_annotations.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-d6a45a1ed1f4ebc14198da5fe66dab121d6fa342c6bda5a0d4d53b8696a84d75 |
|
test_session.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-ed22c8fef52dc8c1d840dc0825bc375c48b67dcc2b468bab084aded3af06fdcf |
|
test_memory.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-cb97b8bf148e1b4b34b1420abaa305c9a8675401c9717e402bef1b4833c18d87 |
|
test_progress_notifications.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-9df01c21bb5b7f1353ec56a7fa0efd594a04b3e109f49ca0a598fb9a6919a7eb |
|
test_session.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-c1cae39f59e7077c9b3f3310d51bd7fc70f57b80f25911dafdcf7720b71184c2 |
|
test_sse.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-a2934f5f6ec610dff6774352c41b8c697b539614667643d69fd67f6fc6d7765e |
|
test_streamable_http.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-57d1f3c64af36960aa61b1d77387fb6201b90fbc2f3d606bf2761315ce618cc5 |
|
test_ws.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-42c069f4857387aa663d81e4dc484bffa345f00b175503cfe090ca14d6dcdfd5 |
|
test_types.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-bd467a363c9f155a2e6a7716aeca0c351089135a53d09a66138cea4f16506ebd |
| README.md | https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 |
|
View file
| https://github.com/chughtapan/python-sdk/blob/d4ead25fb4aa7d21c7535d0353ec53d520edc490/README.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 |
| examples/servers/simple-prompt/mcp_simple_prompt/server.py | https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-1f605513db4b9bd876b8efa73827b7a9e9499ce8314a2fb60cd9d22f1719f2e9 |
|
View file
| https://github.com/chughtapan/python-sdk/blob/d4ead25fb4aa7d21c7535d0353ec53d520edc490/examples/servers/simple-prompt/mcp_simple_prompt/server.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-1f605513db4b9bd876b8efa73827b7a9e9499ce8314a2fb60cd9d22f1719f2e9 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-1f605513db4b9bd876b8efa73827b7a9e9499ce8314a2fb60cd9d22f1719f2e9 |
| examples/servers/simple-resource/mcp_simple_resource/server.py | https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-6717dbff945c705e47c46049bfbd1843c215660eaf0abe7b13e60b4a4dd1cd69 |
|
View file
| https://github.com/chughtapan/python-sdk/blob/d4ead25fb4aa7d21c7535d0353ec53d520edc490/examples/servers/simple-resource/mcp_simple_resource/server.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-6717dbff945c705e47c46049bfbd1843c215660eaf0abe7b13e60b4a4dd1cd69 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-6717dbff945c705e47c46049bfbd1843c215660eaf0abe7b13e60b4a4dd1cd69 |
| ...les/servers/simple-streamablehttp-stateless/mcp_simple_streamablehttp_stateless/server.py | https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-cf9c7eb8c1e2d4f07777fb94e6a7ac7c6e6edbed04fc283789690b7e4ce99df4 |
|
View file
| https://github.com/chughtapan/python-sdk/blob/d4ead25fb4aa7d21c7535d0353ec53d520edc490/examples/servers/simple-streamablehttp-stateless/mcp_simple_streamablehttp_stateless/server.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-cf9c7eb8c1e2d4f07777fb94e6a7ac7c6e6edbed04fc283789690b7e4ce99df4 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-cf9c7eb8c1e2d4f07777fb94e6a7ac7c6e6edbed04fc283789690b7e4ce99df4 |
| examples/servers/simple-streamablehttp/mcp_simple_streamablehttp/server.py | https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-6f8bfa77e7dd219d4340997e7e165170e698dd73e1a872ad790fafa4147d7f3b |
|
View file
| https://github.com/chughtapan/python-sdk/blob/d4ead25fb4aa7d21c7535d0353ec53d520edc490/examples/servers/simple-streamablehttp/mcp_simple_streamablehttp/server.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-6f8bfa77e7dd219d4340997e7e165170e698dd73e1a872ad790fafa4147d7f3b |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-6f8bfa77e7dd219d4340997e7e165170e698dd73e1a872ad790fafa4147d7f3b |
| examples/servers/simple-tool/mcp_simple_tool/server.py | https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-ba52c682d4e3fbfa81efb481c7df117341f6502fcf7b99f0722448f0ffbfb9bd |
|
View file
| https://github.com/chughtapan/python-sdk/blob/d4ead25fb4aa7d21c7535d0353ec53d520edc490/examples/servers/simple-tool/mcp_simple_tool/server.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-ba52c682d4e3fbfa81efb481c7df117341f6502fcf7b99f0722448f0ffbfb9bd |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-ba52c682d4e3fbfa81efb481c7df117341f6502fcf7b99f0722448f0ffbfb9bd |
| examples/servers/structured_output_lowlevel.py | https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-8604d4c5baa0596ca92de98a6318ad440e6597c3f72ab2fbd8eba942fb58c290 |
|
View file
| https://github.com/chughtapan/python-sdk/blob/d4ead25fb4aa7d21c7535d0353ec53d520edc490/examples/servers/structured_output_lowlevel.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-8604d4c5baa0596ca92de98a6318ad440e6597c3f72ab2fbd8eba942fb58c290 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-8604d4c5baa0596ca92de98a6318ad440e6597c3f72ab2fbd8eba942fb58c290 |
| examples/snippets/servers/hierarchical_organization.py | https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-48b57a6ac9d4afa8467f14aec7a8440b40556f123160942dcb5baccc8d2766c2 |
|
View file
| https://github.com/chughtapan/python-sdk/blob/d4ead25fb4aa7d21c7535d0353ec53d520edc490/examples/snippets/servers/hierarchical_organization.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/{{ revealButtonHref }} |
| examples/snippets/servers/lowlevel/basic.py | https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-1861975ff3b1a2d4130ed88e0881219376e0d895546c9016c2e8852d2103e6ef |
|
View file
| https://github.com/chughtapan/python-sdk/blob/d4ead25fb4aa7d21c7535d0353ec53d520edc490/examples/snippets/servers/lowlevel/basic.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-1861975ff3b1a2d4130ed88e0881219376e0d895546c9016c2e8852d2103e6ef |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-1861975ff3b1a2d4130ed88e0881219376e0d895546c9016c2e8852d2103e6ef |
| examples/snippets/servers/lowlevel/lifespan.py | https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-49300a7e38d34581bc85b6afb20eae4354460401ce0b233284f725f17697d3bc |
|
View file
| https://github.com/chughtapan/python-sdk/blob/d4ead25fb4aa7d21c7535d0353ec53d520edc490/examples/snippets/servers/lowlevel/lifespan.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-49300a7e38d34581bc85b6afb20eae4354460401ce0b233284f725f17697d3bc |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-49300a7e38d34581bc85b6afb20eae4354460401ce0b233284f725f17697d3bc |
| examples/snippets/servers/lowlevel/structured_output.py | https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-1c0e49f04d68d3b86b237841614a62fed643d3eeab25e71ca0ff3750596c57d3 |
|
View file
| https://github.com/chughtapan/python-sdk/blob/d4ead25fb4aa7d21c7535d0353ec53d520edc490/examples/snippets/servers/lowlevel/structured_output.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-1c0e49f04d68d3b86b237841614a62fed643d3eeab25e71ca0ff3750596c57d3 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-1c0e49f04d68d3b86b237841614a62fed643d3eeab25e71ca0ff3750596c57d3 |
| src/mcp/client/session.py | https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
|
View file
| https://github.com/chughtapan/python-sdk/blob/d4ead25fb4aa7d21c7535d0353ec53d520edc490/src/mcp/client/session.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1230/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1230/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1230/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |