MCP Gateways are the MCP endpoints you expose to clients such as Cursor, Claude Desktop, Open WebUI, and custom agents. Each gateway presents a curated set of tools through one MCP endpoint, so clients do not need to connect to every MCP server directly. Use separate gateways when different clients, teams, or environments need different tool sets or authentication rules — for example, one gateway for developer tools scoped to an engineering team, and another for support tools used by a customer operations agent.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/archestra-ai/archestra/llms.txt
Use this file to discover all available pages before exploring further.
Gateway Model
A gateway is a named MCP surface with its own visibility, authentication settings, and assigned tools. The same installed MCP server can appear behind multiple gateways, but each gateway independently controls which clients can reach it and which tools are exposed. Create or edit gateways from MCPs > Gateways. A usable gateway requires:- At least one assigned tool
- A supported client authentication path
- Visibility that matches the users or teams that should call it
Creating a Gateway
Open the Gateway Dialog
Navigate to MCPs > Gateways and click New Gateway. Give the gateway a name and set its visibility scope (personal, team, or org).
Assign Tools
Add tool assignments from installed MCP server connections. Each assignment can be pinned to a specific installed connection or set to Resolve at call time to use the caller’s own credential.
Configure Authentication
Choose the client authentication method — OAuth 2.1, ID-JAG, Identity Provider JWKS, or Bearer Token. See the Authentication section below for details on each path.
Tool Assignment
Each gateway tool assignment is explicit — an admin picks every tool the gateway exposes. Assignments can be:- Pinned to a specific installed connection — useful when a gateway should always use a shared service-account credential for a tool, or when different clients need different subsets of the same server.
- Resolve at call time — useful when the gateway should use the caller’s own GitHub, Jira, or other upstream credential instead of a shared connection.
If a gateway is scoped to one team, members outside that team cannot use it even if the underlying MCP server exists in the registry. This lets admins approve MCP servers centrally while still exposing different tool sets to different teams or clients.
Authentication
Gateway authentication and upstream MCP server authentication are separate concerns. The client authenticates to Archestra first. When a tool runs, Archestra resolves the credential needed by that specific upstream MCP server. MCP Gateways support four client authentication paths:- OAuth 2.1
- ID-JAG
- JWKS
- Bearer Token
MCP-native clients such as Claude Desktop, Cursor, Copilot CLI, and Open WebUI authenticate automatically using the MCP Authorization spec. The gateway acts as both the resource server and the authorization server.Supported flows and registration methods:
- Authorization Code + PKCE — standard browser-based flow with user consent
- DCR (RFC 7591) — clients register dynamically by posting metadata to
POST /api/auth/oauth2/register - CIMD — clients use an HTTPS URL as their
client_id; the gateway fetches the client metadata document without a separate registration step
/.well-known/oauth-protected-resource/.well-known/oauth-authorization-server
Access Control
Gateway access depends on both the caller and the gateway configuration. A user must be allowed to see the MCP Gateway — usually through organization visibility or team membership — and the gateway must have the specific tool assigned to it. If a gateway is scoped to one team, members outside that team cannot use it even if the underlying MCP server exists in the registry. This lets admins approve MCP servers centrally while still exposing different tool sets to different teams or clients.Load Tools When Needed
By default, a gateway exposes every assigned tool through MCPtools/list. For larger toolsets, enable Load tools when needed in the gateway dialog. This keeps the initial tool list small by surfacing only two built-in tools first:
search_tools— searches available tools on demand by natural-language queryrun_tool— dispatches to any tool available to the gateway, including third-party MCP tools
search_tools can discover them and run_tool can execute them.
Connecting Clients
Use the Connect button on the gateway to get the endpoint URL and transport-specific instructions for your client. Both SSE and StreamableHTTP transports are supported.- Claude Desktop
- Cursor
- Open WebUI
- Custom Agents
Add the gateway to your
claude_desktop_config.json using the connection details from the Connect dialog. Claude Desktop supports OAuth 2.1 and will prompt for authorization automatically.