| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:913a9a60-9b9d-91a5-6c13-bee77e175a98 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 959C:1BA116:1CDE51D:2661E8F:6B056D8A |
| html-safe-nonce | be8b342a997b9cafb56fc26980403eb201207d5fb1d980b574b8b4d20db0f1f6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTlDOjFCQTExNjoxQ0RFNTFEOjI2NjFFOEY6NkIwNTZEOEEiLCJ2aXNpdG9yX2lkIjoiMzU3Nzg2MjUxNTYyNTEyNzMwNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 31697b6db093e086f534d204353ff3cff74a767db251da4f252fb41813d874fd |
| hovercard-subject-tag | pull_request:2622024939 |
| 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/commits |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits |
| twitter:image | https://opengraph.githubassets.com/00cc598d56864c2a3ec2f045f2c6c27808f4fba1da1a7ed569de1a2f3e87ab1c/modelcontextprotocol/python-sdk/pull/1043 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/00cc598d56864c2a3ec2f045f2c6c27808f4fba1da1a7ed569de1a2f3e87ab1c/modelcontextprotocol/python-sdk/pull/1043 |
| og:image:alt | I've added two server-side notification handlers, one for InitializedNotification and one for RootsListChangedNotification.
Motivation and Context
This allows an MCP server to fully implement r... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gspencergoog |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b4256ac5f3e310e7945ef5b71c9cb9e264357b1eb20e91d369ed6502a4c486c |
| turbo-cache-control | no-cache |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f089e689ad324655ac44bf6cdbc04d976105b374 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F1043%2Fcommits |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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 |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F1043%2Fcommits |
| 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%2Fcommits&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits |
| modelcontextprotocol | https://github.com/modelcontextprotocol |
| python-sdk | https://github.com/modelcontextprotocol/python-sdk |
| Code | https://github.com/modelcontextprotocol/python-sdk |
| Issues320 (320) | https://github.com/modelcontextprotocol/python-sdk/issues |
| Pull requests112 (112) | https://github.com/modelcontextprotocol/python-sdk/pulls |
| Actions | https://github.com/modelcontextprotocol/python-sdk/actions |
| Projects | https://github.com/modelcontextprotocol/python-sdk/projects |
| Security and quality12 (12) | https://github.com/modelcontextprotocol/python-sdk/security |
| Insights | https://github.com/modelcontextprotocol/python-sdk/insights |
| https://github.com/modelcontextprotocol/python-sdk |
| gspencergoog | https://github.com/gspencergoog |
| modelcontextprotocol:main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| gspencergoog:add_root_notification | https://github.com/gspencergoog/mcp-python-sdk/tree/add_root_notification |
| Conversation | https://github.com/modelcontextprotocol/python-sdk/pull/1043 |
| Commits14 (14) | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits |
| Checks | https://github.com/modelcontextprotocol/python-sdk/pull/1043/checks |
| Files changed | https://github.com/modelcontextprotocol/python-sdk/pull/1043/files |
| Adding roots changed and initialized notification handlers | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits#top |
| gspencergoog | https://github.com/gspencergoog |
| modelcontextprotocol:main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| gspencergoog:add_root_notification | https://github.com/gspencergoog/mcp-python-sdk/tree/add_root_notification |
| Adding support for roots changed notification and initialized notification. | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/10636349b43a13d49d4477a318ebeaea168eb31d |
| https://github.com/gspencergoog |
| gspencergoog | https://github.com/modelcontextprotocol/python-sdk/commits?author=gspencergoog |
| 1063634 | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/10636349b43a13d49d4477a318ebeaea168eb31d |
| https://github.com/modelcontextprotocol/python-sdk/tree/10636349b43a13d49d4477a318ebeaea168eb31d |
| Merge branch 'main' into add_root_notification | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/b03a07ceed12d0829abbc91503e37c86c40d4a83 |
| https://github.com/gspencergoog |
| gspencergoog | https://github.com/modelcontextprotocol/python-sdk/commits?author=gspencergoog |
| b03a07c | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/b03a07ceed12d0829abbc91503e37c86c40d4a83 |
| https://github.com/modelcontextprotocol/python-sdk/tree/b03a07ceed12d0829abbc91503e37c86c40d4a83 |
| refactor: simplify notification handling by passing session | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/4c2bdb7e2394cef78139868af2437bbc2c3c20e2 |
| https://github.com/gspencergoog |
| gspencergoog | https://github.com/modelcontextprotocol/python-sdk/commits?author=gspencergoog |
| 4c2bdb7 | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/4c2bdb7e2394cef78139868af2437bbc2c3c20e2 |
| https://github.com/modelcontextprotocol/python-sdk/tree/4c2bdb7e2394cef78139868af2437bbc2c3c20e2 |
| Merge branch 'main' into add_root_notification | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/75af8a0e4492af75457b30451f8c287527b862e7 |
| https://github.com/gspencergoog |
| gspencergoog | https://github.com/modelcontextprotocol/python-sdk/commits?author=gspencergoog |
| 75af8a0 | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/75af8a0e4492af75457b30451f8c287527b862e7 |
| https://github.com/modelcontextprotocol/python-sdk/tree/75af8a0e4492af75457b30451f8c287527b862e7 |
| refactor(tests): remove global statement in notification tests | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/235dbc2a9d32ffc8f0f37846783d70e5525b394d |
| https://github.com/gspencergoog |
| gspencergoog | https://github.com/modelcontextprotocol/python-sdk/commits?author=gspencergoog |
| 235dbc2 | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/235dbc2a9d32ffc8f0f37846783d70e5525b394d |
| https://github.com/modelcontextprotocol/python-sdk/tree/235dbc2a9d32ffc8f0f37846783d70e5525b394d |
| Merge branch 'main' into add_root_notification | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/c1789bea733a3ba8570d846d70c1678d8e81258e |
| https://github.com/gspencergoog |
| gspencergoog | https://github.com/modelcontextprotocol/python-sdk/commits?author=gspencergoog |
| c1789be | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/c1789bea733a3ba8570d846d70c1678d8e81258e |
| https://github.com/modelcontextprotocol/python-sdk/tree/c1789bea733a3ba8570d846d70c1678d8e81258e |
| Merge branch 'main' into add_root_notification | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/f6784bd6fb8c882a5a0ff856980e4e2780ecfa70 |
| https://github.com/gspencergoog |
| gspencergoog | https://github.com/modelcontextprotocol/python-sdk/commits?author=gspencergoog |
| f6784bd | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/f6784bd6fb8c882a5a0ff856980e4e2780ecfa70 |
| https://github.com/modelcontextprotocol/python-sdk/tree/f6784bd6fb8c882a5a0ff856980e4e2780ecfa70 |
| Merge branch 'main' into add_root_notification | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/0ff33a950a9d67a8dcbcbc0191b12ceedef01228 |
| https://github.com/gspencergoog |
| gspencergoog | https://github.com/modelcontextprotocol/python-sdk/commits?author=gspencergoog |
| 0ff33a9 | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/0ff33a950a9d67a8dcbcbc0191b12ceedef01228 |
| https://github.com/modelcontextprotocol/python-sdk/tree/0ff33a950a9d67a8dcbcbc0191b12ceedef01228 |
| Merge branch 'main' into add_root_notification | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/fdd96bc10b2035ab796b3ea3344348329344e590 |
| https://github.com/gspencergoog |
| gspencergoog | https://github.com/modelcontextprotocol/python-sdk/commits?author=gspencergoog |
| fdd96bc | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/fdd96bc10b2035ab796b3ea3344348329344e590 |
| https://github.com/modelcontextprotocol/python-sdk/tree/fdd96bc10b2035ab796b3ea3344348329344e590 |
| Merge branch 'main' into add_root_notification | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/82af15642038e6b16ea89ca54b8af9bf182e942e |
| https://github.com/gspencergoog |
| gspencergoog | https://github.com/modelcontextprotocol/python-sdk/commits?author=gspencergoog |
| 82af156 | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/82af15642038e6b16ea89ca54b8af9bf182e942e |
| https://github.com/modelcontextprotocol/python-sdk/tree/82af15642038e6b16ea89ca54b8af9bf182e942e |
| Merge branch 'main' into add_root_notification | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/04476c48707affb226e6772ecf516d3834fe2959 |
| https://github.com/gspencergoog |
| gspencergoog | https://github.com/modelcontextprotocol/python-sdk/commits?author=gspencergoog |
| 04476c4 | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/04476c48707affb226e6772ecf516d3834fe2959 |
| https://github.com/modelcontextprotocol/python-sdk/tree/04476c48707affb226e6772ecf516d3834fe2959 |
| Merge branch 'main' into add_root_notification | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/58fd39da6e4edd420361e13fd934bf1d573493fe |
| https://github.com/gspencergoog |
| gspencergoog | https://github.com/modelcontextprotocol/python-sdk/commits?author=gspencergoog |
| 58fd39d | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/58fd39da6e4edd420361e13fd934bf1d573493fe |
| https://github.com/modelcontextprotocol/python-sdk/tree/58fd39da6e4edd420361e13fd934bf1d573493fe |
| Merge branch 'main' into add_root_notification | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/97a25430d237a24e611517feb6e936a9e57ceab9 |
| https://github.com/gspencergoog |
| gspencergoog | https://github.com/modelcontextprotocol/python-sdk/commits?author=gspencergoog |
| 97a2543 | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/97a25430d237a24e611517feb6e936a9e57ceab9 |
| https://github.com/modelcontextprotocol/python-sdk/tree/97a25430d237a24e611517feb6e936a9e57ceab9 |
| Merge branch 'main' into add_root_notification | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/a30681597fad78eab6838d5bb153cb0f3de9fb7b |
| https://github.com/gspencergoog |
| gspencergoog | https://github.com/modelcontextprotocol/python-sdk/commits?author=gspencergoog |
| a306815 | https://github.com/modelcontextprotocol/python-sdk/pull/1043/commits/a30681597fad78eab6838d5bb153cb0f3de9fb7b |
| https://github.com/modelcontextprotocol/python-sdk/tree/a30681597fad78eab6838d5bb153cb0f3de9fb7b |
|
| 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 |