René's URL Explorer Experiment


Title: feat(mcp): add tool registry to handle tools from different endpoints by burmudar · Pull Request #1237 · sourcegraph/src-cli · GitHub

Open Graph Title: feat(mcp): add tool registry to handle tools from different endpoints by burmudar · Pull Request #1237 · sourcegraph/src-cli

X Title: feat(mcp): add tool registry to handle tools from different endpoints by burmudar · Pull Request #1237 · sourcegraph/src-cli

Description: Add a tool registry which keeps tracks of tools and from which endpoints they originated from. We need to know the endpoint so that we a tool call is made it is made against the correct endpoint. T...

Open Graph Description: Add a tool registry which keeps tracks of tools and from which endpoints they originated from. We need to know the endpoint so that we a tool call is made it is made against the correct endpoint. T...

X Description: Add a tool registry which keeps tracks of tools and from which endpoints they originated from. We need to know the endpoint so that we a tool call is made it is made against the correct endpoint. T...

Opengraph URL: https://github.com/sourcegraph/src-cli/pull/1237

X: @github

direct link

Domain: github.com

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:801ae406-2df4-abf6-303c-cd5468301e63
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8F18:65405:BC48E2:F93C7C:69717274
html-safe-nonce0d34417c93e522668419e35ba845c3f50a3dcbf19f12ac32dcc67df5ee9c9208
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjE4OjY1NDA1OkJDNDhFMjpGOTNDN0M6Njk3MTcyNzQiLCJ2aXNpdG9yX2lkIjoiMjAxNTg3MzcxNDI0MjAyNDA1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca483f3ce5d45071194b3879898987a40069fa73faeb2c9dd39cdf46165c3beb5
hovercard-subject-tagpull_request:3088877579
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/sourcegraph/src-cli/1237/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/3fb9e758a0b61ffcddeff1cb23684b88f030e7f81d36ee85008dc94c74362796/sourcegraph/src-cli/pull/1237
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3fb9e758a0b61ffcddeff1cb23684b88f030e7f81d36ee85008dc94c74362796/sourcegraph/src-cli/pull/1237
og:image:altAdd a tool registry which keeps tracks of tools and from which endpoints they originated from. We need to know the endpoint so that we a tool call is made it is made against the correct endpoint. T...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameburmudar
hostnamegithub.com
expected-hostnamegithub.com
None353479110ec1e87d687013548f216c852055ec907d09d2fb6a180cb5ed9d28e1
turbo-cache-controlno-preview
go-importgithub.com/sourcegraph/src-cli git https://github.com/sourcegraph/src-cli.git
octolytics-dimension-user_id3979584
octolytics-dimension-user_loginsourcegraph
octolytics-dimension-repository_id130770053
octolytics-dimension-repository_nwosourcegraph/src-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id130770053
octolytics-dimension-repository_network_root_nwosourcegraph/src-cli
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
releasea4c7e274c03a115b82dcef6c47ce3f7f903e88e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/sourcegraph/src-cli/pull/1237#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcegraph%2Fsrc-cli%2Fpull%2F1237
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcegraph%2Fsrc-cli%2Fpull%2F1237
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=sourcegraph%2Fsrc-cli
Reloadhttps://github.com/sourcegraph/src-cli/pull/1237
Reloadhttps://github.com/sourcegraph/src-cli/pull/1237
Reloadhttps://github.com/sourcegraph/src-cli/pull/1237
sourcegraph https://github.com/sourcegraph
src-clihttps://github.com/sourcegraph/src-cli
Notifications https://github.com/login?return_to=%2Fsourcegraph%2Fsrc-cli
Fork 70 https://github.com/login?return_to=%2Fsourcegraph%2Fsrc-cli
Star 315 https://github.com/login?return_to=%2Fsourcegraph%2Fsrc-cli
Code https://github.com/sourcegraph/src-cli
Issues 41 https://github.com/sourcegraph/src-cli/issues
Pull requests 4 https://github.com/sourcegraph/src-cli/pulls
Actions https://github.com/sourcegraph/src-cli/actions
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/sourcegraph/src-cli/security
Please reload this pagehttps://github.com/sourcegraph/src-cli/pull/1237
Insights https://github.com/sourcegraph/src-cli/pulse
Code https://github.com/sourcegraph/src-cli
Issues https://github.com/sourcegraph/src-cli/issues
Pull requests https://github.com/sourcegraph/src-cli/pulls
Actions https://github.com/sourcegraph/src-cli/actions
Security https://github.com/sourcegraph/src-cli/security
Insights https://github.com/sourcegraph/src-cli/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsourcegraph%2Fsrc-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsourcegraph%2Fsrc-cli%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/sourcegraph/src-cli/pull/1237#issue-comment-box
burmudarhttps://github.com/burmudar
mainhttps://github.com/sourcegraph/src-cli/tree/main
wb/tool-registryhttps://github.com/sourcegraph/src-cli/tree/wb/tool-registry
feat(mcp): add tool registry to handle tools from different endpoints https://github.com/sourcegraph/src-cli/pull/1237#top
burmudarhttps://github.com/burmudar
mainhttps://github.com/sourcegraph/src-cli/tree/main
wb/tool-registryhttps://github.com/sourcegraph/src-cli/tree/wb/tool-registry
Conversation 4 https://github.com/sourcegraph/src-cli/pull/1237
Commits 5 https://github.com/sourcegraph/src-cli/pull/1237/commits
Checks 9 https://github.com/sourcegraph/src-cli/pull/1237/checks
Files changed 3 https://github.com/sourcegraph/src-cli/pull/1237/files
https://github.co/hiddenchars
https://github.com/sourcegraph/src-cli/pull/{{ revealButtonHref }}
https://github.com/burmudar
burmudarhttps://github.com/burmudar
Dec 10, 2025https://github.com/sourcegraph/src-cli/pull/1237#issue-3714655250
Please reload this pagehttps://github.com/sourcegraph/src-cli/pull/1237
burmudarhttps://github.com/burmudar
December 10, 2025 12:46https://github.com/sourcegraph/src-cli/pull/1237#commits-pushed-d46ac71
https://github.com/burmudar
add tool registryhttps://github.com/sourcegraph/src-cli/pull/1237/commits/d46ac71a3a5a2c650e7aa60f049603c4c910c1eb
d46ac71https://github.com/sourcegraph/src-cli/pull/1237/commits/d46ac71a3a5a2c650e7aa60f049603c4c910c1eb
https://github.com/burmudar
unexport DoToolCall and DecodeToolResponsehttps://github.com/sourcegraph/src-cli/pull/1237/commits/a744b31e76360137590ae903f4ddb4e15b83632f
a744b31https://github.com/sourcegraph/src-cli/pull/1237/commits/a744b31e76360137590ae903f4ddb4e15b83632f
https://github.com/burmudar
use tool registry in mcp command for tool executionhttps://github.com/sourcegraph/src-cli/pull/1237/commits/5dc08417290316e9b8a28e8c60205d0a549d3e8e
5dc0841https://github.com/sourcegraph/src-cli/pull/1237/commits/5dc08417290316e9b8a28e8c60205d0a549d3e8e
https://github.com/burmudar
burmudarhttps://github.com/burmudar
December 10, 2025 10:48https://github.com/sourcegraph/src-cli/pull/1237#event-21475753496
https://github.com/burmudar
burmudarhttps://github.com/burmudar
Dec 10, 2025https://github.com/sourcegraph/src-cli/pull/1237#event-21475753572
https://github.com/keegancsmith
keegancsmithhttps://github.com/keegancsmith
Dec 10, 2025 https://github.com/sourcegraph/src-cli/pull/1237#pullrequestreview-3562124724
View reviewed changes https://github.com/sourcegraph/src-cli/pull/1237/files/5dc08417290316e9b8a28e8c60205d0a549d3e8e
keegancsmithhttps://github.com/keegancsmith
https://github.com/sourcegraph/src-cli/pull/1237#pullrequestreview-3562124724
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/sourcegraph/src-cli/pull/1237
internal/mcp/mcp_request.gohttps://github.com/sourcegraph/src-cli/pull/1237/files/5dc08417290316e9b8a28e8c60205d0a549d3e8e#diff-8bc80e05bf84087fd6f32b00e81a1e30c5b40795474d37773875e9b6019d5b07
Please reload this pagehttps://github.com/sourcegraph/src-cli/pull/1237
burmudarhttps://github.com/burmudar
December 10, 2025 14:39https://github.com/sourcegraph/src-cli/pull/1237#commits-pushed-42ca15d
https://github.com/burmudar
fix MCP casinghttps://github.com/sourcegraph/src-cli/pull/1237/commits/42ca15da04b0a207d4972c4cc13d5095f01855c4
42ca15dhttps://github.com/sourcegraph/src-cli/pull/1237/commits/42ca15da04b0a207d4972c4cc13d5095f01855c4
https://github.com/burmudar
Merge branch 'main' into wb/tool-registryhttps://github.com/sourcegraph/src-cli/pull/1237/commits/d25e7a736176f2c110e1664303f3b1eb3bee25a9
d25e7a7https://github.com/sourcegraph/src-cli/pull/1237/commits/d25e7a736176f2c110e1664303f3b1eb3bee25a9
https://github.com/burmudar
burmudarhttps://github.com/burmudar
Dec 10, 2025https://github.com/sourcegraph/src-cli/pull/1237#issuecomment-3636923019
Please reload this pagehttps://github.com/sourcegraph/src-cli/pull/1237
https://github.com/burmudar
burmudarhttps://github.com/burmudar
c8a9dcehttps://github.com/sourcegraph/src-cli/commit/c8a9dce43a9f01505c0287782a1f9d2fb1014354
Dec 10, 2025https://github.com/sourcegraph/src-cli/pull/1237#event-21478314410
Please reload this pagehttps://github.com/sourcegraph/src-cli/pull/1237
https://github.com/burmudar
burmudarhttps://github.com/burmudar
December 10, 2025 12:48https://github.com/sourcegraph/src-cli/pull/1237#event-21478314917
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcegraph%2Fsrc-cli%2Fpull%2F1237
https://github.com/keegancsmith
keegancsmith https://github.com/keegancsmith
https://github.com/sourcegraph/src-cli/pull/1237/files/5dc08417290316e9b8a28e8c60205d0a549d3e8e
https://github.com/burmudar
burmudar https://github.com/burmudar
Please reload this pagehttps://github.com/sourcegraph/src-cli/pull/1237
https://github.com/burmudar
https://github.com/keegancsmith
https://github.com/apps/copilot-swe-agent
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.