AI Gateway

MCP servers

Register backend MCP servers, configure authentication, and monitor health status.

Overview

The Servers page is where you register the backend MCP servers that your agents call through the gateway. Each server exposes one or more tools (database queries, search, file operations and so on) that agents can discover and invoke.

You'll find it at AI Gateway > Agent Control > MCP Servers.

Server list

The main view shows all registered servers as a list. Each row displays:

  • Server name: The display name you gave the server.
  • Health status: A color-coded chip: green for "Healthy", red for "Unhealthy" or gray for "Unknown".
  • Tool count: How many of this server's tools are currently available. Tools the server no longer offers aren't counted.
  • URL: The server's address.
  • Auth type: Shows "no auth", "bearer" or "api_key".
  • Slug: The URL-safe identifier, shown as a path segment (e.g., /my-server).
  • Created by: The user who registered the server and the date.

Click any row to open the edit modal. Use the toggle on the right to enable or disable a server without deleting it.

Adding a server

Click Add server in the top-right corner. The modal has these fields:

FieldRequiredDescription
Server nameYesA human-readable name (e.g., "Production Search Server").
SlugYesAuto-generated from the name. Lowercase letters, digits and hyphens only. Must start with a letter or digit. Can't be changed after creation.
URLYesThe full address of the MCP server (e.g., https://mcp-server.example.com). It must start with http or https and can't contain a username or password. Cloud metadata addresses (169.254.169.254) and 0.0.0.0 are blocked. Private network addresses are allowed.
DescriptionNoA short note about what this server does (e.g., "Exposes search and retrieval tools").
AuthenticationNoHow the gateway authenticates with this server. Options: None (default), Bearer token or API key. OAuth isn't supported yet.

Authentication options

The gateway supports three authentication methods when connecting to your backend MCP servers. OAuth isn't supported yet. The gateway connects over Streamable HTTP and uses tools only (not resources or prompts).

  • None: No authentication header is sent. Use this for servers on a private network or behind a VPN.
  • Bearer token: The gateway sends an Authorization: Bearer <token> header with each request. Enter the token in the modal.
  • API key: The gateway sends a custom header with an API key value. You choose the header name (defaults to X-API-Key) and enter the key value.
Auth credentials are stored encrypted
Bearer tokens and API keys are encrypted at rest and only decrypted when the gateway contacts the server. After saving, Admins see only a masked hint of the credential, never the full value.

Editing a server

Click a server row or the pencil icon to open the edit modal. You can change the name, address, description and authentication. The slug can't be changed after creation because agent keys and audit logs reference it.

To update auth credentials, select the auth type and enter new values. Leave the credential field blank to keep the existing credential.

Enabling and disabling servers

Each server has an active/inactive toggle. When you disable a server:

  • Its tools stop appearing in tools/list responses to agents.
  • Any tools/call requests targeting its tools are rejected.
  • The server's configuration is preserved. Toggle it back on at any time.

The admin MCP Tools page still lists tools from a disabled server. This helps during maintenance windows, or when you need to quickly cut off access to a server without deleting it. Switching a server back on runs tool discovery again.

Server health

The health chip next to the server name shows the result of the last tool discovery. It has one of three states:

  • Healthy: (green) The last tool discovery succeeded.
  • Unhealthy: (red) The last tool discovery failed. Hover over the chip to see why.
  • Unknown: (gray) No tool discovery has run yet.

Health only changes when tool discovery runs. There are no periodic health checks yet. Unhealthy servers aren't bypassed, so requests to them are still attempted and will likely fail. You can disable an unhealthy server manually.

Tool discovery

The gateway discovers a server's tools by connecting to it, listing its tools and storing them in the tool catalog. Discovery runs while you save, in these cases:

  • You create a server.
  • You edit a server's address, authentication type or credentials.
  • You switch a server on.

Discovery during save has a 10-second limit. The server is always saved, even if discovery fails.

Admins can also click Discover tools on a server to run discovery again. This has a 25-second limit.

Each run shows its result: how many tools were found, that the server offered no tools, or the reason it failed.

If a server stops offering a tool, the tool is deactivated on the next discovery. Its risk level and approval settings are kept, so they apply again if the tool comes back.

Deleting a server

Click the trash icon on a server row to open the delete confirmation modal. Deleting a server:

  • Permanently removes the server and all its registered tools from the catalog.
  • Agents referencing those tools will receive errors on their next call.
  • Existing audit log entries for tools from this server are preserved.
This can't be undone
Deleting a server removes it permanently. If you just want to stop routing traffic, disable the server with the toggle instead.

Slug format rules

Slugs must follow these rules:

  • Start with a lowercase letter or digit.
  • Contain only lowercase letters, digits and hyphens.
  • Be unique across all servers in your organization.
  • Can't be changed after the server is created.

The slug is auto-generated from the server name when you create a new server. For example, "Production Search Server" becomes production-search-server.

Permissions

Creating, editing and deleting servers requires the Admin role. All authenticated users can view the server list.

PreviousAgent Control overview
NextMCP tool catalog
MCP servers - AI Gateway - VerifyWise User Guide