# Agent Gate

> Agent Gate is an MCP server. Local mandate gate and proof trail for AI agents that take consequential actions. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Website:** https://forgeorbital.com/agent-gate
- **MCP Registry name:** com.forgeorbital/agent-gate
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

```sh
claude mcp add agent-gate --env FORGE_API_KEY='<FORGE_API_KEY>' --env FORGE_BEARER_TOKEN='<FORGE_BEARER_TOKEN>' --env FORGE_TENANT_ID='<FORGE_TENANT_ID>' --env KALSHI_API_KEY_ID='<KALSHI_API_KEY_ID>' -- npx -y forge-agent-gate
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "agent-gate": {
      "command": "npx",
      "args": [
        "-y",
        "forge-agent-gate"
      ],
      "env": {
        "FORGE_API_KEY": "<FORGE_API_KEY>",
        "FORGE_BEARER_TOKEN": "<FORGE_BEARER_TOKEN>",
        "FORGE_TENANT_ID": "<FORGE_TENANT_ID>",
        "KALSHI_API_KEY_ID": "<KALSHI_API_KEY_ID>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "agent-gate": {
      "command": "npx",
      "args": [
        "-y",
        "forge-agent-gate"
      ],
      "env": {
        "FORGE_API_KEY": "<FORGE_API_KEY>",
        "FORGE_BEARER_TOKEN": "<FORGE_BEARER_TOKEN>",
        "FORGE_TENANT_ID": "<FORGE_TENANT_ID>",
        "KALSHI_API_KEY_ID": "<KALSHI_API_KEY_ID>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "agent-gate": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "forge-agent-gate"
      ],
      "env": {
        "FORGE_API_KEY": "<FORGE_API_KEY>",
        "FORGE_BEARER_TOKEN": "<FORGE_BEARER_TOKEN>",
        "FORGE_TENANT_ID": "<FORGE_TENANT_ID>",
        "KALSHI_API_KEY_ID": "<KALSHI_API_KEY_ID>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "agent-gate": {
      "command": "npx",
      "args": [
        "-y",
        "forge-agent-gate"
      ],
      "env": {
        "FORGE_API_KEY": "<FORGE_API_KEY>",
        "FORGE_BEARER_TOKEN": "<FORGE_BEARER_TOKEN>",
        "FORGE_TENANT_ID": "<FORGE_TENANT_ID>",
        "KALSHI_API_KEY_ID": "<KALSHI_API_KEY_ID>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "agent-gate": {
      "command": "npx",
      "args": [
        "-y",
        "forge-agent-gate"
      ],
      "env": {
        "FORGE_API_KEY": "<FORGE_API_KEY>",
        "FORGE_BEARER_TOKEN": "<FORGE_BEARER_TOKEN>",
        "FORGE_TENANT_ID": "<FORGE_TENANT_ID>",
        "KALSHI_API_KEY_ID": "<KALSHI_API_KEY_ID>"
      }
    }
  }
}
```

## FAQ

### How do I add Agent Gate to Claude Code?

Run this command in your terminal: claude mcp add agent-gate --env FORGE_API_KEY='<FORGE_API_KEY>' --env FORGE_BEARER_TOKEN='<FORGE_BEARER_TOKEN>' --env FORGE_TENANT_ID='<FORGE_TENANT_ID>' --env KALSHI_API_KEY_ID='<KALSHI_API_KEY_ID>' -- npx -y forge-agent-gate

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/agent-gate
