Skip to main content
This path takes one upstream MCP server to one gateway and one client. The same steps apply to an OpenAPI server, which has no sync step.

Before you start

  • An upstream MCP endpoint over HTTP or SSE, an OpenAPI document, or an MCP Provider. MCP Providers are preconfigured connections such as Slack, Linear, Notion, or GitHub, so you do not need to host an HTTP server yourself. See the full provider list.
  • The credentials that endpoint needs, if any.
  • The client you will connect: Claude Code, Cursor, Codex, VS Code, Claude Desktop, or another MCP-compatible client.
  • A workspace role that can create MCP Servers and MCP Gateways, such as Admin, or an API key with write access to both.

Walkthrough

1

Add an MCP Server

  • Open AI Gateway > MCP Portal > MCP Servers.
  • Select Add an MCP server.
  • Choose an MCP Provider, an MCP URL, or OpenAPI.
  • Set the Key, Connection, and Authentication.
  • Save the server.
Create server page with OpenAPI and MCP URL cards and a catalog of MCP Providers.

Create page with OpenAPI, MCP URL, and MCP Provider options.

2

Sync the server

  • MCP URL from the console: syncs when you save.
  • Per-user OAuth: syncs after the account is connected.
  • API-created: run an explicit sync.
  • OpenAPI: no sync; the tools exist at create.
  • Wait for the server to show Synced and a tool count in the MCP Servers list. Synced means Orq.ai finished discovering its tools; Failed means the connection or credentials need fixing.
See Sync and tools.
3

Build an MCP Gateway

  • Open MCP Gateways.
  • Select MCP Gateway.
  • Set the Key.
  • Set runtime limits (optional): request and tool timeouts, request and response size caps, max tools, and per-token or per-gateway rates. See Runtime limits.
  • Choose how the gateway presents tools:
    • : a compact surface for a large tool catalogue.
    • : one client tool per upstream tool, with its annotations.
  • Create the gateway; the key becomes the public URL.
See MCP Gateways.
Create MCP Gateway form with Key, tool exposure mode, tool naming, runtime limits, and guardrails.

Create MCP Gateway form

4

Link the server and expose tools

On the gateway’s Toolset tab:
  • Select + Add server and choose the synced server.
  • Use the toggle on the server row to expose or hide every visible tool, or expand the server and toggle individual tools.
  • Resources and prompts have their own exposure toggles.
See Tool exposure.
MCP Gateway Toolset tab with a linked server and its exposed tools.

Toolset tab after linking a server

5

Connect a client

  • Copy the command from the gateway’s Connect section, or register the gateway URL in the client.
  • Run the command; the client opens the browser for OAuth on first use.
  • For a headless client that cannot open a browser, use an API key instead.
See Connect clients.

Verify

List the gateway’s tools from the client. In Code mode, search returns the exposed tools and execute runs them. In Direct, the client lists each upstream tool. Open the gateway’s Traces tab and confirm the call appears. If the client lists no tools, check that the server is linked, the tools are exposed, and the token carries mcp:tools. See Troubleshooting.

MCP Servers

Authentication, OpenAPI, sync, health, and server lifecycle.

MCP Gateways

Tool exposure, Code mode, access, and limits.

Connect clients

Client setup, OAuth, client credentials, and API keys.

Troubleshooting

Fix a client that connects but lists no tools.