# Consentgate MCP

> Consentgate MCP is an open-source MCP server. Gate AI agent actions behind a consent policy with human approval via Telegram. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Website:** https://consentgate.fyi
- **Repository:** https://github.com/jessepetersondev/consentgate-mcp
- **MCP Registry name:** io.github.jessepetersondev/consentgate-mcp
- **Listing updated:** 2026-11-13

## About

Gate AI agent actions behind a consent policy with human approval via Telegram. Fail-closed.

## Install

### Claude Code (Terminal)

```sh
claude mcp add consentgate-mcp --env CONSENTGATE_API_KEY='<CONSENTGATE_API_KEY>' -- npx -y consentgate-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "consentgate-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "consentgate-mcp"
      ],
      "env": {
        "CONSENTGATE_API_KEY": "<CONSENTGATE_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "consentgate-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "consentgate-mcp"
      ],
      "env": {
        "CONSENTGATE_API_KEY": "<CONSENTGATE_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "consentgate-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "consentgate-mcp"
      ],
      "env": {
        "CONSENTGATE_API_KEY": "<CONSENTGATE_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "consentgate-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "consentgate-mcp"
      ],
      "env": {
        "CONSENTGATE_API_KEY": "<CONSENTGATE_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "consentgate-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "consentgate-mcp"
      ],
      "env": {
        "CONSENTGATE_API_KEY": "<CONSENTGATE_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Is Consentgate MCP free?

Yes. Consentgate MCP is open source, so you can use and self-host it for free.

### How do I add Consentgate MCP to Claude Code?

Run this command in your terminal: claude mcp add consentgate-mcp --env CONSENTGATE_API_KEY='<CONSENTGATE_API_KEY>' -- npx -y consentgate-mcp

## 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/consentgate-mcp
