CursorRoshan SadananiAnnouncement
How Notion used the Cursor SDK to embed coding agents
Summary
Notion integrated Cursor coding agents into its product so users can delegate work by tagging Cursor in a document, mentioning it in a thread, or assigning a database issue. Built with the Cursor SDK in a couple of weeks, the integration lets agents plan, build, test, verify work, and open pull requests while Notion focuses on product and user experience rather than agent infrastructure. Notion placed Cursor behind a provider-agnostic harness: a Notion thread maps to an agent, each message starts a run, and the first run can specify the prompt, repository, model, MCP servers, and automatic PR creation. Follow-up runs stream over SSE, support resumption after dropped connections, and use remote MCP to let Cursor read and write workspace state in real time; templates, custom instructions, selected tools, skills, subagents, and triggers provide further customization.
Context
Notion wanted to embed coding agents while spending engineering time on its product and user experience instead of building and maintaining the specialized infrastructure behind autonomous agents. The integration was completed in a couple of weeks rather than months.
Approach / What changed
Notion integrated Cursor through the Cursor SDK behind a provider-agnostic harness for external agents. Threads map to agents and messages to runs; runs support repository, model, MCP server, and automatic PR settings, stream over SSE, resume after connection drops, and use remote MCP for workspace-aware operations.
Takeaways
The first message in a Notion thread creates a Cursor agent with a prompt, selected repository, model, optional MCP servers, and automatic PR creation enabled.
Each follow-up message starts a new agent run streamed over SSE, allowing users to watch progress and resume from the last event after a dropped connection.
Remote MCP lets Cursor read and write Notion workspace state in real time, while templates, custom instructions, skills, subagents, and triggers customize agent behavior.
Source and freshness
- Source
- cursor.com
- Published
- Added to Yomu
- Last updated
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.