AiAgentKarl/agent-policy-gateway-mcp-js
JavaScript MCP Server — PII filtering, guardrails, GDPR/AI Act compliance for agents
Platform-specific configuration:
{
"mcpServers": {
"agent-policy-gateway-mcp-js": {
"command": "npx",
"args": [
"-y",
"agent-policy-gateway-mcp-js"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
MCP server for AI agent policy enforcement. Provides PII detection, guardrails, GDPR/EU AI Act compliance checking, audit logging, and an emergency kill switch.
~/.agent-audit-log/npx @aiagentkarl/agent-policy-gateway-mcpAdd to your claude_desktop_config.json:
{
"mcpServers": {
"policy-gateway": {
"command": "npx",
"args": ["-y", "@aiagentkarl/agent-policy-gateway-mcp"]
}
}
}Scan text for personally identifiable information using regex patterns.
Parameters:
text (string) — Text to scanReturns: Found PII types, count, masked examples, redacted text, risk level.
Check an agent action against security policies.
Parameters:
action (string) — Action to check (e.g. "browse_url", "make_purchase")context (object) — Action context with optional agent_id, target_url, amount_usd, detailsReturns: allow/deny/warn decision with violations and recommendations.
Write an entry to the append-only audit log.
Parameters:
agent_id (string) — Unique agent identifieraction (string) — Action performeddetails (string, optional) — Additional detailsRetrieve audit log entries for an agent.
Parameters:
agent_id (string) — Agent identifierlimit (number, optLoading reviews...