MetorialDocs

One MCP gateway URL for every employee, or one URL per server?

Give every employee the portal Magic MCP URL and let sign-in decide the tools. Use a per-server URL only for one client or job that needs one app.

Give every employee one URL: your portal's Magic MCP URL. It is the same address for everyone, and each person's sign-in decides which tools are behind it. Use a per-server URL only when a client or job should reach a single integration.

What you'll learn

  • Which URL to hand out
  • When a per-server URL fits better
  • Where to find both URLs

Before you start

When each option fits

One portal URLOne URL per server
What it reachesEvery integration the signed-in person may use and selected at sign-inOne Magic MCP server
Who it suitsEmployees in Claude, ChatGPT, Cursor, Claude Code, CodexA script, a single-purpose agent, or a client that should see one app
Sign-inOAuth through your identity providerOAuth, or a token for unattended use
What you maintainOne entry per client, unchanged when you add integrationsOne entry per server in each client

With one URL, access changes happen in Metorial. Share a new integration with a group and its members get it without touching their client config.

Hand out the portal URL

Get the URL

The portal home page shows it on the Magic MCP URL card. From the CLI, it is the magic_mcp_url field:

metorial-admin portals list
metorial-admin portals get <portal-id>

Add it to a client

Add the URL as a remote HTTP MCP server. In Claude Code:

claude mcp add --transport http metorial <your-magic-mcp-url>

Sign in

The client opens Metorial's consent screen. The person picks the integrations this client may use and, under Tool Access, every tool or specific tools.

Use a per-server URL

Each Magic MCP server has its own URL, the url of its endpoint:

metorial-admin magic-mcp servers list --search github
metorial-admin magic-mcp servers get <server-id>

A person can put one of their own integrations into a local client with the metorial CLI. metorial client list prints the client identifiers.

metorial list
metorial client list
metorial install <client-identifier> <integration-id>

For jobs with no person present, see CI and scheduled jobs.

Troubleshooting

"A server- or endpoint-specific portal route is required unless you use a target-linked magic MCP token"

A token that is not linked to one server was sent to the portal URL. Use the server's URL with that token, or sign in to the portal URL with OAuth.

"Missing access token. Please provide a valid token in the "Authorization" header or as a "token" query parameter."

The client called the URL without signing in. Start the client's OAuth sign-in. In Claude Code, run /mcp and select the server.

Next steps