> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# When you don't need an MCP gateway, and when you do
URL: https://metorial.com/docs/platform/guides/when-you-dont-need-an-mcp-gateway

A small team with one AI client, one or two MCP servers and no audit requirement can add the servers directly. Add a gateway when access or logs must be shared.

---

You don't need an MCP gateway when a few people use one AI client with one or two MCP servers, each person signs in to those servers with their own account, and nobody has to prove later who called which tool. Add the servers directly in the client. A gateway pays off when the same tools must reach several clients or teams, when access has to follow your identity provider, or when you need one log of every tool call.

**What you'll learn**

* The signs that direct setup is enough
* How to add a server directly
* How to move to a gateway later

## Direct setup or gateway

| Question                     | Direct setup is enough                | A gateway helps                                    |
| ---------------------------- | ------------------------------------- | -------------------------------------------------- |
| How many people?             | A handful who manage their own config | More than you can check laptop by laptop           |
| How many AI clients?         | One                                   | Two or more                                        |
| How many MCP servers?        | One or two                            | Several, or a mix of vendor and internal servers   |
| How do servers authenticate? | OAuth sign-in per person              | Some need API keys or shared accounts              |
| Who decides access?          | Each person                           | Directory groups                                   |
| Offboarding                  | You remove the person from each app   | Access ends when the directory account is disabled |
| Audit trail                  | Not needed                            | Needed for security reviews or SOC 2               |

## Add a server directly

Most vendor-hosted MCP servers work with a remote URL and OAuth. In Claude Code:

```bash
claude mcp add --transport http <server-name> <server-url>
```

In Cursor, add it to `~/.cursor/mcp.json`, or to `.cursor/mcp.json` for one project:

```json
{
  "mcpServers": {
    "<server-name>": {
      "url": "<server-url>"
    }
  }
}
```

Keep to servers that sign each person in with OAuth. API tokens pasted into config files end up in repositories and backups.

## Signs you have outgrown it

* The same API key sits in several people's config files.
* You cannot say which MCP servers are in use across the company.
* A teammate left and you are not sure their tokens were removed.
* A security questionnaire asks for a log of agent actions.
* Non-engineers want the tools in Claude or ChatGPT that engineers have in their editors.

If an agent deleted something yesterday, you should be able to find out which person's agent did it and with which arguments. If the app's own audit log tells you that, direct setup still works.

## Move to a gateway later

### 1. List what people use

Collect the servers from `~/.cursor/mcp.json`, project `.mcp.json` files, `~/.codex/config.toml` and Claude Code's user settings.

### 2. Create a portal and a group

```bash
npm install -g @metorial/admin
metorial-admin login
metorial-admin portals create --name "Acme AI tools"
metorial-admin portals groups create <portal-id> --name Pilot
```

### 3. Bring the servers in

In the dashboard, use a catalog integration where one exists. For a vendor-hosted server, open **Integrations**, **Custom Providers**, **Remote MCP Servers**, and select **Link Remote MCP Server**. Share each one with the group under **Access**, **Shared Resources** in the portal.

### 4. Replace the entries with one URL

Each person removes the direct entries and adds the portal's Magic MCP URL:

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

## Next steps

* [Roll out MCP to a whole company](https://metorial.com/docs/platform/guides/roll-out-mcp-to-your-company): the full path from pilot to everyone
* [Native connectors or a gateway](https://metorial.com/docs/platform/guides/native-connectors-or-mcp-gateway): when the client's own connectors are enough
* [Pricing](https://metorial.com/pricing): plans for the hosted platform