Cursor Integration
The Spendplane Extension for Cursor provides a zero-config bridge between your local IDE and your production VPC. Access internal logs, database schemas, and private APIs directly from the Cursor Chat.
Installation
Open Cursor Settings (CMD + SHIFT + J)
Navigate to General -> MCP
Add a new MCP server with the following command:
Capabilities in Cursor
Internal CLI Context
Cursor can run Spendplane CLI commands to inspect gateway status, active routing profiles, and provider latency.
Workspace Policy Enforcement
Route Cursor prompts through Spendplane Gateway (`https://api.spendplane.com/v1/openai`) with project budget caps and PII redaction.
Governance Shield
In Cursor, Spendplane Gateway acts as a Pre-Egress Policy Layer. Every prompt sent to the LLM provider is scanned for PII and secrets by the Policy Inspector before reaching external models.
Example Interaction
"Hey Cursor, what's current latency to our us-east-1 RDS instance?"