MCP Human Approval Gateway
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Human Approval GatewayRequest human approval to update production config"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Human Approval Gateway
A public-safe research prototype for controlling AI-agent tool actions with deterministic policy, risk-based human approval, time-bound authorization and a tamper-evident audit chain.
The project demonstrates a strict separation of responsibility:
AI explains and recommends. Its analysis is advisory and cannot change a policy outcome.
Deterministic policy decides. Registered tools, actions, scopes, environments and data classifications produce a reproducible decision.
Humans authorize high-impact actions. Role-qualified reviewers approve or deny requests with a recorded rationale.
The execution guard enforces the result. Approvals expire, can be consumed once and cannot be replayed.
All included names, resources, identities and actions are synthetic. The prototype contains no employer architecture, production credentials, customer data or confidential control implementations.
What the lab demonstrates
Low-risk public research can be auto-approved.
Private source access enters a human-review queue.
Restricted credential metadata requires elevated review while secret values remain unavailable to the AI analyst.
Production privilege changes require a security lead.
Prompt-injected context is treated as untrusted data and denied.
Runtime scope expansion is denied and must be submitted as a new request.
Unregistered tools fail closed.
Expired or already-consumed approvals cannot execute.
Audit-event modification is detected by hash-chain verification.
Related MCP server: emilia-mcp-server
Run locally
Prerequisite: Node.js 24 or newer. The prototype uses the built-in
node:sqlite API.
npm install
npm run build
npm startOpen http://localhost:4174.
For frontend development:
npm run dev:server
npm run dev:clientThe Vite client runs on http://localhost:5174 and proxies API calls to port
4174.
Verify
npm run checkThe automated suite covers policy outcomes, reviewer authorization, atomic decision commits, approval expiry, single-use execution, audit tamper detection, HTTP validation and browser security headers.
Optional AI analyst
The lab works fully offline with a deterministic analyst. An OpenAI-compatible chat-completions endpoint can be configured through environment variables:
cp .env.example .envThe external analyst receives sanitized request metadata, never raw credential values. Provider failure falls back to the offline analyst. In every mode, the model output remains advisory.
Design documents
Standards and research basis
The control design is informed by:
These references inform the design; they do not constitute certification or formal compliance.
Important scope boundary
This is an educational security prototype, not a production authorization service. It simulates tool execution and intentionally omits enterprise identity proofing, durable key management, multi-node transaction coordination and append-only external audit storage. See SECURITY.md before adapting any part of it.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/trivediroshan1-ui/mcp-human-approval-gateway'
If you have feedback or need assistance with the MCP directory API, please join our Discord server