A

Agent Gate

MCP server · by forgeorbital

AI Agents npm v0.1.5

Local mandate gate and proof trail for AI agents that take consequential actions.

Website ↗ Generate config for multiple servers More servers

Install

registry version 0.1.5

npm
npx -y forge-agent-gate

Setup by client

Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.

claude_desktop_config.json

{
  "mcpServers": {
    "agent-gate": {
      "command": "npx",
      "args": [
        "-y",
        "forge-agent-gate"
      ],
      "env": {
        "FORGE_API_KEY": "<YOUR_FORGE_API_KEY>",
        "FORGE_BEARER_TOKEN": "<YOUR_FORGE_BEARER_TOKEN>",
        "FORGE_TENANT_ID": "<YOUR_FORGE_TENANT_ID>",
        "KALSHI_API_KEY_ID": "<YOUR_KALSHI_API_KEY_ID>"
      }
    }
  }
}

Format verified against the official Claude Desktop docs ↗.

Environment variables

Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.

  • FORGE_API_KEY secret — Forge decision-API key (starts with fi_). Set this or FORGE_BEARER_TOKEN.
  • FORGE_BEARER_TOKEN secret — Alternative to FORGE_API_KEY: a Forge bearer token for the decision API.
  • FORGE_API_BASE_URL — Base URL of the Forge decision API. Defaults to the hosted Forge cloud.
  • FORGE_TENANT_ID required — Tenant id stamped into every proof-trail record.
  • FORGE_RECORD_MODE — required = fail-closed (block if Forge cannot record); best_effort = execute anyway.
  • AGENT_GATE_MANDATE_PATH — Absolute path to the signed mandate (policy) JSON. Create it with `forge-agent-gate init`.
  • AGENT_GATE_KILL_FILE — If this file exists, every gated write is hard-blocked (master kill switch).
  • KALSHI_API_KEY_ID secret — Kalshi API key id. Only for the live Kalshi venue adapter; stays on your machine.

About this server

Distributed as npm, listed under AI Agents. Review our MCP security guide before granting access to real data.

Frequently asked questions

How do I install Agent Gate?

Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.

Is Agent Gate free to use?

The MCP server itself is free to install. Any third-party service it calls may require its own API key and account.

Which clients support Agent Gate?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/agent-gate.svg)](https://mcpnav.net/server/agent-gate/)

HTML

<a href="https://mcpnav.net/server/agent-gate/"><img src="https://mcpnav.net/badge/agent-gate.svg" alt="Listed on MCPNav" height="20"></a>