Skip to content

MCP gateway quickstart

The gateway proxies an MCP server you already run. The agent never learns that server’s URL or credential. Reads are tokenized. Writes that quote the same tokens are restored in flight.

Open app.maskdoor.com and create an account. Generate an API key. The workspace button mints a key that includes proxy:mcp. The prefix is mp_live_. Store it once.

In the workspace, add the real MCP server URL and its authorization header. That secret is encrypted at rest and decrypted only while a request is routed. The agent will not see it.

Discover tools after the upstream is saved. A newly discovered tool starts enabled. Turn a tool off before an agent can call it. A disabled tool is omitted from tools/list, and a tools/call is refused before the upstream sees it.

Inbound masking and outbound restoration are on by default. Leave them on unless you are proving a path that must see raw fields.

You receive an isolated URL:

https://mcp.maskdoor.com/v1/mcp/gateway/your-gateway-id
{
"mcpServers": {
"crm-protected": {
"url": "https://mcp.maskdoor.com/v1/mcp/gateway/your-gateway-id",
"headers": {
"Authorization": "Bearer mp_live_..."
}
}
}
}

Do not leave the HubSpot or database URL in this file.

A tools/call for a read should return tokens where the upstream returned personal data. A later write that quotes those tokens is restored before it hits the upstream. If the key is revoked, the next call is 401. A suspended workspace is 403.

Both the gateway and the native server speak Streamable HTTP (POST, GET, DELETE). Send Accept: application/json, text/event-stream.

The free plan includes 1 gateway and 500 MCP calls a month. Higher allowances are in Plans.