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:

ToolPurpose
iris_check_agent_codeFlag ungoverned LLM calls and policy violations inline
iris_get_passport_statusAgent compliance status and next steps
iris_suggest_policyDraft policy-intent.md from agent code
iris_fix_violationReturn corrected code for a specific rule ID
iris_scan_workspaceScan workspace for ungoverned agents and gaps

What Cursor does with IRIS connected

IRIS MCP runs locally. No code or prompts leave your machine unless you configure an LLM backend for policy compilation.