Build & integrate
Cursor MCP Setup
Connect IRIS to Cursor as an MCP server for real-time compliance feedback as you write agent code.
1. Copy MCP config
cp .cursor/mcp.json your-project/.cursor/mcp.json
2. Start the IRIS MCP server
iris mcp start
3. Enable in Cursor
Go to Settings → MCP. The IRIS server appears automatically when the config is in your project.
MCP tools
Cursor calls these tools when IRIS is connected:
| Tool | Purpose |
|---|---|
iris_check_agent_code | Flag ungoverned LLM calls and policy violations inline |
iris_get_passport_status | Agent compliance status and next steps |
iris_suggest_policy | Draft policy-intent.md from agent code |
iris_fix_violation | Return corrected code for a specific rule ID |
iris_scan_workspace | Scan workspace for ungoverned agents and gaps |
What Cursor does with IRIS connected
- Flags ungoverned LLM calls inline as you type
- Suggests corrected code with
@agent.guard()already added - Warns on cross-region data transfers
- Alerts when consequential decisions lack a consent gate
- Shows Colorado AI Act compliance status in the sidebar
IRIS MCP runs locally. No code or prompts leave your machine unless you configure an LLM backend for policy compilation.