mcp-permission-guard
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP Permission Guard — Pre-Action Authorization for AI Agents
Intent-based permission system with risk scoring, rule engine, and audit trail. Zero dependencies, pure Python stdlib.
The Problem
Agents execute destructive actions without guardrails. Binary allow/deny prompts don't work (93% auto-approved). The "lethal trifecta" — private data + untrusted content + external communication — creates risks no single tool can detect.
Related MCP server: AgentWard
The Solution
MCP Permission Guard classifies tool calls into 14 intent categories, scores risk 0-100, evaluates rules, and produces deterministic allow/deny/ask decisions with full audit trail.
Tools (11)
Tool | What it does |
| Map tool call → intent category (14 types) |
| Score 0-100 with lethal trifecta detection |
| Add allow/deny/ask rule by intent |
| Full evaluation: classify + risk + rules → decision |
| Query decision history |
| Show all registered rules |
| Delete a rule |
| Global policy: allow_all / deny_all / ask_all / rules_based |
| Read current policy |
| Decision statistics |
| Clear all state |
Intent Categories
filesystem_read (10) · filesystem_write (40) · filesystem_delete (80) · network_outbound (50) · network_inbound (30) · code_execution (60) · shell_command (70) · database_write (65) · database_read (20) · credentials_access (90) · config_change (55) · user_management (85) · service_restart (60) · package_install (75)
Tests
python -m pytest tests/ -v # 38 tests, all passingInspiration
nah — Intent-level permission guards
Open Agent Passport — Pre-action authorization
Beyond Permission Prompts — Structured authorization
Claude Code Auto Mode — Two-stage classifier
License
MIT — AMEOBIUS
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Security gateway for AI agents: policy, approval, and audited execution, no secrets shared.
Governed access to sensitive data, secrets and APIs for AI agents. A signed proof for each decision.
Zero-secret MCP gateway for AI agents: risk-scored, audited calls with human-in-the-loop approval.
Credential broker for AI agents: scoped, revocable API access with policy enforcement and audit.
Related MCP Servers
- FlicenseAqualityDmaintenanceProvides policy-based access control, incident tracking, and compliance monitoring to govern AI agent behavior. It enables organizations to enforce security rules and maintain audit trails by validating agent actions against trust levels and pattern-based policies.61-
- AlicenseAqualityDmaintenanceOpen-source permission control plane for AI agents — scan, enforce, and audit every tool call with code-level policies that prompt injection can't bypass.14103 PyPI19Business Source 1.1
- AlicenseNot gradedqualityDmaintenanceA governance and control layer for MCP tools that manages tool requests as intents through policy-based approval, queuing, or blocking. It enables secure human oversight and audit trails for consequential agent actions across platforms like Claude Desktop and Cursor.1MIT No Attribution
- AlicenseAqualityBmaintenancePolicy-based governance for AI agent tool calls. YAML policies, approval gates, risk assessment, and audit logging across LangChain, OpenAI, Anthropic, and MCP.5364 PyPI18MIT