SDKs & Tools

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.

How do I route v0 traffic to Llama-3?

Installation

1

Open Cursor Settings (CMD + SHIFT + J)

2

Navigate to General -> MCP

3

Add a new MCP server with the following command:

npx spendplane@latest mcp

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.

Status: SHIELDING ACTIVE
Regex Overhead: <5ms

Example Interaction

"Hey Cursor, what's current latency to our us-east-1 RDS instance?"

Trace Hub: Manual v1.0.4 / IDE Verification: CURSOR-V0.4x