Connect to the MCP Gateway

Give your MCP clients one address for your organization, and put your MCP servers behind it

The MCP Gateway is one MCP address for your whole organization. Your MCP clients (Claude Desktop, Cursor and others) connect to that address. The gateway forwards each tool call to the MCP servers your organization has connected, and records the call.

This page takes you from a new organization to a first tool call in the dashboard.

This is not the edge Gateway, the DNS-based layer that sits in front of your website. For that, see Gateway.

Before you start

  • A KYA account and an organization. The gateway is created with the organization, so there is nothing to deploy.
  • An MCP client. The dashboard has an install flow for Claude Desktop, Cursor, Windsurf, VS Code and ChatGPT.
  • To connect a server: the owner or admin role in the organization, and an MCP server on a public address. Private and reserved addresses are refused.

Your gateway address

Every organization has one address:

https://gateway.knowthat.ai/api/gateway/<your-org>/mcp

<your-org> is your organization's slug. You do not need to build the address by hand: open Connections in the dashboard and copy it from the line labelled endpoint.

The gateway speaks MCP over HTTP POST with JSON (Streamable HTTP). It does not serve the older SSE transport.

Step 1: Check your gateway

Open Connections. The status beside the page title reads one of:

StatusWhat it means
LiveThe gateway is on and ready.
OffThe gateway is switched off. Turn it on with the toggle beside the status.
Setup neededThe gateway is not fully configured. Email support.
Status unavailableThe page could not read the gateway's state. Reload the page, and email support if it stays.

Step 2: Connect a client

On Connections, the row labelled install in has one button per client. Pick yours.

ClientWhat the dialog does
Claude DesktopDownload extension saves a .mcpb file named after your organization. Open it with Claude Desktop.
CursorOpen Cursor opens a link that adds the gateway to Cursor.
WindsurfOpen Windsurf opens a link that adds the gateway to Windsurf.
VS CodeOpen VS Code opens a link that adds the gateway to VS Code.
ChatGPTShows the connection details to copy. Add an MCP server in ChatGPT and give it your gateway address.

Any member of the organization can fetch these install configs.

Add it by hand

If the button does not open your client, open Manual install: paste the config in the same dialog and copy what it shows. These are the same configs, with your address in place of the example.

Add this to your Claude Desktop MCP config. It runs the mcp-remote bridge, so it needs Node.js on your machine.

{
  "mcpServers": {
    "checkpoint": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://gateway.knowthat.ai/api/gateway/your-org/mcp"]
    }
  }
}

Sign in

The first time your client connects, the gateway answers 401 and points the client to your organization's sign-in server. The client sends you there, you sign in with your KYA account, KYA checks that you belong to the organization, and the client gets its own token. A KYA account that is not a member of the organization is refused.

An organization set up for merchant sign-in works differently: its customers sign in on the consent page.

The sign-in server follows OAuth 2.1. See Gateway OAuth 2.1 for its addresses and rules.

Step 3: Connect a server

This step needs the owner or admin role.

On Connections, choose Connect a server. The dialog has two tabs.

Marketplace lists MCP servers from the Know That AI registry. Choose + Add on one to connect it.

Add by URL connects any MCP server you can reach:

  1. Give it a Name and its Server URL.

  2. Choose Discover. KYA asks the server for its tools and lists them. If it cannot, you see "Couldn't reach that server. It may need credentials, or the URL is wrong."

  3. Pick how the gateway reaches the server, under Access:

    AccessUse it when
    OpenThe server needs no credentials.
    Requires credentialsEach member uses their own account. Pick an OAuth provider, or pick No OAuth (paste a token) and name the secrets members paste tokens into.
    Static headersOne shared credential. Enter a JSON object of headers, and the gateway sends them on every call it forwards.
  4. Under Advanced, pick the server's Transport: HTTP (streamable) or SSE.

  5. Choose Connect server.

The OAuth providers the form offers are GitHub, Slack, Notion, Linear, Google and Atlassian. GitHub Connections walks through the GitHub one.

A provider works only once its OAuth app is set up for your KYA deployment. If it is not, the connect step answers provider_not_configured. Email support if you see it.

Step 4: Invite your team

This step is optional. Invite your teammates to the organization. Each one connects their own client as in step 2 and signs in as themselves. For a server that requires credentials, each member connects their own account or pastes their own token.

Confirm it worked

Ask your client to use a tool from a server you connected. Then open Connections and scroll to Operational call log. Each tool call is one row:

ColumnWhat it shows
timeWhen the call was made
clientThe MCP client that made it
toolThe tool that was called
userThe member who was signed in
serverThe connected server that answered
statussuccess, error, denied or timeout
latencyHow long the call took

Until the first call arrives the log reads "No tool calls recorded yet."

If it does not work

What you seeWhyWhat to do
401, "Authorization header is required"The client sent no token.Let the client finish the sign-in. The client must support OAuth sign-in.
405 Method Not AllowedThe client tried the SSE transport, which opens with a GET.Set the client's transport to HTTP. In the configs above that is "type": "http".
406The client asked for something other than JSON.Use a client that speaks Streamable HTTP with JSON.
You are refused at sign-inYour KYA account is not a member of the organization.Ask an owner or admin to invite you.
"Admin access required"Connecting a server needs the owner or admin role.Ask an owner or admin to connect it.
"Enter a valid public https URL."The address is malformed, or it points to a private or reserved address.Use the server's public address.
provider_not_configuredThat OAuth provider is not set up for your KYA deployment.Email support.

Next steps