Repository navigation
Show restricted members only their own MCP servers - #1779
Closed
helpcodeai wants to merge 3 commits into
Closed
helpcodeai wants to merge 3 commits into
helpcodeai wants to merge 3 commits into
Conversation
In a restricted workspace a member who is not an admin used to see every MCP server holding a connector they could see, with its name, owner, connectors, endpoint and usage. They now see only the servers they own, on every route that lists, reads, counts or reports servers: the servers API (reads and writes answer the unknown-id 404), the server picker and consent page, connections, API keys, connector detail, the audit log, tool performance and breakdowns, and the server links on the shared MCP endpoint. A restricted member with only their own server is granted the workspace connection, where their roles decide the tools. File Search detail routes answer 404 unless the member owns the connector, also for one shared through their roles. The catalog's installed flags count only connectors the member can see, and testing values for an existing connector is limited to its owner or an admin.
member-visibility.routes.ts records, for each controller handler, what a member who is not an admin gets in a restricted workspace. A spec reads every controller through Nest route metadata and fails on a route without a decision or a decision without a route, and checks admin-only and scoped decisions against the code. MemberVisibilityInterceptor enforces the admin-when-restricted decisions (knowledge graph and skills reads, learning projects, plan fit) without changing those controllers. An integration spec runs the restricted VIEWER scenario against PostgreSQL.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
An evaluator found that in a workspace with restricted member visibility a VIEWER could see other members' MCP servers: their names (including the owner, as in "Default (Alice)"), the connectors on each, the
/mcp/...endpoint, last use and calls in the last 30 days. The cause was the server rule: a restricted member saw every server holding a connector they were allowed to see.With this PR, a restricted member who is not an admin sees only the MCP servers they own, on every route that lists, reads, counts or reports servers or their usage. Any other server's id gets the same 404 as an unknown id, on reads and on writes. On their own servers they still see only the connectors their roles allow. Admins and
openworkspaces are unchanged.The PR also:
Cloud and self-hosted: the behaviour is the same in every edition. It changes only for members who are not admins, and only in workspaces an admin has switched to Restricted. Open stays the default.
Changes
MCP servers (priority 1)
serverWherenow returns{ userId }for a restricted scope, andcanSeeServeris its in-memory twin. This coversfindAllVisibleByOrg,findVisibleById,isVisibleTo, the grant service (picker,keepVisible), and themcpServersfield on connector detail.PUT/DELETE /api/mcp-servers/:idandPUT /:id/connectorsgive the unknown-id 404 for a server the member does not own. Before, they answered 403, which confirmed the server existed. Assigning a connector the member cannot see answers 404, like an unknown connector.GET /api/mcp-connectionsandGET /api/mcp-keysleave out, or set to null, any server the member does not own.POST /api/mcp-keyswith such a server answers 404.anythingmcp_get_configuration_urlused to list every server of the workspace, with its/mcp/<id>URL. They now list only the member's own servers (McpConnectionGrantService.serverNamesFor).mcpServer/mcpServerIdset to null.mcpServerId=filtering on such a server matches nothing.GROUP BYposition, and the same expression in the latest-error lookup.byServerrow withid: null.File Search (priority 2): every
/api/file-search/connectors/:id/**route, writes included, answers 404 unless the member owns the connector. This also applies to a connector shared through roles: the overview, tree, problems, runs, scans and access rules show the address, every folder and file name and the role rules. That is more than the tools give, and the tools apply the folder rules.capabilitiesandpolicyare unchanged (plan, limits, aggregate usage). Noee/change was needed. The fix is insrc/file-search/only.Route decisions and tests (priority 3)
src/settings/member-visibility.routes.tsgives an explicit decision for each of the 385 handlers:scoped,admin-when-restricted,admin-only,owner-or-admin,own-data,role-governed,workspace-config,no-member-sessionormcp-roles.member-visibility.routes.spec.tsloads every controller file, reads the Nest route metadata and fails when:admin-onlyroute lacks@Roles('ADMIN');scopedcontroller does not injectMemberVisibilityService(three listed routes delegate toMcpConnectionGrantServiceinstead).MemberVisibilityInterceptor(registered app-wide byMemberVisibilityModule) enforcesadmin-when-restrictedwith a 403, without editing those controllers, some of which are underee/. For any other route it is only a map lookup.member-visibility.restricted-viewer.integration.spec.ts(PostgreSQL, gated onAUDIT_TEST_DATABASE_URLlike the other integration specs; CI provides it):serverWhere, 7 of its 11 tests fail.Route inventory: leaks fixed beyond servers and File Search (priority 4)
GET /api/knowledge-graph,/skillsand/skills/:id/versionswere open to EDITORs. They return the graph of every connector and skills learned from every member's requests. Nowadmin-when-restricted.ee/, enforced from outsideee/):list,get,lessons,setLesson,previewandpublishwere open to EDITORs. They return lessons drawn from another member's requests. Nowadmin-when-restricted./api/learning/meand consent/withdraw are unchanged.GET /api/license/plan-fit(Cloud) was open to any member and names every connector and server. Nowadmin-when-restricted.GET /api/adapters/popular-connectorsand/starter-packshowedinstalledfor every connector of the workspace. They now count only connectors the member can see.POST /api/adapters/:slug/verifywithconnectorId: any EDITOR could test values against another member's stored credentials. Empty fields are filled from the stored connector. This is now owner-or-admin, with 404 for anyone else, in both modes. It is the only change that also affects open workspaces.Docs and Swagger (priority 5): updated
docs/operations/member-visibility.md(tables, a new "How a restricted member connects their AI client" section, a "Route decisions" section for contributors, the default-server caveat removed),docs/api-reference.mdanddocs/sso.md, plus the Swagger descriptions of every route touched.Scope notes
roles/: onlymcp-api-keys.controller.ts,mcp-api-keys.service.ts(serverFacts) and aMemberVisibilityModuleimport inroles.module.ts. No role-assignment code was changed, and nothing insettings/rolesoradmin/roles.ee/: no file changed. The owner authorized minimalee/file-searchedits for this fix; none were needed.Type
Testing
All commands ran in
packages/backendafternpm ci(repo root) andnpx prisma generate. PostgreSQL was a throwawaypostgres:17-alpinecontainer, migrated withnpx prisma migrate deploy.npx jest src/settings/member-visibility.routes.spec.ts --maxWorkers=2npx jest src/mcp-servers src/settings src/audit src/file-search src/adapters/adapters src/roles src/auth/login src/auth/server-picker src/mcp-server/shared-endpoint src/mcp-server/chatgpt-app src/mcp-server/file-search-app src/connectors/connectors.member-visibility --maxWorkers=2AUDIT_TEST_DATABASE_URL=… npx jeston the mcp-servers, connectors and audit member-visibility integration specs,--runInBandAUDIT_TEST_DATABASE_URL=… npx jest src/settings/member-visibility.restricted-viewer.integration.spec.ts --runInBandserverWhere)npm run lint/npm run lint:check--fixchanged nothing outside this PR's filesnpx tsc --noEmit -p tsconfig.jsonnpx nest build, then bootingdist/src/main.jsagainst the test database/health200, so the new module wiring resolvesDATABASE_URL=… AUDIT_TEST_DATABASE_URL=… npx jest --maxWorkers=3Baseline failure, not a regression:
audit/tool-performance.integration.spec.ts › weights ERROR and TIMEOUT countsexpectspercentile_contto give285and gets284.99999999999994on the local arm64 PostgreSQL 17. I swappedtool-performance.query.tsback to theorigin/mainversion and it fails the same way there, so it is a float difference on this machine and not caused by this PR. The test is unchanged.Checklist
npm test). One baseline failure is described above.Known limits (not changed here)
/mcp/<serverId>still answers any member who knows the id, with role-filtered tools.role-governed. They follow their own access model (memory access, folder roles, EDITOR curation) and member visibility does not narrow them further./api/license/usagestill reports workspace totals.Related Issues
Follow-up to #1664, #1665, #1666, #1667, #1668 and #1742 (member visibility).
Route → decision table
no-member-sessionscopedworkspace-configown-dataowner-or-adminadmin-onlyadmin-when-restrictedrole-governedmcp-rolesFull route → decision table
GET /api/adaptersno-member-sessionGET /api/adapters/ranking/installsno-member-sessionGET /api/adapters/:slug/instructionsno-member-sessionGET /api/adapters/popular-connectorsscopedinstalledonly for connectors the member can seeGET /api/adapters/match-urlworkspace-configGET /api/adapters/starter-packscopedinstalledonly for connectors the member can see; plan usage countsPOST /api/adapters/starter-pack/installown-dataGET /api/adapters/:slugworkspace-configPOST /api/adapters/:slug/verifyowner-or-adminPOST /api/adapters/:slug/importown-dataPOST /api/setup-links/resolveown-dataPOST /api/setup-links/openno-member-sessionPOST /api/telegram/manager-webhookno-member-sessionPOST /api/tiktok-shop/installown-dataGET /api/admin/settings/alert-webhookadmin-onlyPUT /api/admin/settings/alert-webhookadmin-onlyDELETE /api/admin/settings/alert-webhookadmin-onlyPOST /api/admin/settings/alert-webhook/testadmin-onlyGET /api/audit/invocationsscopedGET /api/audit/statsscopedGET /api/audit/analyticsscopedGET /api/audit/tool-performancescopedGET /api/audit/breakdownsscopedPOST /api/product-eventsown-dataGET /api/auth/attribution/click-idsown-dataPOST /api/auth/login/recoveryno-member-sessionPOST /api/auth/loginno-member-sessionPOST /api/auth/registerno-member-sessionPOST /api/auth/verify-emailown-dataGET /api/auth/verify-email-linkno-member-sessionPOST /api/auth/resend-verificationown-dataPOST /api/auth/inviteadmin-onlyGET /api/auth/invite/verifyno-member-sessionPOST /api/auth/accept-inviteno-member-sessionPOST /api/auth/forgot-passwordno-member-sessionPOST /api/auth/reset-passwordno-member-sessionGET /api/auth/recovery-codesown-dataPOST /api/auth/recovery-codesown-dataGET /auth/loginno-member-sessionGET /auth/social/:provider/callbackno-member-sessionPOST /auth/loginno-member-sessionPOST /auth/verify-emailno-member-sessionPOST /auth/verify-email/resendno-member-sessionPOST /auth/verify-email/continueno-member-sessionPOST /auth/verify-email/social/:providerno-member-sessionPOST /auth/file-search/sessionno-member-sessionGET /auth/file-search/continueno-member-sessionPOST /auth/select-serversscopedPOST /auth/first-appno-member-sessionGET /auth/first-app/telegram/qr/:codeno-member-sessionPOST /auth/first-app/telegram/statusno-member-sessionPOST /auth/first-app/telegram/tokenno-member-sessionGET /api/auth/recent-sign-inno-member-sessionPOST /api/auth/recent-sign-inno-member-sessionDELETE /api/auth/recent-sign-inno-member-sessionPOST /api/auth/social/startno-member-sessionPOST /api/auth/social/exchangeno-member-sessionGET /api/auth/social/identitiesown-dataPOST /api/auth/social/link/:providerown-dataDELETE /api/auth/social/link/:providerown-dataGET /userinfoown-dataPOST /userinfoown-dataGET /api/connectorsscopedPOST /api/connectorsown-dataGET /api/connectors/proxy-availabilityworkspace-configGET /api/connectors/health-checkscopedGET /api/connectors/export-allscopedGET /api/connectors/:id/exportscopedGET /api/connectors/:idscopedGET /api/connectors/:id/webhook/urlscopedGET /api/connectors/:id/webhook/eventsscopedPUT /api/connectors/:idowner-or-adminGET /api/connectors/:id/oauth-configscopedPATCH /api/connectors/:id/credential-scopeowner-or-adminGET /api/connectors/:id/my-credentialscopedDELETE /api/connectors/:id/my-credentialscopedPATCH /api/connectors/:id/oauth-configowner-or-adminPATCH /api/connectors/:id/oauth1-configowner-or-adminDELETE /api/connectors/:idowner-or-adminPOST /api/connectors/:id/testscopedGET /api/connectors/oauth/redirect-uriworkspace-configPOST /api/connectors/:id/oauth/authorizescopedPOST /api/connectors/:id/discover-toolsowner-or-adminPOST /api/connectors/import-allown-dataPOST /api/connectors/importown-dataPOST /api/connectors/:id/import-specowner-or-adminPOST /api/connectors/:id/importowner-or-adminPUT /api/connectors/:id/env-varsowner-or-adminGET /api/connectors/:id/catalog-diffscopedPOST /api/connectors/:id/resync-catalogowner-or-adminGET /api/iop-auth/redirect-uriworkspace-configPOST /api/iop-auth/connectors/:id/authorizeowner-or-adminGET /api/iop-auth/callbackno-member-sessionPOST /api/iop-auth/completeown-dataPOST /api/mcp-oauth/callbackno-member-sessionGET /api/mcp-oauth/callbackno-member-sessionPOST /api/mcp-oauth/completeown-dataGET /auth/connect/completeno-member-sessionGET /auth/connect/:connectorIdno-member-sessionPOST /auth/connect/:connectorId/sso/:providerIdno-member-sessionPOST /auth/connect/:connectorId/connectno-member-sessionPOST /auth/connect/:connectorId/switchno-member-sessionGET /api/meta/platformworkspace-configPOST /api/meta/connectors/:id/authorizeowner-or-adminGET /api/meta/callbackno-member-sessionPOST /api/meta/completeown-dataGET /api/meta/connectors/:id/accountsowner-or-adminPOST /api/meta/connectors/:id/accountowner-or-adminGET /api/shein-auth/redirect-uriworkspace-configPOST /api/shein-auth/connectors/:id/authorizeowner-or-adminGET /api/shein-auth/callbackno-member-sessionPOST /api/shein-auth/completeown-dataPOST /api/shopee/connectors/:id/authorizeowner-or-adminGET /api/shopee/callback/:stateno-member-sessionPOST /api/shopee/completeown-dataGET /api/tiktok-shop/platformworkspace-configPOST /api/tiktok-shop/connectors/:id/authorizeowner-or-adminGET /api/tiktok-shop/callbackno-member-sessionPOST /api/tiktok-shop/completeown-dataGET /api/connectors/:connectorId/toolsscopedPOST /api/connectors/:connectorId/toolsowner-or-adminPOST /api/connectors/:connectorId/tools/bulkowner-or-adminPUT /api/connectors/:connectorId/tools/:toolIdowner-or-adminGET /api/connectors/:connectorId/tools/:toolId/annotationsscopedPATCH /api/connectors/:connectorId/tools/:toolId/annotationsowner-or-adminGET /api/connectors/:connectorId/tools/:toolId/response-mappingscopedPATCH /api/connectors/:connectorId/tools/:toolId/response-mappingowner-or-adminPOST /api/connectors/:connectorId/tools/:toolId/preview-mappingowner-or-adminPATCH /api/connectors/:connectorId/tools/:toolId/proxyowner-or-adminPOST /api/connectors/:connectorId/tools/:toolId/testowner-or-adminDELETE /api/connectors/:connectorId/tools/:toolIdowner-or-adminPOST /api/webhooks/:connectorIdno-member-sessionGET /api/woocommerce/one-clickown-dataPOST /api/woocommerce/connectors/:id/authorizeowner-or-adminPOST /api/woocommerce/callbackno-member-sessionGET /api/woocommerce/connectors/:id/one-click-statusown-dataPOST /api/cron/kg-discoveryno-member-sessionPOST /api/cron/onboarding-remindersno-member-sessionGET /api/learning/allowanceworkspace-configGET /api/learning/meown-dataPOST /api/learning/projects/:id/consentown-dataPOST /api/learning/projects/:id/withdrawown-dataGET /api/learning/projectsadmin-when-restrictedPOST /api/learning/projectsadmin-onlyGET /api/learning/projects/:idadmin-when-restrictedPATCH /api/learning/projects/:idadmin-onlyPOST /api/learning/projects/:id/pauseadmin-onlyPOST /api/learning/projects/:id/resumeadmin-onlyPOST /api/learning/projects/:id/endadmin-onlyDELETE /api/learning/projects/:idadmin-onlyGET /api/learning/projects/:id/lessonsadmin-when-restrictedPATCH /api/learning/lessons/:idadmin-when-restrictedPOST /api/learning/projects/:id/topicsadmin-onlyPATCH /api/learning/topics/:idadmin-onlyGET /api/learning/topics/:id/previewadmin-when-restrictedPOST /api/learning/topics/:id/publishadmin-when-restrictedGET /api/license/editionworkspace-configPOST /api/license/business-trialadmin-onlyGET /api/support/widgetown-dataPOST /api/support/webhookno-member-sessionPOST /api/support/desk-tools/connectorno-member-sessionGET /api/file-search/capabilitiesworkspace-configPOST /api/file-search/testadmin-onlyPOST /api/file-search/connectorsadmin-onlyGET /api/file-search/policyworkspace-configPUT /api/file-search/policyadmin-onlyGET /api/file-search/connectors/:idscopedPUT /api/file-search/connectors/:id/sourcescopedPOST /api/file-search/connectors/:id/scansscopedGET /api/file-search/connectors/:id/scans/:scanIdscopedDELETE /api/file-search/connectors/:id/scans/:scanIdscopedPOST /api/file-search/connectors/:id/scans/:scanId/describescopedPUT /api/file-search/connectors/:id/selectionscopedPOST /api/file-search/connectors/:id/activatescopedGET /api/file-search/connectors/:id/treescopedGET /api/file-search/connectors/:id/problemsscopedGET /api/file-search/connectors/:id/runsscopedPOST /api/file-search/connectors/:id/syncscopedPOST /api/file-search/connectors/:id/pausescopedPOST /api/file-search/connectors/:id/resumescopedPUT /api/file-search/connectors/:id/schedulescopedPUT /api/file-search/connectors/:id/descriptionscopedGET /api/file-search/connectors/:id/access-rulesscopedPUT /api/file-search/connectors/:id/access-rulesscopedGET /api/file-shareown-dataDELETE /api/file-share/:idowner-or-adminPOST /api/file-share/connectoradmin-onlyGET /api/file-share/s/:tokenno-member-sessionPOST /api/file-share/s/:token/downloadno-member-sessionPOST /api/file-share/s/:token/download-internalno-member-sessionGET /api/file-share/d/:signedno-member-sessionGET /api/file-share/limitsworkspace-configGET /api/uploads/u/:tokenno-member-sessionPUT /api/uploads/u/:tokenno-member-sessionPOST /api/uploads/u/:tokenno-member-sessionGET /api/uploads/f/:signed/:nameno-member-sessionGET /health/server-infono-member-sessionGET /healthno-member-sessionGET /health/sentry-verifyno-member-sessionGET /api/versionworkspace-configGET /api/identity-providersadmin-onlyGET /api/identity-providers/:idadmin-onlyPOST /api/identity-providersadmin-onlyPUT /api/identity-providers/:idadmin-onlyDELETE /api/identity-providers/:idadmin-onlyGET /api/identity-providers/:id/role-mappingsadmin-onlyPUT /api/identity-providers/:id/role-mappingsadmin-onlyPUT /api/identity-providers/:id/enforce-ssoadmin-onlyPOST /api/identity-providers/:id/resync-rolesadmin-onlyGET /api/identity-providers/:id/scimadmin-onlyPUT /api/identity-providers/:id/scimadmin-onlyPOST /api/identity-providers/:id/scim/rotateadmin-onlyDELETE /api/identity-providers/:id/scimadmin-onlyPOST /api/identity-providers/:id/testadmin-onlyGET /api/scim/v2/ServiceProviderConfigno-member-sessionGET /api/scim/v2/ResourceTypesno-member-sessionGET /api/scim/v2/ResourceTypes/:nameno-member-sessionGET /api/scim/v2/Schemasno-member-sessionGET /api/scim/v2/Schemas/:urino-member-sessionGET /api/scim/v2/Usersno-member-sessionGET /api/scim/v2/Users/:idno-member-sessionPOST /api/scim/v2/Usersno-member-sessionPUT /api/scim/v2/Users/:idno-member-sessionPATCH /api/scim/v2/Users/:idno-member-sessionDELETE /api/scim/v2/Users/:idno-member-sessionGET /api/scim/v2/Groupsno-member-sessionGET /api/scim/v2/Groups/:idno-member-sessionPOST /api/scim/v2/Groupsno-member-sessionPUT /api/scim/v2/Groups/:idno-member-sessionPATCH /api/scim/v2/Groups/:idno-member-sessionDELETE /api/scim/v2/Groups/:idno-member-sessionGET /sso/:initiateIdno-member-sessionGET /auth/sso/callbackno-member-sessionPOST /api/auth/sso/link/:providerIdown-dataDELETE /api/auth/sso/link/:providerIdown-dataGET /api/auth/sso/providersworkspace-configPOST /api/auth/sso/exchangeno-member-sessionGET /api/knowledge-foldersrole-governedPOST /api/knowledge-foldersrole-governedPATCH /api/knowledge-folders/:idrole-governedDELETE /api/knowledge-folders/:idrole-governedPUT /api/knowledge-folders/:id/rolesadmin-onlyPOST /api/knowledge-folders/moverole-governedGET /api/knowledge-graphadmin-when-restrictedGET /api/knowledge-graph/statsrole-governedGET /api/knowledge-graph/settingsrole-governedPUT /api/knowledge-graph/settingsadmin-onlyPOST /api/knowledge-graph/enrichadmin-onlyGET /api/knowledge-graph/skillsadmin-when-restrictedPOST /api/knowledge-graph/skillsadmin-onlyPOST /api/knowledge-graph/skills/generateadmin-onlyPOST /api/knowledge-graph/skills/propose-from-errorsadmin-onlyPOST /api/knowledge-graph/skills/consolidateadmin-onlyPOST /api/knowledge-graph/skills/:id/applyadmin-onlyPOST /api/knowledge-graph/skills/:id/dismissadmin-onlyPATCH /api/knowledge-graph/skills/:idadmin-onlyGET /api/knowledge-graph/skills/:id/versionsadmin-when-restrictedGET /api/knowledge-graph/learning/meown-dataPUT /api/knowledge-graph/learning/meown-dataPUT /api/knowledge-graph/learning/membersadmin-onlyDELETE /api/knowledge-graph/skills/:idadmin-onlyPOST /api/knowledge-graph/rebuildadmin-onlyPOST /api/knowledge-graph/nodesadmin-onlyPOST /api/knowledge-graph/edgesadmin-onlyPATCH /api/knowledge-graph/edges/:idadmin-onlyDELETE /api/knowledge-graph/edges/:idadmin-onlyPATCH /api/knowledge-graph/nodes/:idadmin-onlyDELETE /api/knowledge-graph/nodes/:idadmin-onlyGET /api/memory/statusrole-governedGET /api/memory/itemsrole-governedPOST /api/memory/itemsrole-governedPATCH /api/memory/items/:idrole-governedDELETE /api/memory/items/:idrole-governedPOST /api/memory/items/:id/approverole-governedPOST /api/memory/items/:id/rejectrole-governedPUT /api/memory/settingsadmin-onlyPUT /api/memory/members/accessadmin-onlyDELETE /api/memory/members/:userId/personaladmin-onlyGET /api/license/statusworkspace-configPOST /api/license/refreshadmin-onlyPOST /api/license/syncno-member-sessionGET /api/license/instance-idworkspace-configGET /api/license/usageworkspace-configPUT /api/license/keyadmin-onlyPOST /api/license/billing-portaladmin-onlyGET /api/license/invoice-emailadmin-onlyPUT /api/license/invoice-emailadmin-onlyPOST /api/license/dpa-linkadmin-onlyPOST /api/license/checkout-linkadmin-onlyGET /api/license/pricing-link-tokenown-dataGET /api/license/card-trial-eligibilityadmin-onlyGET /api/license/card-trial-offerworkspace-configGET /api/license/plan-fitadmin-when-restrictedGET /api/license/walladmin-onlyPOST /api/license/verifyadmin-onlyPOST /api/license/activate-trialworkspace-configPOST /api/license/register-communityadmin-onlyGET /api/license/reactivate/:tokenno-member-sessionPOST /api/license/reactivate/:token/checkoutno-member-sessionPOST /api/license/reactivate/:token/eventno-member-sessionGET /api/license/extendno-member-sessionPOST /api/license/extendno-member-sessionPOST /mcpmcp-rolesGET /mcpmcp-rolesDELETE /mcpmcp-rolesPOST /mcp/chatgpt-appmcp-rolesGET /mcp/chatgpt-appmcp-rolesDELETE /mcp/chatgpt-appmcp-rolesPOST /mcp/file-searchmcp-rolesGET /mcp/file-searchmcp-rolesDELETE /mcp/file-searchmcp-rolesPOST /mcp/demomcp-rolesGET /mcp/demomcp-rolesPOST /mcp/:serverIdmcp-rolesGET /mcp/:serverIdmcp-rolesDELETE /mcp/:serverIdmcp-rolesPOST /internal/registry/catch-upno-member-sessionGET /.well-known/openai-apps-challengeno-member-sessionGET /.well-known/openid-configurationno-member-sessionGET /.well-known/openid-configuration/mcp/:serverIdno-member-sessionGET /.well-known/oauth-authorization-server/mcp/:serverIdno-member-sessionGET /.well-known/oauth-protected-resource/mcpno-member-sessionGET /.well-known/oauth-protected-resource/mcp/:serverIdno-member-sessionGET /api/mcp-connectionsown-dataGET /api/mcp-connections/targetsscopedPUT /api/mcp-connections/:clientIdscopedDELETE /api/mcp-connections/:clientIdown-dataGET /api/mcp-serversscopedPOST /api/mcp-serversown-dataGET /api/mcp-servers/:idscopedGET /api/mcp-servers/:id/activityscopedPUT /api/mcp-servers/:idscopedDELETE /api/mcp-servers/:idscopedPUT /api/mcp-servers/:id/connectorsscopedGET /api/organizations/mineown-dataGET /api/organizations/currentworkspace-configPUT /api/organizations/currentadmin-onlyDELETE /api/organizations/currentadmin-onlyPOST /api/organizations/current/revoke-sessionsadmin-onlyPOST /api/organizations/switchown-dataPOST /api/organizationsown-dataGET /api/public/statsno-member-sessionGET /api/mcp-keysscopedPOST /api/mcp-keysscopedPOST /api/mcp-keys/:id/revokeown-dataDELETE /api/mcp-keys/:idown-dataGET /api/rolesadmin-onlyPOST /api/rolesadmin-onlyGET /api/roles/:idadmin-onlyPUT /api/roles/:idadmin-onlyDELETE /api/roles/:idadmin-onlyGET /api/roles/:id/toolsadmin-onlyPUT /api/roles/:id/toolsadmin-onlyPUT /api/roles/:id/tools/:toolId/rate-limitadmin-onlyPUT /api/roles/assign/:userIdadmin-onlyGET /api/roles/assignments/:userIdadmin-onlyPUT /api/roles/assignments/:userIdadmin-onlyGET /api/settings/member-visibilityown-dataPUT /api/admin/settings/member-visibilityadmin-onlyGET /api/site-settings/footer-linksno-member-sessionGET /api/settings/footer-linksworkspace-configGET /api/admin/settings/smtpadmin-onlyPUT /api/admin/settings/smtpadmin-onlyDELETE /api/admin/settings/smtpadmin-onlyPOST /api/admin/settings/smtp/testadmin-onlyGET /api/admin/settings/footer-linksadmin-onlyPUT /api/admin/settings/footer-linksadmin-onlyGET /api/admin/settings/ssrf-allowed-hostsadmin-onlyPUT /api/admin/settings/ssrf-allowed-hostsadmin-onlyGET /api/public/unsubscribeno-member-sessionPOST /api/public/unsubscribeno-member-sessionGET /api/users/meown-dataGET /api/users/me/onboarding-stateown-dataPATCH /api/users/me/onboarding-stateown-dataPUT /api/users/meown-dataDELETE /api/users/meown-dataPUT /api/users/me/passwordown-dataGET /api/usersadmin-onlyGET /api/users/invitationsadmin-onlyDELETE /api/users/invitations/:idadmin-onlyPUT /api/users/:id/roleadmin-onlyPOST /api/users/:id/revoke-sessionsadmin-onlyPOST /api/users/:id/deactivateadmin-onlyPOST /api/users/:id/reactivateadmin-onlyDELETE /api/users/:idadmin-only