---
title: "How Notion used the Cursor SDK to embed coding agents"
description: "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."
---

# How Notion used the Cursor SDK to embed coding agents

[Cursor](https://yomu.fyi/company/cursor) · Roshan Sadanani · Jun 25, 2026

**Type:** Announcement

## 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.

**Tags:** [AI Agents](https://yomu.fyi/topic/ai-agents), [Cursor](https://yomu.fyi/topic/cursor), [MCP](https://yomu.fyi/topic/mcp)

- Source: [Cursor](https://cursor.com/blog/notion)
- Source URL: https://cursor.com/blog/notion
- Ingested by Yomu: 2026-09-02T11:42:15.822Z

[Read original post](https://cursor.com/blog/notion)
