Consentgate MCP logo

Consentgate MCP

Gates sensitive agent actions with ConsentGate rules and optional Telegram approval, failing closed unless access is explicitly allowed.

Install Consentgate MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "consentgate-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "consentgate-mcp"
      ],
      "env": {
        "CONSENTGATE_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 2 tools correctly ().

Overview

The consentgate-mcp MCP server evaluates agent actions against ConsentGate policies and can request human approval through Telegram. Its two tools return explicit allow or deny outcomes, with unmatched rules producing ask before an approval request. Use it before actions that send messages, spend money, delete data, post publicly, or change external state. Interactive approvals require a linked Telegram account and the ConsentGate Pro plan.

Use cases

  • Check outbound messages before sending them
  • Require approval for spending actions
  • Block deletion of data without consent
  • Review public posts before publishing
  • Gate changes to external systems

Key features

  • Consent policy evaluation
  • Telegram Approve/Deny prompts
  • Fail-closed decisions
  • Non-blocking action checks
  • Blocking approval requests
  • Self-hosted base URL override

Tools2

What Consentgate MCP lets your agent do. Expand a tool for its parameters.

Verified live~716 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 59d

What it can do

From the 2 tools this server returned when we ran it; 2 declare their own safety hints.

Makes network requests · 2Read-only tools · 2
Network at startup3 connections
Files written at startupNone
Install scriptsprepare
npm provenanceNot published
Package age158 days
Maintainers1

Observed 2026-11-07 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 8h ago via OSV.dev · consentgate-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads135Package downloads in the last 30 days.
Last commit5mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed2Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Consentgate MCP works

What consentgate-mcp MCP server does

The consentgate-mcp MCP server adds a consent check between an MCP-capable agent and sensitive actions. It connects to ConsentGate, where configured rules determine whether a proposed action may proceed, must be rejected, or needs a human decision. The server is intended for workflows where an agent may affect external systems, data, communications, or finances.

Its behavior is fail-closed: an agent should continue only after receiving an explicit allow. A deny, an unresolved request, a timeout, or an unavailable approval path means the agent must not perform the action.

How it works

An agent first calls check_action with the action and related information. ConsentGate evaluates the request against the account's consent rules and returns allow, deny, or ask when no rule matches. The agent can stop immediately for deny. For an unmatched or high-stakes action, it can call request_approval.

request_approval sends an Approve/Deny prompt to the linked Telegram account and waits for a response. It returns allow only when the human explicitly taps Approve. A denial, timeout, or unavailable approval service produces deny. The wait can last up to 120 seconds; the example configuration uses wait_seconds to request a 90-second wait.

Setup and configuration

Create a ConsentGate account and API key from the ConsentGate dashboard. Set CONSENTGATE_API_KEY to the key, which uses the cg_ format. The server uses https://consentgate.fyi by default; set CONSENTGATE_BASE_URL when connecting to a self-hosted instance.

For interactive Telegram approval, the account must be on the Pro plan and have a linked Telegram account through the ConsentGate dashboard. The check_action tool is available on any plan.

The server can run with the npm command npx -y consentgate-mcp over stdio. Claude Desktop can add that command and environment variable in its MCP configuration, while Claude Code can register it with claude mcp add. Until the package is published to npm, run the built dist/index.js file from a source checkout instead.

Tools and capabilities

  • check_action: evaluates an action against ConsentGate rules without blocking. It returns allow, deny, or ask.
  • request_approval: sends a Telegram approval prompt and waits for an explicit human decision, with a maximum wait of 120 seconds.
  • Action details can include fields such as action, category, metadata, and wait_seconds, allowing the approval prompt to carry context like an amount or recipient.

Limitations and notes

The server does not authorize an action merely because no rule rejects it. An unmatched result is ask, and the agent must obtain an explicit approval before proceeding. Telegram-based approval depends on the Pro plan, a linked Telegram account, and an available ConsentGate connection.

The consentgate-mcp MCP server provides the decision tools; the calling agent still needs to invoke them at the appropriate point in its policy. The documented transport is stdio, and the source workflow builds dist/index.js with npm before running a smoke test.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Consentgate MCP

consentgate-mcp is an MCP server that connects MCP-capable agents to ConsentGate consent policies and, for interactive decisions, linked Telegram accounts. Its main tools are check_action for rule evaluation and request_approval for human approval prompts. It fails closed, allowing an action only after an explicit allow result.

Run `npx -y consentgate-mcp` with `CONSENTGATE_API_KEY` set in the environment. Configure that command in an MCP client such as Claude Desktop or Claude Code. Until the npm package is published, build the source and point the client to `dist/index.js` instead.

Run the server over stdio and provide `CONSENTGATE_API_KEY` in the client's environment configuration.

Use a ConsentGate Pro account and link a Telegram account in the ConsentGate dashboard. Then configure the MCP server with your API key and call `request_approval`; it sends an Approve/Deny prompt and allows the action only after an explicit Approve.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewConsentgate MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/consentgate-mcp?style=directory)](https://allmcps.com/mcp/consentgate-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/consentgate-mcp"><img src="https://allmcps.com/api/badge/consentgate-mcp?style=directory" alt="Consentgate MCP on AllMCPs" /></a>