René's URL Explorer Experiment


Title: fix: detect context on callable tool instances by pragnyanramtha · Pull Request #2623 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: fix: detect context on callable tool instances by pragnyanramtha · Pull Request #2623 · modelcontextprotocol/python-sdk

X Title: fix: detect context on callable tool instances by pragnyanramtha · Pull Request #2623 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - fix: detect context on callable tool instances by pragnyanramtha · Pull Request #2623 · modelcontextprotocol/python-sdk

Open Graph Description: Summary Fix find_context_parameter() so callable object instances are inspected through their bound __call__ method. Prevent callable tool instance Context parameters from appearing in generated t...

X Description: Summary Fix find_context_parameter() so callable object instances are inspected through their bound __call__ method. Prevent callable tool instance Context parameters from appearing in generated t...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:b14b8044-2a80-11e2-f0b1-43f1c261a144
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEBDC:5662:254DF02:313426B:6B056883
html-safe-nonce0ef8b2fe1b6d3edd7acc79fbf6ef1dc1f273873408865fc7b1d3a798151e9d06
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkRDOjU2NjI6MjU0REYwMjozMTM0MjZCOjZCMDU2ODgzIiwidmlzaXRvcl9pZCI6IjUzMjYzNDc3MDM3MTYwMjU2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4ad5509bbaed0fb0749e7f2b6bc48bbf5a77270d769b924eb00151eb4924fb9b
hovercard-subject-tagpull_request:3696271541
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/2623/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d3c9bbb88d097d9f2fe686e7aaf4350fdeca44975bc7fe3a5597cc526a6180fc/modelcontextprotocol/python-sdk/pull/2623
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d3c9bbb88d097d9f2fe686e7aaf4350fdeca44975bc7fe3a5597cc526a6180fc/modelcontextprotocol/python-sdk/pull/2623
og:image:altSummary Fix find_context_parameter() so callable object instances are inspected through their bound __call__ method. Prevent callable tool instance Context parameters from appearing in generated t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepragnyanramtha
hostnamegithub.com
expected-hostnamegithub.com
None1be5cc09efdd4833c24a4ffa71d698e3999fa09071e159fe14c2c08e41c98331
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef6d69234e682c947a48074340e69d45d5901de31
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2623#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2623
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2623
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2623
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2623
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2623
modelcontextprotocolhttps://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Codehttps://github.com/modelcontextprotocol/python-sdk
Issues320 (320)https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests112 (112)https://github.com/modelcontextprotocol/python-sdk/pulls
Actionshttps://github.com/modelcontextprotocol/python-sdk/actions
Projectshttps://github.com/modelcontextprotocol/python-sdk/projects
Security and quality12 (12)https://github.com/modelcontextprotocol/python-sdk/security
Insightshttps://github.com/modelcontextprotocol/python-sdk/insights
https://github.com/modelcontextprotocol/python-sdk
pragnyanramthahttps://github.com/pragnyanramtha
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
pragnyanramtha:pragnyan/callable-context-1974https://github.com/pragnyanramtha/python-sdk/tree/pragnyan/callable-context-1974
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/2623
Commits2 (2)https://github.com/modelcontextprotocol/python-sdk/pull/2623/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/2623/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/2623/files
fix: detect context on callable tool instanceshttps://github.com/modelcontextprotocol/python-sdk/pull/2623#top
pragnyanramthahttps://github.com/pragnyanramtha
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
pragnyanramtha:pragnyan/callable-context-1974https://github.com/pragnyanramtha/python-sdk/tree/pragnyan/callable-context-1974
https://github.com/pragnyanramtha
pragnyanramthahttps://github.com/pragnyanramtha
May 17, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2623#issue-4462190060
#1974https://github.com/modelcontextprotocol/python-sdk/issues/1974
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2623
https://github.com/pragnyanramtha
fix: detect context on callable tool instanceshttps://github.com/modelcontextprotocol/python-sdk/pull/2623/commits/482171fd28eb794e44d59c149a4ebce1615d4d9b
482171fhttps://github.com/modelcontextprotocol/python-sdk/pull/2623/commits/482171fd28eb794e44d59c149a4ebce1615d4d9b
https://github.com/pragnyanramtha
pragnyanramthahttps://github.com/pragnyanramtha
May 17, 2026 03:51https://github.com/modelcontextprotocol/python-sdk/pull/2623#event-25619769769
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
May 17, 2026 03:51https://github.com/modelcontextprotocol/python-sdk/pull/2623#event-25619769914
started reviewinghttps://github.com/modelcontextprotocol/python-sdk/sessions/a34a68fc-e30b-46df-b865-12937e956cc8
pragnyanramthahttps://github.com/pragnyanramtha
May 17, 2026 03:52https://github.com/modelcontextprotocol/python-sdk/pull/2623#event-25619775278
View session https://github.com/modelcontextprotocol/python-sdk/sessions/a34a68fc-e30b-46df-b865-12937e956cc8
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
May 17, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2623#pullrequestreview-4304775778
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/modelcontextprotocol/python-sdk/pull/2623#pullrequestreview-4304775778
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2623
https://github.com/BossChaos
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2623
https://github.com/BossChaos
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2623
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
May 18, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2623#ref-pullrequest-3930327481
fix: handle callable class instances in find_context_parameter() #2042 https://github.com/modelcontextprotocol/python-sdk/pull/2042
https://github.com/pragnyanramtha
Merge remote-tracking branch 'upstream/main' into pragnyan/callable-c…https://github.com/modelcontextprotocol/python-sdk/pull/2623/commits/a02441e30ed6497acf2e6e1b063a02d85840350e
a02441ehttps://github.com/modelcontextprotocol/python-sdk/pull/2623/commits/a02441e30ed6497acf2e6e1b063a02d85840350e
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Jun 25, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2623#ref-pullrequest-4610074872
fix: detect context on callable tool objects #2817 https://github.com/modelcontextprotocol/python-sdk/pull/2817
https://github.com/hishammoizuddin
hishammoizuddinhttps://github.com/hishammoizuddin
Aug 13, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2623#ref-pullrequest-5138716073
fix(mcpserver): ignore the return annotation when finding the context parameter #3301 https://github.com/modelcontextprotocol/python-sdk/pull/3301
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2623
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/modelcontextprotocol/python-sdk/pull/2623/files/482171fd28eb794e44d59c149a4ebce1615d4d9b
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2623
find_context_parameter() fails to detect Context parameter in callable class instances https://github.com/modelcontextprotocol/python-sdk/issues/1974
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2623
https://github.com/pragnyanramtha
https://github.com/BossChaos
https://github.com/apps/copilot-pull-request-reviewer
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.