Skip to content

MCP servers · MCP integration

Bring existing MCP servers into one place.

Keep an existing MCP integration and add it to the same endpoint as your databases and infrastructure. GateRook can start a local stdio server or connect to a Streamable HTTP URL. It discovers the tools, prefixes their names and lets you decide which tools become available to your AI client.

MCP servers, in your AI workflow

Illustrative example

Connection in GateRook

everything

MCP servers

dev
Name
everything
Transport
stdio
Command
npx -y @modelcontextprotocol/server-everything@2.0.0 stdio
Variables or headers
None for this echo example

The route

Your AI requests a tool. GateRook checks the endpoint policy, resolves credentials locally, and calls the configured service.

Understand the request flow

Ask your AI

Use the Everything test server to echo “GateRook connection ready”.

everything_echo · arguments
{
  "message": "GateRook connection ready"
}
Example result
{
  "content": [
    {
      "type": "text",
      "text": "Echo: GateRook connection ready"
    }
  ],
  "isError": false
}

Sample configuration and output, not a live connection. Replace example values with your environment. Tool names here are connector names; the endpoint may expose a connection-specific name.

Put context to work

What you can do with MCP servers and AI

Keep an existing integration

Connect a service through its existing MCP server and publish selected tools alongside native GateRook connectors. Your AI client only needs the gateway endpoint.

Centralize tool decisions

Choose which external tools are off, which need approval and which reviewed read tools may run without a prompt. See the server and exact arguments when an approval is requested.

Review tool changes

When a server changes a reviewed tool definition, GateRook stops the call until the change is reviewed. An approval for the old definition cannot execute against the new one.

From service to MCP

How to connect MCP servers

GateRook must be running on a computer that can reach your service. Open Connectors, choose MCP servers, then Add MCP server. Select stdio or Streamable HTTP and review the server before starting it.

New to GateRook? Start with the full setup guide.
  1. Choose a server you trust

    Prepare a local command with a pinned package version or the Streamable HTTP URL of your server. Local commands run with your user permissions; inspect the server before starting it.

  2. Add and review the server

    Open Connectors, choose MCP servers and Add MCP server. Enter its name and transport, configure the command or URL, then choose Review and start. Review the exact process or remote destination before confirming.

  3. Bind the required secrets

    For stdio, choose which environment variables receive values from Secrets. For HTTP, configure the required headers from Secrets. The echo example requires neither. Only explicitly bound secrets are injected; the core’s own secret environment variables are not inherited. The process also receives baseline environment variables such as PATH.

  4. Review discovered tools

    Inspect each tool name, description and input schema before exposing it on an endpoint. Newly added server tools are not automatically published to your AI clients; the initial endpoint mode for external tools is Approval.

  5. Choose the endpoint and tool modes

    Add the reviewed server tools to an endpoint. Keep the initial Approval mode for the first call and leave unused tools Off. Only move a trusted server-declared read tool to Read only after reviewing its implementation and permissions.

  6. Connect your AI and verify the first call

    In Clients, choose your AI app and endpoint, review the connection details, and connect. Try this guide’s example in Playground before asking your AI. Open Activity to inspect the tool, target, decision and returned result. The getting started guide covers this shared flow.

Connection settings

Configure MCP servers in GateRook

These are example values for the connection form. Enter credentials into GateRook’s secret fields, not into an AI prompt. Requirements and alternatives are noted per field.

MCP servers connection configuration
SettingExampleHow to use it
NameeverythingA server name also supplies its tool prefix; this example exposes everything_echo.
TransportstdioThe gateway starts a local command. Choose HTTP instead for a Streamable HTTP server URL.
Commandnpx -y @modelcontextprotocol/server-everything@2.0.0 stdioIllustrative test server version exercised by this repository. Review the package before running it; this command needs Node.js and npx on the computer.
Variables or headersNone for this echo exampleFor authenticated servers, bind only the required environment variables or HTTP headers to secrets stored in GateRook.

Know what you expose

MCP servers tools and access boundaries

The connector determines what is possible. Endpoint modes and connection policies determine what a particular AI client may use.

Available tools and access behavior
ToolPurposeAccess behavior
everything_echoExample discovered tool from the pinned Everything test server. It echoes a message; this name is specific to the configured server and prefix.Approval initially
Server-defined toolsThe connected server supplies the actual tool names and schemas. GateRook prefixes them and stores the reviewed definitions.Configured per endpoint

Before you enable access

  • Tool capabilities and input schemas come from the external server. The echo example is a test integration, not a built-in tool available for every server.
  • Read-only annotations are claims made by the server. GateRook cannot verify what external code does with its arguments or credentials.
  • Local stdio servers run as processes on this computer. A gateway approval layer does not sandbox that process or remove its operating-system permissions.
  • HTTP connections use Streamable HTTP over HTTPS, with plain HTTP allowed for localhost. Access to private destinations is also subject to policy.
  • External tools begin in Approval when added to an endpoint. Tools not declared read-only are treated as potentially mutating and require approval.

GateRook stores local connection secrets encrypted and resolves them for connectors. Allowed tool results are returned to your AI client and may be processed by its provider. Scope the data you expose as well as the actions you allow.

Practical answers

MCP servers connection questions

Review and start lists the server tools. Use Playground and Activity to inspect endpoint permissions and tool calls.

Is this the same as connecting an AI client?

They are different sides of the gateway. An external MCP server supplies tools to GateRook. Claude, Codex, Cursor or another MCP client connects to a GateRook endpoint to use the tools you publish.

Can I use a remote MCP server?

Yes, choose the HTTP transport and provide its Streamable HTTP URL. Configure any required headers from Secrets and check destination policies. Legacy SSE is not a transport option in this connector.

Does a server’s read-only label guarantee it cannot write?

No. An external server declares that annotation itself. Keep unfamiliar tools in Approval and review the server implementation and permissions before deciding which reads to allow.

What if an MCP server changes its tools?

GateRook compares calls with the reviewed tool definitions. A changed definition blocks execution and must be reviewed again; a previously approved call is not silently transferred to the changed tool.

Keep exploring

HTTP API

Connect a REST or HTTP API to AI through MCP. Scope base URLs and paths, keep API keys in GateRook, and approve requests that change data.

SSH

Use SSH from AI through GateRook MCP runbooks. Connect with keys, passwords or Vault SSH CA, verify host keys, and approve commands that change your servers.

PostgreSQL

Connect PostgreSQL to an MCP-compatible AI app with GateRook. Explore schemas, run read-only SQL, review changes and keep database credentials out of prompts.

Browse all integration guides

Your infrastructure, on your terms

Bring MCP servers into the conversation.

Start with one connection. Choose what your AI can do.

Get GateRook

GateRook is in active development. Installers will appear here after a verified release.

macOS

Coming soon. The macOS build is not available yet.

Windows

Coming soon. The Windows build is not available yet.