Connect Revagent to Your IDE
Use the Model Context Protocol (MCP) to bring Revagent audit findings directly into Cursor, Claude Code, Windsurf, VS Code Copilot, and any MCP-compatible coding agent.
How It Works
Run an Audit
Execute a Revagent pipeline to analyze your codebase. The multi-agent system produces corroborated findings.
Agent Queries Findings
Your IDE's AI agent uses MCP tools to fetch findings, handoff prompts, and parceled tasks.
Fix & Verify
The agent applies fixes based on findings. Run verify_fixes to confirm the issues are resolved.
Quick Start
Unlike the VS Code extension (which signs in via browser and never shows the key), MCP requires you to create an API key in the dashboard and paste it into your IDE config.
1Build the MCP Server
cd mcp-server npm install npm run build
2Get an API key
Sign in to the dashboard first (if needed), then go to Dashboard → Security → API Keys and create a new key. Copy the value (shown once) rev_....
3Configure Your IDE
Add to .cursor/mcp.json:
{
"mcpServers": {
"revagent": {
"command": "node",
"args": ["./mcp-server/dist/index.js"],
"env": {
"REVAGENT_API_URL": "https://your-revagent.com",
"REVAGENT_API_KEY": "rev_your_key_here"
}
}
}
}4Start Using
Example prompts to try in your IDE:
“Show me the latest Revagent audit findings”
“Get the critical findings and fix them one by one”
“Give me the handoff prompt for all security findings”
“Run the security audit pipeline and show results”
“Compare the original audit with the verification run”
Available Tools
These tools are exposed by the Revagent MCP server. Your IDE's AI agent can call them automatically.
Architecture
Your IDE (Cursor / Claude Code / Windsurf / VS Code)
│
│ MCP Protocol (stdio)
▼
┌─────────────────────────────┐
│ Revagent MCP Server │
│ (@revagent/mcp-server) │
│ │
│ Tools: │
│ • get_audit_findings │
│ • get_handoff_prompt │
│ • get_parceled_handoffs │
│ • verify_fixes │
│ • compare_executions │
│ • run_pipeline │
│ • list_pipelines │
│ • list_projects │
│ • list_executions │
│ │
│ Resources: │
│ • revagent://findings/... │
└──────────────┬──────────────┘
│
│ HTTP + API Key Auth
▼
┌─────────────────────────────┐
│ Revagent Platform │
│ │
│ Multi-Agent Pipelines │
│ Consensus Engine │
│ Knowledge Store (RAG) │
│ Pheromone Learning │
└─────────────────────────────┘
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
| REVAGENT_API_URL | No | http://localhost:3000 | Revagent server URL |
| REVAGENT_API_KEY | Yes | — | API key from Revagent dashboard (rev_...) |
Ready to connect?
Create your API key and start receiving audit findings directly in your IDE.