Skip to content
AI GatewayAI Gateway Manual

Connect MCP Servers

How AI users check the Remote MCP servers allowed in a project and connect them with their own account.

This guide explains how an AI user checks the Remote MCP servers an administrator has allowed in a project and connects them with their own account. To register servers and allow them in a project, see Register MCP servers and Allow MCP tools in projects.

Using MCP tools from a client takes these guides, in order:

  1. Connect MCP servers (this guide)
  2. Create MCP toolsets (optional): bundle tools from several servers behind one endpoint.
  3. Connect MCP clients: issue a Gateway Key and register the endpoint in Claude Code, Codex, Cursor, or another client.

If a client shows an error, see MCP troubleshooting.

  • An organization administrator must assign you a seat. Without one, you see only the Waiting for license activation page instead of the console after signing in.
  • You need the ai-user role in the project you want to use. With no project permission at all, MCP Catalog shows “You can’t access the MCP catalog”. With only project administrator (project-admin) or audit-viewer role, the catalog is visible but shows “View only. Connecting this server requires the ai-user role in this project.”, and you cannot connect servers, open client setup, or create toolsets. In either case, ask an administrator for the role.
  • An administrator must have allowed MCP tools in that project. If no tools are allowed, you see “No MCP servers available”.

All of the steps below happen in the top menu after you open the project.

MenuWhat you do there
MCP CatalogSee available servers, connect OAuth, save API keys, create toolsets, view client setup
Gateway KeysIssue the key clients use to authenticate to the Gateway

MCP Catalog lists the servers you can use in this project and the toolsets you created. Each server row shows the server description, the auth mode and tool count on one line (such as OAuth · Tools: N), and the gateway endpoint. The row shows at most two lines of the description, and a server without one starts with the auth mode line. Select a server name to open the full description and the list of tools you can use in this project.

Only tools the administrator allowed appear. Tools the server has but that are not allowed are not listed and cannot be called.

Select a server name to open the tool list. In Search tools, enter part of a tool name or description. If nothing matches, the list shows “No tools match your search.” Search runs only within this demo and does not navigate or make network requests.

Interactive demo · Allowed MCP tools
Loading interactive demo…

Servers whose auth mode is OAuth must be connected once with your own account. For Per-user API Key servers, follow Save a per-user API key below. No authentication and Shared API Key servers show Connected from the start, so skip this step for them.

  1. Select Connect OAuth in the server row.
  2. When the provider’s sign-in page opens in a popup, sign in and approve access. If the popup is blocked, allow popups in your browser and select Retry, or select Continue in this tab.
  3. When “Authorization complete” appears, close the popup. The server’s status in the catalog changes to Connected.

If the server still shows Awaiting approval after you close the popup, select Stop in the server row. The wait ends immediately. If the connection did not complete, select Retry.

Connections are per project. To use the same server in another project, connect it again from that project’s catalog.

If the status changes to Reauthorization required, select Reconnect OAuth. This happens when the administrator replaced the OAuth client or the connection expired on the provider side. To disconnect, select the disconnect icon (Disconnect OAuth) in the server row, then Confirm disconnect.

Servers whose auth mode is Per-user API Key need your own upstream API key.

  1. Select Add API key in the server row.
  2. Enter only the key in the API key field and select Save. Do not add a prefix such as Bearer . The administrator has set the header and prefix used to send the key.
  3. AI Gateway connects to the server with that key and reads its tool list, then saves the key. The server’s status changes to Connected.

If the key cannot be saved, the dialog keeps the key you typed and shows why.

MessageMeaning and what to do
The server did not accept this keyThe server refused the key. Check that the key is correct and has not expired, then save again
The server could not be reached to check this keyThe server did not answer or returned an error. The key was not saved; save again later

In both cases a key you saved earlier stays in place. A server that checks keys only when a tool is called can accept a wrong key here, so if tool calls fail with Upstream authentication failed., check the key again.

The key is not shown again after you save it. To change it, select the key icon (Replace API key) in the server row. To delete it, select the trash icon (Remove API key) and then Confirm removal. Keys are saved per project, so to use the same server in another project, save the key again from that project’s catalog.