Agent Policy Gateway MCP Server
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.
Agent Policy Gateway MCP Server
MCP server for AI agent policy enforcement. Provides PII detection, guardrails, GDPR/EU AI Act compliance checking, audit logging, and an emergency kill switch.
Features
PII Detection — Scan text for emails, phone numbers, SSNs, credit cards, IBANs with automatic redaction
Guardrails — Check agent actions against configurable policies (spend limits, domain whitelists, blocked actions)
Audit Logging — Append-only JSONL audit trail per agent in
~/.agent-audit-log/GDPR Compliance — Check data processing actions against DSGVO requirements
EU AI Act Compliance — Verify AI operations against EU AI Act risk categories
Emergency Kill Switch — Instantly block an agent with critical-level audit entry
Related MCP server: Agent Policy Gateway MCP Server
Installation
npx @aiagentkarl/agent-policy-gateway-mcpClaude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"policy-gateway": {
"command": "npx",
"args": ["-y", "@aiagentkarl/agent-policy-gateway-mcp"]
}
}
}Tools
check_pii
Scan text for personally identifiable information using regex patterns.
Parameters:
text(string) — Text to scan
Returns: Found PII types, count, masked examples, redacted text, risk level.
apply_guardrails
Check an agent action against security policies.
Parameters:
action(string) — Action to check (e.g. "browse_url", "make_purchase")context(object) — Action context with optionalagent_id,target_url,amount_usd,details
Returns: allow/deny/warn decision with violations and recommendations.
log_action
Write an entry to the append-only audit log.
Parameters:
agent_id(string) — Unique agent identifieraction(string) — Action performeddetails(string, optional) — Additional details
get_audit_log
Retrieve audit log entries for an agent.
Parameters:
agent_id(string) — Agent identifierlimit(number, optional) — Max entries to return (default: 50)
check_compliance
Check GDPR and EU AI Act compliance requirements.
Parameters:
action_type(string) — Type of action (e.g. "data_collection", "profiling", "high_risk_ai", "agent_operations")jurisdiction(string, optional) — "gdpr", "eu_ai_act", or "both" (default)
Returns: Applicable requirements, risk level, and recommendations per framework.
emergency_stop
Kill switch — immediately block an agent from all further actions.
Parameters:
agent_id(string) — Agent to blockreason(string) — Reason for emergency stop
Returns: Confirmation with timestamp. Agent remains blocked until server restart.
Compliance Coverage
GDPR / DSGVO
Data collection (Art. 6 legal basis, consent)
Data processing (Art. 30 records, Art. 32 security)
Data sharing (Art. 28 processor agreements)
Data deletion (Art. 17 right to erasure)
Profiling (Art. 22 automated decision-making)
EU AI Act
High-risk AI systems (Art. 9-15)
Limited-risk AI (transparency obligations)
General-purpose AI models
Prohibited AI practices
Agent-specific operations
Default Guardrail Policies
Policy | Default Value |
Max spend per action | $100 USD |
Allowed domains | github.com, stackoverflow.com, npmjs.com, pypi.org, wikipedia.org, docs.python.org, developer.mozilla.org |
Blocked actions | delete_production_data, send_mass_email, modify_permissions, access_admin_panel, execute_raw_sql, disable_security |
Require human approval | financial_transaction, data_export, user_deletion, contract_signing |
Audit Log Format
Logs are stored as JSONL files in ~/.agent-audit-log/{agent_id}.jsonl:
{"timestamp":"2026-03-20T10:30:00.000Z","agent_id":"agent-1","type":"action","action":"browse_url","details":"...","status":"logged"}More MCP Servers by AiAgentKarl
Category | Servers |
🔗 Blockchain | |
🌍 Data | Weather · Germany · Agriculture · Space · Aviation · EU Companies |
🔒 Security | |
🤖 Agent Infra | Memory · Directory · Hub · Reputation |
🔬 Research |
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Register every AI agent, log every action, prove it. EU AI Act compliance built in.
Deterministic runtime safety for AI agents: scan PII, gate tool actions, verify LLM output.
Responsible-AI guardrails for agents: scoring with policy, injection & PII detection, DPDP.
AI agent security, MCP 2026 schema & graph audits, <250ms guardrails, and compliance dossiers
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-
- AlicenseAqualityDmaintenanceCompliance and guardrails infrastructure for AI agents, enabling safe operations within regulatory boundaries like GDPR and EU AI Act.621 PyPIMIT
- AlicenseBqualityDmaintenanceProvides AI governance and action-assurance primitives, enabling trust scoring, policy-based allow/deny decisions, risk assessment, EU AI Act compliance checks, and an emergency kill-switch for autonomous agents.643 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables deterministic zero-trust security for AI agents, providing prompt injection protection, PII scrubbing, and policy enforcement before agentic actions reach production systems.2Apache 2.0