Overview
Connect Operator to Cursor so its AI assistant can reach beyond local context and run targeted, adaptive multi-source searches whenever it hits a confusing error, missing docs, or unfamiliar library. Instead of guessing from partial training data, the agent can call Operator to pull in current documentation, GitHub issues, blog posts, and changelogs. This page shows how to wire Operator in as an MCP server for Cursor, both at the project level and globally, and suggests a few prompts you can use to make sure the integration is doing real work for your team.Why use Operator inside Cursor?
- Keep Cursor focused on editing your code while Operator handles heavy-duty research.
- Get answers that reference specific upstream docs, issues, and examples instead of vague suggestions.
- Stay current with fast-moving libraries without constantly leaving the editor for manual search.
- Share a single Operator API key across multiple projects and tools.
Configure Operator as a project-level MCP server
To enable Operator for a single project, create a.cursor/mcp.json file in your repo and add the Operator MCP server:
OPERATOR_API_KEY in your environment before launching Cursor, for example:
url to https://mcp.operator.io/sse. You can also send the API key with an x-api-key header instead of Authorization.
Project-level configuration is great when you want fine-grained control or when only a subset of repos should use Operator.
Global setup for all Cursor projects
To make Operator available in every Cursor workspace, configure a global MCP file in your home directory:url to https://mcp.operator.io/sse.
You can always override or disable Operator for a specific repository by adjusting its local .cursor/mcp.json if needed.
Using Operator inside Cursor
Once configured, Cursor’s agent can call Operator as a tool whenever it needs external context. Typical use cases include:- Looking up fresh documentation for rapidly evolving libraries.
- Finding GitHub issues that match error messages from your build or tests.
- Pulling migration guides when you upgrade frameworks like Next.js or Prisma.
- Gathering real-world examples for unfamiliar integrations.
- “Use Operator to find current docs for this TypeScript error.”
- “Ask Operator for migration notes from Next.js 14 to 15.”