René's URL Explorer Experiment


Title: perf(mcp): per-server tool cache + surface OAuth start errors by waleedlatif1 · Pull Request #4691 · simstudioai/sim · GitHub

Open Graph Title: perf(mcp): per-server tool cache + surface OAuth start errors by waleedlatif1 · Pull Request #4691 · simstudioai/sim

X Title: perf(mcp): per-server tool cache + surface OAuth start errors by waleedlatif1 · Pull Request #4691 · simstudioai/sim

Description: Sim is the collaborative workspace to build, deploy, and monitor AI agents and workflows. Used by 100,000+ builders. - perf(mcp): per-server tool cache + surface OAuth start errors by waleedlatif1 · Pull Request #4691 · simstudioai/sim

Open Graph Description: Summary Cache MCP tool discovery per-(workspaceId, serverId) instead of one entry per workspace, so a slow or broken server can't invalidate every other server's cached tools (previously o...

X Description: Summary Cache MCP tool discovery per-(workspaceId, serverId) instead of one entry per workspace, so a slow or broken server can't invalidate every other server's cached tools (prev...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
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:845de80f-4614-a844-e7d9-d83fe57c8e82
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA8B0:68EC4:1A779:24D03:6AFB6460
html-safe-nonce62ae8dd62318248da6581d58b81b94c888b40cae01fed7b69f63b89731408048
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEIwOjY4RUM0OjFBNzc5OjI0RDAzOjZBRkI2NDYwIiwidmlzaXRvcl9pZCI6IjYyMzk0Njc5MTgwNTI3NzkxMDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf0d9de621676f7ef1c8748a2b2c00342daac780ead6ff9ce72e75cd32fceddee
hovercard-subject-tagpull_request:3720823708
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/simstudioai/sim/4691/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/cdb254fa360d860a881fb1c6d2158632da1a5218b5a23d861dd9ea4fca636266/simstudioai/sim/pull/4691
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cdb254fa360d860a881fb1c6d2158632da1a5218b5a23d861dd9ea4fca636266/simstudioai/sim/pull/4691
og:image:altSummary Cache MCP tool discovery per-(workspaceId, serverId) instead of one entry per workspace, so a slow or broken server can't invalidate every other server's cached tools (previously o...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewaleedlatif1
hostnamegithub.com
expected-hostnamegithub.com
Noneea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94
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
release59ef97164c52cf59bd10558ddec9c4f482763988
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/4691#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F4691
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%2Fsimstudioai%2Fsim%2Fpull%2F4691
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=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/4691
Reloadhttps://github.com/simstudioai/sim/pull/4691
Reloadhttps://github.com/simstudioai/sim/pull/4691
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
https://github.com/simstudioai/sim
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
waleedlatif1/mcp-oauthhttps://github.com/simstudioai/sim/tree/waleedlatif1/mcp-oauth
Conversationhttps://github.com/simstudioai/sim/pull/4691
Commits8 (8)https://github.com/simstudioai/sim/pull/4691/commits
Checkshttps://github.com/simstudioai/sim/pull/4691/checks
Files changedhttps://github.com/simstudioai/sim/pull/4691/files
perf(mcp): per-server tool cache + surface OAuth start errorshttps://github.com/simstudioai/sim/pull/4691#top
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
waleedlatif1/mcp-oauthhttps://github.com/simstudioai/sim/tree/waleedlatif1/mcp-oauth
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
May 21, 2026https://github.com/simstudioai/sim/pull/4691#issue-4491492297
Contributor License Agreement (CLA)https://github.com/simstudioai/sim/pull/CONTRIBUTING.md#contributor-license-agreement-cla
Please reload this pagehttps://github.com/simstudioai/sim/pull/4691
waleedlatif1https://github.com/waleedlatif1
May 20, 2026 20:26https://github.com/simstudioai/sim/pull/4691#commits-pushed-f09fe98
https://github.com/waleedlatif1
fix(mcp): surface authorization-server error instead of generic toasthttps://github.com/simstudioai/sim/pull/4691/commits/f09fe988c1672229956c8e483c133692126f8589
f09fe98https://github.com/simstudioai/sim/pull/4691/commits/f09fe988c1672229956c8e483c133692126f8589
https://github.com/waleedlatif1
perf(mcp): cache tool discovery per-server with test coveragehttps://github.com/simstudioai/sim/pull/4691/commits/3d56049f3dc7b4176ca959a08e3c7f03d6a5084a
3d56049https://github.com/simstudioai/sim/pull/4691/commits/3d56049f3dc7b4176ca959a08e3c7f03d6a5084a
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
May 21, 2026https://github.com/simstudioai/sim/pull/4691#issuecomment-4504525219
Please reload this pagehttps://github.com/simstudioai/sim/pull/4691
Vercel for GitHubhttps://vercel.link/github-learn-more
docshttps://vercel.com/sim-studio/docs
https://camo.githubusercontent.com/1bb29feed7826aff3191ae8ff19d3c61e80fc99f9cc9373030210090f890893b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f63616e63656c65642e737667
Skippedhttps://vercel.com/sim-studio/docs/4HBr91yCgJyRpXkN2LTXxicFdkva
https://vercel.com/vercel-agent/request-review?owner=simstudioai&repo=sim&pr=4691
Please reload this pagehttps://github.com/simstudioai/sim/pull/4691
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
May 21, 2026https://github.com/simstudioai/sim/pull/4691#issuecomment-4504525495
Please reload this pagehttps://github.com/simstudioai/sim/pull/4691
Cursor Bugbothttps://cursor.com/bugbot
e7eb5f2https://github.com/simstudioai/sim/commit/e7eb5f27be4bdfea051b4b0e0deb6283fdf2bae2
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/simstudioai/sim/pull/4691
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
May 21, 2026https://github.com/simstudioai/sim/pull/4691#issuecomment-4504542438
Please reload this pagehttps://github.com/simstudioai/sim/pull/4691
"chore(mcp): tighten clearCache comment t..."https://github.com/simstudioai/sim/commit/e7eb5f27be4bdfea051b4b0e0deb6283fdf2bae2
Re-trigger Greptilehttps://app.greptile.com/api/retrigger?id=33169345
Please reload this pagehttps://github.com/simstudioai/sim/pull/4691
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
May 21, 2026 https://github.com/simstudioai/sim/pull/4691#pullrequestreview-4333766918
View reviewed changes https://github.com/simstudioai/sim/pull/4691/files/3d56049f3dc7b4176ca959a08e3c7f03d6a5084a
apps/sim/app/api/mcp/oauth/start/route.tshttps://github.com/simstudioai/sim/pull/4691/files/3d56049f3dc7b4176ca959a08e3c7f03d6a5084a#diff-c39ea44b90f19a68eac78450a1dcd4c067a80c8639393cc2cb66f7566da41ba0
Please reload this pagehttps://github.com/simstudioai/sim/pull/4691
https://github.com/waleedlatif1
refactor(mcp): use SDK's typed OAuthError subclasses for error surfacinghttps://github.com/simstudioai/sim/pull/4691/commits/ccfa60f27ef947b441cc93100384eaeb7d927bd2
ccfa60fhttps://github.com/simstudioai/sim/pull/4691/commits/ccfa60f27ef947b441cc93100384eaeb7d927bd2
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-gbqpjrwu2-sim-studio.vercel.app
May 21, 2026 03:36https://github.com/simstudioai/sim/pull/4691#event-25786515032
https://github.com/waleedlatif1
test(mcp): unit-test surfaceOauthError typed and fallback pathshttps://github.com/simstudioai/sim/pull/4691/commits/f26895adfd6db180191603b0d677f2a1ade4b19d
f26895ahttps://github.com/simstudioai/sim/pull/4691/commits/f26895adfd6db180191603b0d677f2a1ade4b19d
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-2nhwswgs8-sim-studio.vercel.app
May 21, 2026 03:40https://github.com/simstudioai/sim/pull/4691#event-25786599479
https://github.com/waleedlatif1
chore(mcp): remove unused __where mock export in service.test.tshttps://github.com/simstudioai/sim/pull/4691/commits/4ffc7ee136f0aca60c6e912e08fcd86422a1a9b2
4ffc7eehttps://github.com/simstudioai/sim/pull/4691/commits/4ffc7ee136f0aca60c6e912e08fcd86422a1a9b2
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-h9i63j084-sim-studio.vercel.app
May 21, 2026 03:42https://github.com/simstudioai/sim/pull/4691#event-25786633807
https://github.com/waleedlatif1
chore(mcp): drop redundant clearCache TSDoc and stray trailing commenthttps://github.com/simstudioai/sim/pull/4691/commits/f155e3cc5260c1ba666fe8c416b4c6eb5cc2cca7
f155e3chttps://github.com/simstudioai/sim/pull/4691/commits/f155e3cc5260c1ba666fe8c416b4c6eb5cc2cca7
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-e553myxgl-sim-studio.vercel.app
May 21, 2026 03:45https://github.com/simstudioai/sim/pull/4691#event-25786703114
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
May 21, 2026https://github.com/simstudioai/sim/pull/4691#issuecomment-4504601919
@greptilehttps://github.com/greptile
Please reload this pagehttps://github.com/simstudioai/sim/pull/4691
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
May 21, 2026https://github.com/simstudioai/sim/pull/4691#issuecomment-4504602337
@cursorhttps://github.com/cursor
Please reload this pagehttps://github.com/simstudioai/sim/pull/4691
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
May 21, 2026 https://github.com/simstudioai/sim/pull/4691#pullrequestreview-4333839855
View reviewed changes https://github.com/simstudioai/sim/pull/4691/files/f155e3cc5260c1ba666fe8c416b4c6eb5cc2cca7
apps/sim/app/api/mcp/oauth/start/route.tshttps://github.com/simstudioai/sim/pull/4691/files/f155e3cc5260c1ba666fe8c416b4c6eb5cc2cca7#diff-c39ea44b90f19a68eac78450a1dcd4c067a80c8639393cc2cb66f7566da41ba0
Please reload this pagehttps://github.com/simstudioai/sim/pull/4691
apps/sim/lib/mcp/service.tshttps://github.com/simstudioai/sim/pull/4691/files/f155e3cc5260c1ba666fe8c416b4c6eb5cc2cca7#diff-19f6b7bbc0682d9438560d27d332499a5f8e1e4d1bf8aeb68dde6f2431137355
Please reload this pagehttps://github.com/simstudioai/sim/pull/4691
https://github.com/waleedlatif1
fix(mcp): don't leak non-OAuth errors; clearCache covers disabled ser…https://github.com/simstudioai/sim/pull/4691/commits/af2c93c8f9b277630415c708a32d49cfbd724efa
af2c93chttps://github.com/simstudioai/sim/pull/4691/commits/af2c93c8f9b277630415c708a32d49cfbd724efa
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-ift2ibwzd-sim-studio.vercel.app
May 21, 2026 03:56https://github.com/simstudioai/sim/pull/4691#event-25786946207
https://github.com/waleedlatif1
chore(mcp): tighten clearCache comment to one blockhttps://github.com/simstudioai/sim/pull/4691/commits/e7eb5f27be4bdfea051b4b0e0deb6283fdf2bae2
e7eb5f2https://github.com/simstudioai/sim/pull/4691/commits/e7eb5f27be4bdfea051b4b0e0deb6283fdf2bae2
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-klcodbcuv-sim-studio.vercel.app
May 21, 2026 03:57https://github.com/simstudioai/sim/pull/4691#event-25786963920
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
May 21, 2026https://github.com/simstudioai/sim/pull/4691#issuecomment-4504659759
@greptilehttps://github.com/greptile
Please reload this pagehttps://github.com/simstudioai/sim/pull/4691
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
May 21, 2026https://github.com/simstudioai/sim/pull/4691#issuecomment-4504660018
@cursorhttps://github.com/cursor
Please reload this pagehttps://github.com/simstudioai/sim/pull/4691
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
May 21, 2026 https://github.com/simstudioai/sim/pull/4691#pullrequestreview-4333899170
View reviewed changes https://github.com/simstudioai/sim/pull/4691/files/e7eb5f27be4bdfea051b4b0e0deb6283fdf2bae2
apps/sim/lib/mcp/service.tshttps://github.com/simstudioai/sim/pull/4691/files/e7eb5f27be4bdfea051b4b0e0deb6283fdf2bae2#diff-19f6b7bbc0682d9438560d27d332499a5f8e1e4d1bf8aeb68dde6f2431137355
Please reload this pagehttps://github.com/simstudioai/sim/pull/4691
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
May 21, 2026https://github.com/simstudioai/sim/pull/4691#issuecomment-4505344441
@greptilehttps://github.com/greptile
Please reload this pagehttps://github.com/simstudioai/sim/pull/4691
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
May 21, 2026https://github.com/simstudioai/sim/pull/4691#issuecomment-4505344767
@cursorhttps://github.com/cursor
Please reload this pagehttps://github.com/simstudioai/sim/pull/4691
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
May 21, 2026 https://github.com/simstudioai/sim/pull/4691#pullrequestreview-4334489907
View reviewed changes https://github.com/simstudioai/sim/pull/4691/files/e7eb5f27be4bdfea051b4b0e0deb6283fdf2bae2
cursorhttps://github.com/apps/cursor
https://github.com/simstudioai/sim/pull/4691#pullrequestreview-4334489907
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Cursor Bugbothttps://cursor.com/bugbot
e7eb5f2https://github.com/simstudioai/sim/commit/e7eb5f27be4bdfea051b4b0e0deb6283fdf2bae2
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/simstudioai/sim/pull/4691
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
d730015https://github.com/simstudioai/sim/commit/d73001502267aa69623aead7d2ca2aa7f7ea9bff
May 21, 2026https://github.com/simstudioai/sim/pull/4691#event-25790841613
Please reload this pagehttps://github.com/simstudioai/sim/pull/4691
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
May 21, 2026 06:31https://github.com/simstudioai/sim/pull/4691#event-25790843555
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
May 21, 2026 https://github.com/simstudioai/sim/pull/4691#ref-pullrequest-4491361915
v0.6.86: CORS updates, OAuth MCP, navigation pinning dynamic pages, google slides endpoints, DB access pattern improvements #4690 https://github.com/simstudioai/sim/pull/4690
Deployedhttps://docs-klcodbcuv-sim-studio.vercel.app
vercel[bot]https://github.com/apps/vercel
View deployment https://docs-klcodbcuv-sim-studio.vercel.app
https://github.co/hiddenchars
https://github.com/simstudioai/sim/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%2Fsimstudioai%2Fsim%2Fpull%2F4691
https://github.com/apps/greptile-apps
greptile-apps[bot] https://github.com/apps/greptile-apps
https://github.com/simstudioai/sim/pull/4691/files/3d56049f3dc7b4176ca959a08e3c7f03d6a5084a
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/simstudioai/sim/pull/4691/files/e7eb5f27be4bdfea051b4b0e0deb6283fdf2bae2
Please reload this pagehttps://github.com/simstudioai/sim/pull/4691
Please reload this pagehttps://github.com/simstudioai/sim/pull/4691
https://github.com/waleedlatif1
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.