docs / mcp / cursor-setup

Cursor setup

Cursor-specific notes for the Soriku MCP integration.

Where the config lives

Cursor stores MCP server config in ~/.cursor/mcp.json. Edit it directly or use Cursor → Settings → MCP Servers.

Set a Soriku agent as default

In Cursor's chat composer, you can pin a model. Pick the Soriku agent persona that matches the project (e.g. code-architect for a Python service, frontend-developer for a React app). The pin persists per workspace.

Fallback to remote providers

When you're offline or local models are loaded with other tasks, set prefer_local: false on the Soriku agent. Routing falls back to the highest-scoring remote model that has a configured key.

Cursor's diff view works with Soriku's pilot mode out of the box: when the agent suggests a file change, Cursor shows it as a reviewable diff before applying.