com.forgeorbital/agent-gate

Official registry AI and agents

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

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

NPM package forge-agent-gate
Claude Code
claude mcp add agent-gate -e 'FORGE_API_KEY=<your forge_api_key>' -e 'FORGE_BEARER_TOKEN=<your forge_bearer_token>' -e 'FORGE_API_BASE_URL=https://forgeorbital.com' -e 'FORGE_TENANT_ID=<FORGE_TENANT_ID>' -e 'FORGE_RECORD_MODE=required' -e 'AGENT_GATE_MANDATE_PATH=<AGENT_GATE_MANDATE_PATH>' -e 'AGENT_GATE_KILL_FILE=<AGENT_GATE_KILL_FILE>' -e 'KALSHI_API_KEY_ID=<your kalshi_api_key_id>' -e 'KALSHI_PRIVATE_KEY_PATH=./kalshi_private_key.pem' -e 'KALSHI_ENV=demo' -- npx -y forge-agent-gate@0.1.5 serve
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "agent-gate": {
            "command": "npx",
            "args": [
                "-y",
                "forge-agent-gate@0.1.5",
                "serve"
            ],
            "env": {
                "FORGE_API_KEY": "<your forge_api_key>",
                "FORGE_BEARER_TOKEN": "<your forge_bearer_token>",
                "FORGE_API_BASE_URL": "https://forgeorbital.com",
                "FORGE_TENANT_ID": "<FORGE_TENANT_ID>",
                "FORGE_RECORD_MODE": "required",
                "AGENT_GATE_MANDATE_PATH": "<AGENT_GATE_MANDATE_PATH>",
                "AGENT_GATE_KILL_FILE": "<AGENT_GATE_KILL_FILE>",
                "KALSHI_API_KEY_ID": "<your kalshi_api_key_id>",
                "KALSHI_PRIVATE_KEY_PATH": "./kalshi_private_key.pem",
                "KALSHI_ENV": "demo"
            }
        }
    }
}

Environment variables

  • 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.
  • KALSHI_PRIVATE_KEY_PATH Path to your Kalshi RSA private key. Only for the Kalshi venue adapter.
  • KALSHI_ENV Kalshi environment: demo or prod. Only for the Kalshi venue adapter.

Frequently asked questions

What is com.forgeorbital/agent-gate?

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

How do I install com.forgeorbital/agent-gate?

It runs on your machine. In Claude Code: claude mcp add agent-gate -e 'FORGE_API_KEY=<your forge_api_key>' -e 'FORGE_BEARER_TOKEN=<your forge_bearer_token>' -e 'FORGE_API_BASE_URL=https://forgeorbital.com' -e 'FORGE_TENANT_ID=<FORGE_TENANT_ID>' -e 'FORGE_RECORD_MODE=required' -e 'AGENT_GATE_MANDATE_PATH=<AGENT_GATE_MANDATE_PATH>' -e 'AGENT_GATE_KILL_FILE=<AGENT_GATE_KILL_FILE>' -e 'KALSHI_API_KEY_ID=<your kalshi_api_key_id>' -e 'KALSHI_PRIVATE_KEY_PATH=./kalshi_private_key.pem' -e 'KALSHI_ENV=demo' -- npx -y forge-agent-gate@0.1.5 serve. For other clients, paste the JSON configuration from this page into their MCP settings.

Does com.forgeorbital/agent-gate need an API key?

Yes. It expects FORGE_API_KEY, FORGE_BEARER_TOKEN, FORGE_TENANT_ID, KALSHI_API_KEY_ID, which you set in its configuration.

Who maintains com.forgeorbital/agent-gate?

It is published by com.forgeorbital. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.