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
- A portal with at least one shared integration
- For the CLI steps, install
metorial-adminand sign in
When each option fits
| One portal URL | One URL per server | |
|---|---|---|
| What it reaches | Every integration the signed-in person may use and selected at sign-in | One Magic MCP server |
| Who it suits | Employees in Claude, ChatGPT, Cursor, Claude Code, Codex | A script, a single-purpose agent, or a client that should see one app |
| Sign-in | OAuth through your identity provider | OAuth, or a token for unattended use |
| What you maintain | One entry per client, unchanged when you add integrations | One 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:
Add it to a client
Add the URL as a remote HTTP MCP server. In Claude Code:
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:
A person can put one of their own integrations into a local client with the metorial CLI. metorial client list prints the client identifiers.
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
- Supported clients: where to paste the URL in each AI client
- Different tools for different teams: one URL, different access per group
- Limit which tools an agent sees: keep the tool list short per client