| react-profiling | 0 |
| react-import-map | react,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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:97d0a23b-36af-f216-b257-f08beba6a701 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CB34:1BD5CA:B96504:FE9A57:6AFB5367 |
| html-safe-nonce | 3473e21c4c21231fd8a1b01deb84c00af9f57fa72535d00d1276e90d2c38f379 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjM0OjFCRDVDQTpCOTY1MDQ6RkU5QTU3OjZBRkI1MzY3IiwidmlzaXRvcl9pZCI6IjE5MjY1OTIxODAzODY0ODUwOTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6616b9bdf325da3bd02d08b35760b2964ae99fcc4de5dea66ddad72343e24969 |
| hovercard-subject-tag | pull_request:4865814034 |
| 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/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/9051/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | Summary
MCP tool discovery (GET /api/v2/mcp-servers/:id/tools, GET /api/mcp/tools/discover) now treats McpOauthRedirectRequired like the other stale-grant errors: 409 MCP_SERVER_REAUTHORIZATION_RE... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cbf66c024bb6d10e6955baa7413c54cf13a201bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/9051/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F9051%2Ffiles |
| 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%2Fsimstudioai%2Fsim%2Fpull%2F9051%2Ffiles |
| 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%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim |
| Reload | https://github.com/simstudioai/sim/pull/9051/files |
| Reload | https://github.com/simstudioai/sim/pull/9051/files |
| Reload | https://github.com/simstudioai/sim/pull/9051/files |
| simstudioai | https://github.com/simstudioai |
| sim | https://github.com/simstudioai/sim |
| Code | https://github.com/simstudioai/sim |
| Issues129 (129) | https://github.com/simstudioai/sim/issues |
| Pull requests197 (197) | 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 |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| waleedlatif1 | https://github.com/waleedlatif1 |
| staging | https://github.com/simstudioai/sim/tree/staging |
| fix/route-error-mapping | https://github.com/simstudioai/sim/tree/fix/route-error-mapping |
|
Conversation
8
| https://github.com/simstudioai/sim/pull/9051 |
|
Commits
2
| https://github.com/simstudioai/sim/pull/9051/commits |
|
Checks
53
| https://github.com/simstudioai/sim/pull/9051/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/9051/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/9051/files |
|
fix(api): map MCP reauth redirect, deleted-account visit, and task service outage to non-500 statuses
| https://github.com/simstudioai/sim/pull/9051/files#top |
|
Show all changes
2 commits
| https://github.com/simstudioai/sim/pull/9051/files |
|
7e38770
fix(api): map MCP reauth redirect, deleted-account visit, and task se…
waleedlatif1 Oct 14, 2026
| https://github.com/simstudioai/sim/pull/9051/commits/7e387701b8ac495caef996eb1b3d7df642caa249 |
|
d239920
fix(api): type the discover route test call and keep POST refresh per…
waleedlatif1 Oct 14, 2026
| https://github.com/simstudioai/sim/pull/9051/commits/d23992013c04898130d2e3c2a53948d5920fab93 |
|
Clear filters
| https://github.com/simstudioai/sim/pull/9051/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/9051/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/9051/files |
|
route.test.ts
| https://github.com/simstudioai/sim/pull/9051/files#diff-36a48f839a088f6be164e3dfc5fc4cf6ce023675ef1930da056fb2ef0a43c2b0 |
|
route.ts
| https://github.com/simstudioai/sim/pull/9051/files#diff-996c743d5e8a330e59c381233d961abe818c086daa5c27329e3634a8d46f264b |
|
route.ts
| https://github.com/simstudioai/sim/pull/9051/files#diff-5148ce5ee55dc2e48792d2126342b1abb3baaefe314989372266d90d84c52ba4 |
|
route.test.ts
| https://github.com/simstudioai/sim/pull/9051/files#diff-5e24a72371723a2a6eedc02acb8c85952d7b19eb0784a710482bd1fdc516d641 |
|
utils.ts
| https://github.com/simstudioai/sim/pull/9051/files#diff-f1d8fff7129577a012b2653887f7f8328ca69fcea3817eea8594cf9b4dad69e9 |
|
route.test.ts
| https://github.com/simstudioai/sim/pull/9051/files#diff-fdca2a5ab7c394125fd35e0c4c517f0dbdb4369d4eefbb0600473864204c78f9 |
|
route.ts
| https://github.com/simstudioai/sim/pull/9051/files#diff-caba6f26024a1e402d94844a69a01240ccd17a50396dad7add415febe82928b0 |
|
service.test.ts
| https://github.com/simstudioai/sim/pull/9051/files#diff-35a9a41078c4e0e406f16e149b98f01c835e3b12ab4ecee70e06b77f33e6846a |
|
service.ts
| https://github.com/simstudioai/sim/pull/9051/files#diff-19f6b7bbc0682d9438560d27d332499a5f8e1e4d1bf8aeb68dde6f2431137355 |
|
read-status.ts
| https://github.com/simstudioai/sim/pull/9051/files#diff-24a6e0cd6274222e4cf8fbf91f9619f37a0e14477a1283e5c946991debc823e2 |
|
tasks.test.ts
| https://github.com/simstudioai/sim/pull/9051/files#diff-b015fe02eac7aeb751fd3a0506ad284e82cdec501a5552807a002bebae788360 |
|
visits.ts
| https://github.com/simstudioai/sim/pull/9051/files#diff-df54dd1ce6bc44ed5dec8b546293f7fa971baae315841f19190447920f0ccd48 |
| apps/sim/app/api/mcp/tools/discover/route.test.ts | https://github.com/simstudioai/sim/pull/9051/files#diff-36a48f839a088f6be164e3dfc5fc4cf6ce023675ef1930da056fb2ef0a43c2b0 |
|
View file
| https://github.com/simstudioai/sim/blob/d23992013c04898130d2e3c2a53948d5920fab93/apps/sim/app/api/mcp/tools/discover/route.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/9051/{{ revealButtonHref }} |
| apps/sim/app/api/mcp/tools/discover/route.ts | https://github.com/simstudioai/sim/pull/9051/files#diff-996c743d5e8a330e59c381233d961abe818c086daa5c27329e3634a8d46f264b |
|
View file
| https://github.com/simstudioai/sim/blob/d23992013c04898130d2e3c2a53948d5920fab93/apps/sim/app/api/mcp/tools/discover/route.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/9051/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-996c743d5e8a330e59c381233d961abe818c086daa5c27329e3634a8d46f264b |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-996c743d5e8a330e59c381233d961abe818c086daa5c27329e3634a8d46f264b |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-996c743d5e8a330e59c381233d961abe818c086daa5c27329e3634a8d46f264b |
| Please reload this page | https://github.com/simstudioai/sim/pull/9051/files |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-996c743d5e8a330e59c381233d961abe818c086daa5c27329e3634a8d46f264b |
| apps/sim/app/api/mothership/tasks/[taskId]/route.ts | https://github.com/simstudioai/sim/pull/9051/files#diff-5148ce5ee55dc2e48792d2126342b1abb3baaefe314989372266d90d84c52ba4 |
|
View file
| https://github.com/simstudioai/sim/blob/d23992013c04898130d2e3c2a53948d5920fab93/apps/sim/app/api/mothership/tasks/%5BtaskId%5D/route.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/9051/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-5148ce5ee55dc2e48792d2126342b1abb3baaefe314989372266d90d84c52ba4 |
| apps/sim/app/api/v2/mcp-servers/[mcpServerId]/tools/route.test.ts | https://github.com/simstudioai/sim/pull/9051/files#diff-5e24a72371723a2a6eedc02acb8c85952d7b19eb0784a710482bd1fdc516d641 |
|
View file
| https://github.com/simstudioai/sim/blob/d23992013c04898130d2e3c2a53948d5920fab93/apps/sim/app/api/v2/mcp-servers/%5BmcpServerId%5D/tools/route.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/9051/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-5e24a72371723a2a6eedc02acb8c85952d7b19eb0784a710482bd1fdc516d641 |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-5e24a72371723a2a6eedc02acb8c85952d7b19eb0784a710482bd1fdc516d641 |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-5e24a72371723a2a6eedc02acb8c85952d7b19eb0784a710482bd1fdc516d641 |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-5e24a72371723a2a6eedc02acb8c85952d7b19eb0784a710482bd1fdc516d641 |
| apps/sim/app/api/v2/mcp-servers/utils.ts | https://github.com/simstudioai/sim/pull/9051/files#diff-f1d8fff7129577a012b2653887f7f8328ca69fcea3817eea8594cf9b4dad69e9 |
|
View file
| https://github.com/simstudioai/sim/blob/d23992013c04898130d2e3c2a53948d5920fab93/apps/sim/app/api/v2/mcp-servers/utils.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/9051/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-f1d8fff7129577a012b2653887f7f8328ca69fcea3817eea8594cf9b4dad69e9 |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-f1d8fff7129577a012b2653887f7f8328ca69fcea3817eea8594cf9b4dad69e9 |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-f1d8fff7129577a012b2653887f7f8328ca69fcea3817eea8594cf9b4dad69e9 |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-f1d8fff7129577a012b2653887f7f8328ca69fcea3817eea8594cf9b4dad69e9 |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-f1d8fff7129577a012b2653887f7f8328ca69fcea3817eea8594cf9b4dad69e9 |
| apps/sim/app/api/workspaces/[id]/visit/route.test.ts | https://github.com/simstudioai/sim/pull/9051/files#diff-fdca2a5ab7c394125fd35e0c4c517f0dbdb4369d4eefbb0600473864204c78f9 |
|
View file
| https://github.com/simstudioai/sim/blob/d23992013c04898130d2e3c2a53948d5920fab93/apps/sim/app/api/workspaces/%5Bid%5D/visit/route.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/9051/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-fdca2a5ab7c394125fd35e0c4c517f0dbdb4369d4eefbb0600473864204c78f9 |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-fdca2a5ab7c394125fd35e0c4c517f0dbdb4369d4eefbb0600473864204c78f9 |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-fdca2a5ab7c394125fd35e0c4c517f0dbdb4369d4eefbb0600473864204c78f9 |
| apps/sim/app/api/workspaces/[id]/visit/route.ts | https://github.com/simstudioai/sim/pull/9051/files#diff-caba6f26024a1e402d94844a69a01240ccd17a50396dad7add415febe82928b0 |
|
View file
| https://github.com/simstudioai/sim/blob/d23992013c04898130d2e3c2a53948d5920fab93/apps/sim/app/api/workspaces/%5Bid%5D/visit/route.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/9051/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-caba6f26024a1e402d94844a69a01240ccd17a50396dad7add415febe82928b0 |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-caba6f26024a1e402d94844a69a01240ccd17a50396dad7add415febe82928b0 |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-caba6f26024a1e402d94844a69a01240ccd17a50396dad7add415febe82928b0 |
| apps/sim/lib/mcp/service.test.ts | https://github.com/simstudioai/sim/pull/9051/files#diff-35a9a41078c4e0e406f16e149b98f01c835e3b12ab4ecee70e06b77f33e6846a |
|
View file
| https://github.com/simstudioai/sim/blob/d23992013c04898130d2e3c2a53948d5920fab93/apps/sim/lib/mcp/service.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/9051/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-35a9a41078c4e0e406f16e149b98f01c835e3b12ab4ecee70e06b77f33e6846a |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-35a9a41078c4e0e406f16e149b98f01c835e3b12ab4ecee70e06b77f33e6846a |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-35a9a41078c4e0e406f16e149b98f01c835e3b12ab4ecee70e06b77f33e6846a |
| apps/sim/lib/mcp/service.ts | https://github.com/simstudioai/sim/pull/9051/files#diff-19f6b7bbc0682d9438560d27d332499a5f8e1e4d1bf8aeb68dde6f2431137355 |
|
View file
| https://github.com/simstudioai/sim/blob/d23992013c04898130d2e3c2a53948d5920fab93/apps/sim/lib/mcp/service.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/9051/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-19f6b7bbc0682d9438560d27d332499a5f8e1e4d1bf8aeb68dde6f2431137355 |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-19f6b7bbc0682d9438560d27d332499a5f8e1e4d1bf8aeb68dde6f2431137355 |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-19f6b7bbc0682d9438560d27d332499a5f8e1e4d1bf8aeb68dde6f2431137355 |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-19f6b7bbc0682d9438560d27d332499a5f8e1e4d1bf8aeb68dde6f2431137355 |
| apps/sim/lib/mothership/tasks/application/read-status.ts | https://github.com/simstudioai/sim/pull/9051/files#diff-24a6e0cd6274222e4cf8fbf91f9619f37a0e14477a1283e5c946991debc823e2 |
|
View file
| https://github.com/simstudioai/sim/blob/d23992013c04898130d2e3c2a53948d5920fab93/apps/sim/lib/mothership/tasks/application/read-status.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/9051/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-24a6e0cd6274222e4cf8fbf91f9619f37a0e14477a1283e5c946991debc823e2 |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-24a6e0cd6274222e4cf8fbf91f9619f37a0e14477a1283e5c946991debc823e2 |
|
| https://github.com/simstudioai/sim/pull/9051/files#diff-24a6e0cd6274222e4cf8fbf91f9619f37a0e14477a1283e5c946991debc823e2 |
| Please reload this page | https://github.com/simstudioai/sim/pull/9051/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/9051/files |
|
| 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 |