René's URL Explorer Experiment


Title: feat(mcp): reuse warm connections for tool execution and discovery by waleedlatif1 · Pull Request #5760 · simstudioai/sim · GitHub

Open Graph Title: feat(mcp): reuse warm connections for tool execution and discovery by waleedlatif1 · Pull Request #5760 · simstudioai/sim

X Title: feat(mcp): reuse warm connections for tool execution and discovery by waleedlatif1 · Pull Request #5760 · simstudioai/sim

Description: Build, deploy, and orchestrate AI agents. Sim is the central intelligence layer for your AI workforce. - feat(mcp): reuse warm connections for tool execution and discovery by waleedlatif1 · Pull Request #5760 · simstudioai/sim

Open Graph Description: Summary Adds a warm MCP connection pool so tool execution and discovery reuse a live connection per server instead of connecting, initializing, and tearing down on every call (the connect-per-oper...

X Description: Summary Adds a warm MCP connection pool so tool execution and discovery reuse a live connection per server instead of connecting, initializing, and tearing down on every call (the connect-per-oper...

Opengraph URL: https://github.com/simstudioai/sim/pull/5760

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:43eb893b-0e4b-f265-b912-c596401a282e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD58E:329F26:506576:776BFF:6A634917
html-safe-noncec08ddd36b4eec5e377f3a1ee17ca51b59ab1c5d39d2b0b832181776d942da18b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENThFOjMyOUYyNjo1MDY1NzY6Nzc2QkZGOjZBNjM0OTE3IiwidmlzaXRvcl9pZCI6IjI2NzAzNzI3NzY3ODkxMDA4MjMiLCJyZWdpb25fZWRnZSI6Indlc3R1czIiLCJyZWdpb25fcmVuZGVyIjoid2VzdHVzMiJ9
visitor-hmacea1bfc99b2fc9a7f9faa71351430ed372491c170fb97c746112d25ccffaa38df
hovercard-subject-tagpull_request:4083825980
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/5760/commits
twitter:imagehttps://opengraph.githubassets.com/00df617f70ac9e31be02c745be4b775bdbe81600d9a0d12028ccdb3b533e8006/simstudioai/sim/pull/5760
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/00df617f70ac9e31be02c745be4b775bdbe81600d9a0d12028ccdb3b533e8006/simstudioai/sim/pull/5760
og:image:altSummary Adds a warm MCP connection pool so tool execution and discovery reuse a live connection per server instead of connecting, initializing, and tearing down on every call (the connect-per-oper...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewaleedlatif1
hostnamegithub.com
expected-hostnamegithub.com
None59e55daad7174ca59d63c6974d58276ccb5477442e550bebb3c035e1bef11c94
turbo-cache-controlno-cache
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
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
release990295d92a4cc7b63fbbd83a046217cd7d77d49c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/5760/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5760%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2Fsimstudioai%2Fsim%2Fpull%2F5760%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=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/5760/commits
Reloadhttps://github.com/simstudioai/sim/pull/5760/commits
Reloadhttps://github.com/simstudioai/sim/pull/5760/commits
Please reload this pagehttps://github.com/simstudioai/sim/pull/5760/commits
simstudioai https://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Notifications https://github.com/login?return_to=%2Fsimstudioai%2Fsim
Fork 3.7k https://github.com/login?return_to=%2Fsimstudioai%2Fsim
Star 29.2k https://github.com/login?return_to=%2Fsimstudioai%2Fsim
Code https://github.com/simstudioai/sim
Issues 111 https://github.com/simstudioai/sim/issues
Pull requests 121 https://github.com/simstudioai/sim/pulls
Actions https://github.com/simstudioai/sim/actions
Projects https://github.com/simstudioai/sim/projects
Security and quality 0 https://github.com/simstudioai/sim/security
Insights https://github.com/simstudioai/sim/pulse
Code https://github.com/simstudioai/sim
Issues https://github.com/simstudioai/sim/issues
Pull requests https://github.com/simstudioai/sim/pulls
Actions https://github.com/simstudioai/sim/actions
Projects https://github.com/simstudioai/sim/projects
Security and quality https://github.com/simstudioai/sim/security
Insights https://github.com/simstudioai/sim/pulse
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
mcp-connection-reusehttps://github.com/simstudioai/sim/tree/mcp-connection-reuse
Conversationhttps://github.com/simstudioai/sim/pull/5760
Commits13 (13)https://github.com/simstudioai/sim/pull/5760/commits
Checkshttps://github.com/simstudioai/sim/pull/5760/checks
Files changedhttps://github.com/simstudioai/sim/pull/5760/files
feat(mcp): reuse warm connections for tool execution and discoveryhttps://github.com/simstudioai/sim/pull/5760/commits#top
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
mcp-connection-reusehttps://github.com/simstudioai/sim/tree/mcp-connection-reuse
feat(mcp): reuse warm connections for tool execution and discoveryhttps://github.com/simstudioai/sim/pull/5760/commits/e55fff5d7a73db3a731fec96eadd60d04180c241
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
e55fff5https://github.com/simstudioai/sim/pull/5760/commits/e55fff5d7a73db3a731fec96eadd60d04180c241
https://github.com/simstudioai/sim/tree/e55fff5d7a73db3a731fec96eadd60d04180c241
fix(mcp): make connection pool concurrency-safe and auth-scopedhttps://github.com/simstudioai/sim/pull/5760/commits/3b3bceb0423517c15ffa69d755c601bf84b8b850
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
3b3bcebhttps://github.com/simstudioai/sim/pull/5760/commits/3b3bceb0423517c15ffa69d755c601bf84b8b850
https://github.com/simstudioai/sim/tree/3b3bceb0423517c15ffa69d755c601bf84b8b850
fix(mcp): decouple pool validity from updatedAt, widen dead-connection detection, guard ping racehttps://github.com/simstudioai/sim/pull/5760/commits/70bd09dcbf8436405f71ba770f48b544d16c7644
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
70bd09dhttps://github.com/simstudioai/sim/pull/5760/commits/70bd09dcbf8436405f71ba770f48b544d16c7644
https://github.com/simstudioai/sim/tree/70bd09dcbf8436405f71ba770f48b544d16c7644
fix(mcp): retire pooled connections on auth failure and server deletehttps://github.com/simstudioai/sim/pull/5760/commits/252a4a073908a151d786b64309fcdd5ad393d129
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
252a4a0https://github.com/simstudioai/sim/pull/5760/commits/252a4a073908a151d786b64309fcdd5ad393d129
https://github.com/simstudioai/sim/tree/252a4a073908a151d786b64309fcdd5ad393d129
improvement(mcp): defer bulk-discovery env resolution to the pool miss pathhttps://github.com/simstudioai/sim/pull/5760/commits/b86cfa321840b33ac4317a615701136c5a871efa
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
b86cfa3https://github.com/simstudioai/sim/pull/5760/commits/b86cfa321840b33ac4317a615701136c5a871efa
https://github.com/simstudioai/sim/tree/b86cfa321840b33ac4317a615701136c5a871efa
fix(mcp): retire in-flight creates evicted mid-connect via server generationhttps://github.com/simstudioai/sim/pull/5760/commits/0362f9f20a0016010e154d623f9caec06c7a5b06
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
0362f9fhttps://github.com/simstudioai/sim/pull/5760/commits/0362f9f20a0016010e154d623f9caec06c7a5b06
https://github.com/simstudioai/sim/tree/0362f9f20a0016010e154d623f9caec06c7a5b06
fix(mcp): use evicted-mid-create connections one-shot and decouple pool eviction from cache clearhttps://github.com/simstudioai/sim/pull/5760/commits/de3527fe1de97b264217bdb3ecee34733b3aead4
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
de3527fhttps://github.com/simstudioai/sim/pull/5760/commits/de3527fe1de97b264217bdb3ecee34733b3aead4
https://github.com/simstudioai/sim/tree/de3527fe1de97b264217bdb3ecee34733b3aead4
improvement(mcp): dedupe create thunks into buildClient, harden dispose against liveness racehttps://github.com/simstudioai/sim/pull/5760/commits/fc2ee4c1ef51388b87f2d4e08347b472369f54b6
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
fc2ee4chttps://github.com/simstudioai/sim/pull/5760/commits/fc2ee4c1ef51388b87f2d4e08347b472369f54b6
https://github.com/simstudioai/sim/tree/fc2ee4c1ef51388b87f2d4e08347b472369f54b6
fix(mcp): close acquire-gap races (re-resolve after stale ping, skip closing entries)https://github.com/simstudioai/sim/pull/5760/commits/0edd043d97dd00289d38f6a4add0bb8a277f02d4
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
0edd043https://github.com/simstudioai/sim/pull/5760/commits/0edd043d97dd00289d38f6a4add0bb8a277f02d4
https://github.com/simstudioai/sim/tree/0edd043d97dd00289d38f6a4add0bb8a277f02d4
fix(mcp): retry auth failures in executeTool; simplify acquire re-check and clear generations on disposehttps://github.com/simstudioai/sim/pull/5760/commits/3ac3d2d8d91711dfd0b178c2de33b8f36c3823d4
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
3ac3d2dhttps://github.com/simstudioai/sim/pull/5760/commits/3ac3d2d8d91711dfd0b178c2de33b8f36c3823d4
https://github.com/simstudioai/sim/tree/3ac3d2d8d91711dfd0b178c2de33b8f36c3823d4
fix(mcp): let bulk discovery reconnect a lost notification connection with current confighttps://github.com/simstudioai/sim/pull/5760/commits/abd98481f7bf22e3732a9bf16a3963682120b659
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
abd9848https://github.com/simstudioai/sim/pull/5760/commits/abd98481f7bf22e3732a9bf16a3963682120b659
https://github.com/simstudioai/sim/tree/abd98481f7bf22e3732a9bf16a3963682120b659
fix(mcp): recover rotated credentials on discovery via shared fetchServerTools auth-retryhttps://github.com/simstudioai/sim/pull/5760/commits/65bd1f3e038fa7b5e5561b1ae01b8a99319921bc
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
65bd1f3https://github.com/simstudioai/sim/pull/5760/commits/65bd1f3e038fa7b5e5561b1ae01b8a99319921bc
https://github.com/simstudioai/sim/tree/65bd1f3e038fa7b5e5561b1ae01b8a99319921bc
chore(mcp): add debug logging for pool hit/miss/eviction observabilityhttps://github.com/simstudioai/sim/pull/5760/commits/d74d48dfaf119d273137c6bfa51bdc5e6c55f296
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
d74d48dhttps://github.com/simstudioai/sim/pull/5760/commits/d74d48dfaf119d273137c6bfa51bdc5e6c55f296
https://github.com/simstudioai/sim/tree/d74d48dfaf119d273137c6bfa51bdc5e6c55f296
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.