| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8cd651c6-4d37-914e-4d3d-b476a8040462 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 911A:15BB49:4BAF90:63AB92:6A5BFD0F |
| html-safe-nonce | 44d024533a84ba3be7f6a567448ae2dba0b155405173e450acf23d5ab1321b42 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTFBOjE1QkI0OTo0QkFGOTA6NjNBQjkyOjZBNUJGRDBGIiwidmlzaXRvcl9pZCI6IjU3NDQzMDIxMDA1NTkxNjY3MzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 535289feef0384f8ff113e81a6bf25f4e5ffffa0de6428a167fb98a2ea62de13 |
| hovercard-subject-tag | pull_request:3238232276 |
| 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/1985/files |
| twitter:image | https://avatars.githubusercontent.com/u/224885523?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/224885523?s=400&v=4 |
| og:image:alt | Replace the decorator-based handler registration on the lowlevel Server with direct on_* keyword arguments on the constructor. Handlers are now raw callables with a uniform (ctx, params) -> resu... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F1985%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%2F1985%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/1985/files |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/1985/files |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/1985/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1985/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
259
| https://github.com/modelcontextprotocol/python-sdk/issues |
|
Pull requests
307
| 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 |
| maxisbey | https://github.com/maxisbey |
| main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| sketch/lowlevel-server-v2-kwargs | https://github.com/modelcontextprotocol/python-sdk/tree/sketch/lowlevel-server-v2-kwargs |
|
Conversation
64
| https://github.com/modelcontextprotocol/python-sdk/pull/1985 |
|
Commits
26
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits |
|
Checks
30
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/checks |
|
Files changed
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1985/files |
|
refactor: replace lowlevel Server decorators with on_* constructor kwargs
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#top |
|
Show all changes
26 commits
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files |
|
2a5ebec
refactor: replace lowlevel Server decorators with on_* constructor kw…
maxisbey Feb 3, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits/2a5ebec66cd702e4147c03ee56b8faed0088cf80 |
|
2b9e8c7
fix: remove unnecessary request_ctx contextvar from notification hand…
maxisbey Feb 3, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits/2b9e8c7204b0f5b37e53101f6ba1dab208620b7d |
|
a7779e1
fix: address PR review comments on migration docs and type hints
maxisbey Feb 6, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits/a7779e119c3a7cc9bd8497c2e5b10f7d9cc31952 |
|
b2dc1af
fix: collapse single-arg Server() to one line in migration example
maxisbey Feb 6, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits/b2dc1af855e6f1ad20779ebffd5418bf9813a936 |
|
e7a6e5f
refactor: replace _create_handler_kwargs with private methods on MCPS…
maxisbey Feb 9, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits/e7a6e5ffcd16cac9fb26df7a5aea33bdd5721928 |
|
e0fc054
refactor: use dict instead of list of tuples for handler maps
maxisbey Feb 9, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits/e0fc054d89620facc28f171e26b4ea47e7beab99 |
|
56e4ada
docs: document keyword-only Server constructor params in migration guide
maxisbey Feb 9, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits/56e4ada661a35049733ff77bf2f6867c01679c6d |
|
5e4274a
refactor: inline _register_default_task_handlers into enable_tasks
maxisbey Feb 9, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits/5e4274a67be8af0c7f8a9295ba523146558deaaf |
|
032ebb2
feat: add on_* handler kwargs to enable_tasks for custom task handlers
maxisbey Feb 9, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits/032ebb26e137cc71b72145fdfae8ec6118502819 |
|
9b77527
refactor: drop explicit Any from ServerRequestContext, rely on Reques…
maxisbey Feb 10, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits/9b77527c3664905d57c919ff452303a659ecba1d |
|
b466beb
refactor: make ExperimentalHandlers generic on LifespanResultT
maxisbey Feb 10, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits/b466beb261082a098b34e0b8daef034adede622c |
|
edf4833
refactor: type MCPServer handler signatures instead of Any
maxisbey Feb 10, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits/edf48333a28f4aab27eae642ad5f5dac36296760 |
|
7801dc3
refactor: type notify as ClientNotification, remove getattr
maxisbey Feb 10, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits/7801dc3e463c0003af5868577cc1b9dc1ab88d82 |
|
5fd17d1
fix: resolve pyright errors in ExperimentalHandlers.enable_tasks
maxisbey Feb 10, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits/5fd17d133741accd5e20422a0d16e526375e7fd4 |
|
178d41f
fix: advertise subscribe capability when handler is registered
maxisbey Feb 10, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits/178d41f442cbbd1e5cf1d8d940bd79b609a87b0d |
|
ca8fd2e
refactor: make on_ping non-optional with default handler per MCP spec
maxisbey Feb 10, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits/ca8fd2e380c381f11fe9dce15891f8500edd7640 |
|
f4c256f
fix: update tests to use new Server constructor kwargs pattern
maxisbey Feb 11, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits/f4c256fd5753317c9ec04de2401bbd7f96e65c03 |
|
b3f817f
fix: migrate experimental task server tests to new handler pattern
maxisbey Feb 11, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits/b3f817fd2f6dc702645b6c101e57ec5b145fed93 |
|
c72c2dc
fix: migrate tests to new Server constructor kwargs pattern
maxisbey Feb 11, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits/c72c2dc0b02fe1cc29a72239f0fb1fa39d80a0e7 |
|
793b144
fix: skip partial task capability tests
maxisbey Feb 11, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits/793b144d39185bd4378aa72e33e1a6056a64d7e6 |
|
8da8b7b
fix: migrate examples and snippets to new Server constructor kwargs p…
maxisbey Feb 11, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits/8da8b7b4593a8735e8326df87e5bd5cbdbe306bb |
|
92f0de5
fix: update README.v2.md prose to match new low-level Server API
maxisbey Feb 11, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits/92f0de5b3864bdb758d4524742c135d79db9ed0e |
|
f61ca1f
fix: improve test coverage across lowlevel server and experimental tasks
maxisbey Feb 11, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits/f61ca1ff5aa3f80e7f534cdf87360791e3dcb333 |
|
c1a7020
fix: cover experimental property cache-hit branch and fix completion …
maxisbey Feb 11, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits/c1a7020f225701e2684a178de8d1800997f96db9 |
|
868165a
fix: address PR review comments (typo and field name in docs)
maxisbey Feb 12, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits/868165a1a0d1cb9eaffe14eae092bc9047f069b0 |
|
903866c
fix: improve migration guide accuracy and document additional breakin…
maxisbey Feb 12, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/commits/903866c9ccd27f45b67b4ee5a30ab34f1cdafe28 |
|
Clear filters
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1985/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1985/files |
|
README.v2.md
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-08a4c6619676fe12972d812470e6bfada7b31d3d2fe6e2cf8cf8a88c79e78503 |
|
index.md
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-9fdad40404ae06571e2184d17271a7cbe176853a3066edde9479316a02e702b3 |
|
migration.md
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056 |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-8013baeccecb4c3cf7794c3eb26b5cea0d14dcf59a0b4c6d6727ae6818d9803e |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-1f605513db4b9bd876b8efa73827b7a9e9499ce8314a2fb60cd9d22f1719f2e9 |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-6717dbff945c705e47c46049bfbd1843c215660eaf0abe7b13e60b4a4dd1cd69 |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-cf9c7eb8c1e2d4f07777fb94e6a7ac7c6e6edbed04fc283789690b7e4ce99df4 |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-6f8bfa77e7dd219d4340997e7e165170e698dd73e1a872ad790fafa4147d7f3b |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-39c7a5da0143f8039127ad4bdb0f7a7b3bf829a9114a783619d976139a76df81 |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-15d39a10269a104003d0785bbaf8fec1985e1cba2cbdbb6f6c27e2218e1e7479 |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-ba52c682d4e3fbfa81efb481c7df117341f6502fcf7b99f0722448f0ffbfb9bd |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-1823a7d82b6ce367869806e4a6aa80834b6ec580b25d496d4db90b3b173a71b0 |
|
__main__.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-963f97d0a3a00cc1a034a47183d2d2609f329a8067df04d11a222564f458ca7f |
|
basic.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-1861975ff3b1a2d4130ed88e0881219376e0d895546c9016c2e8852d2103e6ef |
|
direct_call_tool_result.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-bc04fb9cbbf268950a6bb06ba417e24e1e3099257eb8fa752f839b593c321163 |
|
lifespan.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-49300a7e38d34581bc85b6afb20eae4354460401ce0b233284f725f17697d3bc |
|
structured_output.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-1c0e49f04d68d3b86b237841614a62fed643d3eeab25e71ca0ff3750596c57d3 |
|
pagination_example.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-3d3ac67908c1eed0a381620d451f3822046673854a83d89cb29dfbccf12c5083 |
|
__init__.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-dad5929a15a0b7bcf53ae24b8feb1e1ccf1408fe265fae0803c6f1e7d08e98a5 |
|
context.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-8e4a295d330079f8982fad5b62fa85a036a4714836389442df76880b5801e706 |
|
request_context.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-8d05f99b9f074e62f6f7dc4eb823393ef4218b9c2a7c5b4b966f941055e5242d |
|
task_result_handler.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-18b65113e22e1d5975f5a057cd352f32f933adaf3cd9c4484a8b40521298c223 |
|
__init__.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-23afa7c38ae84d72d250bef2c82600dea679b780385858d1f71047a5fa04e218 |
|
experimental.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-3e62e66c84aff2e748e8c750f1144de569f6e6e0fe2b9a45ab39794032b10b92 |
|
func_inspection.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-4a929a2d33aa16d96d544463138bab06b115bd9653dcdb842d94508c8b30a6cd |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4 |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e |
|
session.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-9a603a2587011a188aa76ca19a32fcd343a253516325fbcfb4f7bfb6a814634c |
|
streamable_http_manager.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-1071ee05567116cb77322c376307b9071c6212871068ccf41911fc337ed473af |
|
_context.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-51d43110ef8cfa0d238a0e8ce301c02851259f50d00316c5146c91fa4e768ece |
|
helpers.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-1827c4e0b8b733a2e711d40022010f1d2872465203de61fd7a8ac77b2c966226 |
|
message.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-e87607af2a5ca4eeaf91e471c711340e954899e1504ebb1fcc981afe4639bc70 |
|
test_client.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-f91d7d1bfecb41d80a4cc73133b82560b7284a2af2d6630c49b983ca9366ea13 |
|
test_http_unicode.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-1abfe619fb6ecef0087c7e77c14530625aee85ec1dc1db958de2f341769c21c9 |
|
test_list_methods_cursor.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-abcde01e384b945f178e7410d8adbea613035debbc8b23a1ea3b742eb3dcb282 |
|
test_output_schema_validation.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-dc75f269f6db41a54ac1f7e6c770c679e7c44ebc8f9b87a8d14a037c28754f64 |
|
test_memory.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-6ae3f0a1371508074d5761d7a67a876ffe72c027c2fd0c3352f009ad902da950 |
|
test_tasks.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-ab801b15c6063ba6740768b2688c3a91cac3455eea0411c585d782149d35ad02 |
|
test_integration.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-9eb3be986fafb4d6788062e8cd73a53a7de2f9625b89e12c631bdc0dfc897230 |
|
test_run_task_flow.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-a0ad087f89685574908bf6437324c88a8febb03f713c9cb07a95bd6269cb64ad |
|
test_server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-82f7ca0df19c99b8e50045b475ead10a75d969ef61f2f4eba71a9b8ff3d360cc |
|
test_elicitation_scenarios.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-a9f09ff6773757991976a6f44a30666bb7e9344cee57d82b875c86dc790815cf |
|
test_spec_compliance.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-da2acd121ee7372e7d28b0b21a0a2b97a255895bf390cf14c5c6f27e6a332d34 |
|
test_129_resource_templates.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-9f5bf8bd9599ca9494ff9e524bb0a220910ecdbaa0e01eedff5ad6778a81c434 |
|
test_152_resource_mime_type.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-d46a33f06c2ab296192ab76304cf0779b1a6caa43c7331a7027bb7cdd64da786 |
|
test_1574_resource_uri_validation.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-a8d9131fcbd49a2092f0ceeecbc328bcdc0e6d034f7305455ca7cacfb21ba0b4 |
|
test_342_base64_encoding.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-581cb7a6857ee8dfa59a17d334b0d7a6334bb111278a309afcdc3193b504b9da |
|
test_88_random_error.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-4e8132257776907428bdfd1d3671faed7b41a6347402e65f630f3a27a290edf5 |
|
test_func_inspection.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-0b74dde77bcd74875348fb3b1854155e5118ec6cc9dd39933fd49e37deb83026 |
|
test_server_listing.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-ff8ff493dbbee64e38f2bfc6c7ef81bb6902e9a956cbdd683c793d8338e20959 |
|
test_server_pagination.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-4e3b7b0ab2a4ac48fbb4cd6bae25c679bbbce16a71935471dae7f3a231018037 |
|
test_auth_integration.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-5a81a6a5148119d275223ade78614223f48f68203d1ef375fb1b271621d5894c |
|
test_base.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-6ccb3f45c2025086b1ca3e761516276354e6cb47cb6f7322b884a8798e2b8c93 |
|
test_manager.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-56ef81c26fc0496c4ef1960022efb9de2a42e32ae97138833a8a590c4c332bd4 |
|
test_server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-c191383f010475fc22bf69d35f14f16d7e45098b05a1a0f03ad66d6c151d1f34 |
|
test_cancel_handling.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-c1f187f0c3cd17c4a86593f3fd13298817256f3be47c48065168959055ad0753 |
|
test_completion_with_context.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-7b9f06a84b3dc75676e1efff318066a211e3e0210ba14abd37626d431c400d43 |
|
test_lifespan.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-1698ae8330ce4b282795333fd5e113b02a2a9923d4d9af2c58c8ea582dffe7c2 |
|
test_lowlevel_input_validation.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-b03a30ed62b1e26c982596a9a203e82a559718f58d4bf7c25cf959820508ae8b |
|
test_lowlevel_output_validation.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-0c1fbfc219f8d31c8fc337edc62d3c107192ff8ef97eddce15ec6c29e8a2f209 |
|
test_lowlevel_tool_annotations.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-d6a45a1ed1f4ebc14198da5fe66dab121d6fa342c6bda5a0d4d53b8696a84d75 |
|
test_read_resource.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-9d574f5a886cc1592bc72679d96913aa6bd82643d5285a116f8e5720d15e3b20 |
|
test_session.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-ed22c8fef52dc8c1d840dc0825bc375c48b67dcc2b468bab084aded3af06fdcf |
|
test_streamable_http_manager.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-ee0bac8ccf39135f1347002539cc4af38ee7e89b85595884e94fb4ab304a111d |
|
test_memory.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-cb97b8bf148e1b4b34b1420abaa305c9a8675401c9717e402bef1b4833c18d87 |
|
test_progress_notifications.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-9df01c21bb5b7f1353ec56a7fa0efd594a04b3e109f49ca0a598fb9a6919a7eb |
|
test_session.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-c1cae39f59e7077c9b3f3310d51bd7fc70f57b80f25911dafdcf7720b71184c2 |
|
test_sse.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-a2934f5f6ec610dff6774352c41b8c697b539614667643d69fd67f6fc6d7765e |
|
test_streamable_http.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-57d1f3c64af36960aa61b1d77387fb6201b90fbc2f3d606bf2761315ce618cc5 |
|
test_ws.py
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-42c069f4857387aa663d81e4dc484bffa345f00b175503cfe090ca14d6dcdfd5 |
| README.v2.md | https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-08a4c6619676fe12972d812470e6bfada7b31d3d2fe6e2cf8cf8a88c79e78503 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/903866c9ccd27f45b67b4ee5a30ab34f1cdafe28/README.v2.md |
|
Open in desktop
| https://desktop.github.com |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1985/files |
| docs/experimental/index.md | https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-9fdad40404ae06571e2184d17271a7cbe176853a3066edde9479316a02e702b3 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/903866c9ccd27f45b67b4ee5a30ab34f1cdafe28/docs/experimental/index.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-9fdad40404ae06571e2184d17271a7cbe176853a3066edde9479316a02e702b3 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-9fdad40404ae06571e2184d17271a7cbe176853a3066edde9479316a02e702b3 |
| docs/migration.md | https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/903866c9ccd27f45b67b4ee5a30ab34f1cdafe28/docs/migration.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1985/files |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1985/files |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/1985/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1985/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 |