consentgate-mcp MCP Server
Gate AI agent actions behind a consent policy with human approval via Telegram. Fail-closed.
consentgate-mcp scores 56 (Fair), licensed MIT and written in JavaScript. It installs as a local process. It declares 2 tools. Filed under Communication. GitHub shows 0 stars. Package registries report about 33 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
56 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
66/100 for listing completeness. Lost points: short README, 2 of 2 tools barely described, short summary.
How quality is graded
Where the 56 comes from
22 + 10 + 0 + 10 + 4 + 10 = 56. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 10 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "jessepetersondev-consentgate-mcp": { "command": "npx", "args": [ "-y", "consentgate-mcp@0.1.1" ], "env": { "CONSENTGATE_API_KEY": "YOUR_CONSENTGATE_API_KEY", "CONSENTGATE_BASE_URL": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
CONSENTGATE_API_KEYSecret | Required | ConsentGate API key (cg_…) from https://consentgate.fyi/dashboard/keys |
CONSENTGATE_BASE_URL | Optional | Override the API base URL (defaults to https://consentgate.fyi) |
Tools2Tool docs quality grade F
All capabilitiescheck_actiontoolno
request_approvaltoolyes (≤120s)
About
consentgate-mcp
A Model Context Protocol server that lets any MCP-capable agent (Claude Desktop, Claude Code, Cursor, custom agents, …) gate its own actions behind a human's consent policy via ConsentGate.
The agent asks before it acts; you stay in control. High-stakes actions can block on an explicit Approve / Deny tap delivered to your Telegram.
Tools
| Tool | Blocks? | What it does |
|---|---|---|
check_action | no | Evaluates an action against your consent rules. Returns allow, deny, or ask (no rule matched). Use it before any sensitive/irreversible action. |
request_approval | yes (≤120s) | Sends an Approve/Deny prompt to your Telegram and blocks until you tap or it times out. Returns allow only on an explicit human Approve; everything else (deny, timeout, not-available) is deny. |
Both fail closed: anything other than an explicit allow means do not proceed.
Prerequisites
- A ConsentGate account and an API key → https://consentgate.fyi/dashboard/keys (
cg_…). - For
request_approval(interactive approvals): the Pro plan and a linked Telegram account (Dashboard → Telegram → Connect).check_actionworks on any plan.
Configuration
Environment variables:
| Var | Required | Default | Notes |
|---|---|---|---|
CONSENTGATE_API_KEY | ✅ | — | Your cg_… key. |
CONSENTGATE_BASE_URL | — | https://consentgate.fyi | Override for self-hosted instances. |
Claude Desktop
Add to claude_desktop_config.json (Settings → Developer → Edit Config):
{
"mcpServers": {
"consentgate": {
"command": "npx",
"args": ["-y", "consentgate-mcp"],
"env": { "CONSENTGATE_API_KEY": "cg_your_key_here" }
}
}
}
Claude Code
claude mcp add consentgate --env CONSENTGATE_API_KEY=cg_your_key_here -- npx -y consentgate-mcp
Generic MCP client
Run npx -y consentgate-mcp (stdio transport) with CONSENTGATE_API_KEY in the environment.
Run from source
Until the package is published to npm, point your client at the built file (
node /abs/path/to/mcp/dist/index.js) instead ofnpx consentgate-mcp.
cd mcp
npm install # also builds via the `prepare` script
npm run build # -> dist/index.js
CONSENTGATE_API_KEY=cg_… npm run smoke # lists tools + a live check_action
How an agent should use it
A good agent policy:
Before performing any action that sends messages, spends money, deletes data, posts publicly, or changes external state, call
check_action. If the result isallow, proceed. Ifdeny, stop. Ifask(or the action is high-stakes), callrequest_approvaland proceed only on an explicitallow.
Example (request_approval):
{
"action": "transfer_funds",
"category": "spending",
"metadata": { "amount": "$500", "to": "Acme Corp" },
"wait_seconds": 90
}
// -> blocks; you tap Approve in Telegram -> { "decision": "allow", "resolved_by": "human" }
License
MIT
Frequently asked questions
What is consentgate-mcp MCP Server?
Gate AI agent actions behind a consent policy with human approval via Telegram. Fail-closed.
How do I install consentgate-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. consentgate-mcp MCP Server runs locally from the npm package consentgate-mcp with the command npx -y consentgate-mcp@0.1.1.
Is consentgate-mcp MCP Server free and open source?
Yes. consentgate-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does consentgate-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for consentgate-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does consentgate-mcp MCP Server provide?
consentgate-mcp MCP Server provides 2 tools: check_action and request_approval. See the full tool list for descriptions and parameters.
How is consentgate-mcp MCP Server's trust score calculated?
consentgate-mcp MCP Server scores 56 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.