MCP gateway with runtime security policy, tool-call-level control, and audit of agent actions.
Sealgate MCP Server (ai.sealgate/gateway)
The ai.sealgate/gateway MCP server provides a gateway that focuses on runtime security policy, tool-call-level control, and audit of agent actions. It is distributed as the @sealgate/mcp npm package and is published as an MCP server under Sealgate.
๐ ๏ธ Key Features
Runtime security policy
Tool-call-level control
Audit of agent actions
๐ Use Cases
Governing how AI interacts with data during execution
Enforcing controls at the individual tool-call level
Recording what agent actions occurred
โก Developer Benefits
Centralized gateway for MCP-based tooling
Fine-grained control over tool calls
Action auditing for agent behavior tracking
โ ๏ธ Limitations
Limited public description available in the provided source excerpt (no additional capabilities or configuration details shown).
The Model Context Protocol (MCP) server for Sealgate,
the AI data-leak-prevention platform: a security gateway and data firewall that
sits between AI agents (Claude, ChatGPT, Cursor, Copilot) and your organisation's
data and tools.
This server is a thin MCP proxy. It forwards a small set of tool calls to a
Sealgate gateway, which you configure with two environment variables.
Sealgate runs managed release hosts (the remote MCP gateway at mcp.sealgate.ai
and the Management API at dashboard.sealgate.ai), and demo or self-hosted orgs
run their own, so this bridge stays host-agnostic: you supply the URL and key.
Tools
Tool
What it does
list_mcp_servers
List the MCP servers governed by your Sealgate gateway, with access-control classification and connection status.
get_session_status
Review recent agent sessions and audit events: what agents did, which data flowed, and any blocked actions.
Connect to the hosted gateway
Sealgate runs a managed remote MCP gateway at https://mcp.sealgate.ai/mcp. It
is a per-user proxy that aggregates every MCP server you have enabled behind one
Streamable HTTP endpoint and enforces Sealgate's access-control policies on every
call. There is nothing to install: point your client at the endpoint and sign in
through the browser.
text
Endpoint: https://mcp.sealgate.ai/mcp
Transport: streamable HTTP (remote, not stdio)
Auth: OAuth 2.1 in the browser, no key to paste
Client
Add it
Claude
Add to Claude opens the Add custom connector dialog with the name and URL filled in. Claude flags it as suggested by an external link; that is expected. On Team and Enterprise plans an admin adds it.
ChatGPT
Settings โ Connectors โ Advanced settings โ turn on Developer mode. Back on Connectors, click Create, paste the endpoint, and name it. Start a new chat so the tools menu refreshes.
Claude Code
claude mcp add --transport http --scope user sealgate https://mcp.sealgate.ai/mcp Then run /mcp in a session to sign in.
Cursor
Not working? Add the endpoint by hand under Settings โ MCP.
Add a remote MCP server pointing at https://mcp.sealgate.ai/mcp over streamable HTTP, then sign in through the browser.
Any MCP client
Add a remote server at https://mcp.sealgate.ai/mcp over streamable HTTP. Cline, Zed and Windsurf all work; each spells the config differently (VS Code servers, Cursor and Cline mcpServers, Zed context_servers, and Windsurf wants serverUrl where everyone else wants url).
Every one-click button routes through an https:// install URL, since GitHub
strips custom URL schemes such as cursor:// from links.
How OAuth works
The gateway is an OAuth 2.1 authorization server, so most clients connect with no
API key at all. The flow uses dynamic client registration (RFC 7591) and client
ID metadata documents, mandatory PKCE (S256), and issues refresh tokens via the
offline_access scope, so a session stays connected without re-authenticating
every hour. Discovery, consent, and token endpoints all live on the gateway
origin, so self-hosted single-origin deployments work with no extra
configuration.
API key in the URL
Clients that cannot run an OAuth flow can pass a Sealgate API key as a URL path
segment instead:
Replace {api_key} with the key from your dashboard and {label} with an
optional session label. This is not OAuth and not an Authorization header; the
key travels in the path.
mcp.sealgate.ai is the managed release host. Demo and self-hosted orgs run
their own gateway host, so substitute your own URL where needed.
Connect your messaging apps
The same gateway fronts Sealgate's messaging connectors (the Beeper desktop app
plus the sealgate-stdiod tunnel), so any client above can read and send across
your chat networks. Every message an agent reads or sends passes through the
same policy checks and lands in the same audit log as every other tool call.
Codex + iMessage in one command: the companion repo
Edison-Watch/codex-imessage
wires Codex to iMessage through the gateway with a single install step.
Configuration
Set two environment variables, both issued or hosted by your organisation:
Variable
Description
SEALGATE_GATEWAY_URL
Base URL of your Sealgate Management API (e.g. https://dashboard.sealgate.ai).
SEALGATE_API_KEY
Sealgate API key from your dashboard.
If either is unset, every tool returns a clear configuration message instead of
failing, so registry probes and --help never crash.
Install
Prefer the hosted gateway above. The npm package is the stdio alternative for
clients that cannot use a remote server; it runs via npx and needs the two
environment variables from Configuration. Also published in the official MCP
Registry as ai.sealgate/gateway and io.github.Edison-Watch/sealgate-mcp.
bun install
bun run src/index.ts --help# run from source
bun test# run tests
bun run build # bundle to dist/
make ci # lint, typecheck, dead-code, and the rest