taniwhaai/arai MCP server](https://glama.ai/mcp/servers/taniwhaai/arai/badges/score.svg)](https://glama.ai/mcp/servers/taniwhaai/arai) π¦ π π πͺ π§ - Policy enforcement for AI coding agents derived from existing instruction files (CLAUDE.md, .cursorrules, .windsurfrules, .github/copilot-instructions.md) β no separate YAML to maintain. Rules with prohibitive predicates (never, forbids, must_not) emit permissionDecision: deny to block tool calls in Claude Code; advisory rules inject context. PostToolUse is correlated with PreToolUse to produce per-rule obeyed/ignored compliance verdicts in a local JSONL audit log. MCP tools β arai_add_guard (register rules mid-session), arai_list_guards, arai_recent_decisions β work in any MCP client (Claude Desktop, Cursor, Windsurf, Cline). No network on the hook hot path; opt-out anonymous telemetry.
Getting started
Add arai to your MCP-capable client β Claude Code, Cursor, Codex, and others β by following the setup at the source, which documents the exact command, configuration, and any required API keys.











