Repository navigation
Description
Summary
Warning, the below issue content is AI generated, but this is a feature request I have.
Extend @sentry/junior-notion beyond its current read-only notion-search / notion-fetch surface so Junior can create and edit Notion pages when a user explicitly requests it.
Problem
The hosted Notion MCP server supports write operations, but the Junior plugin intentionally exposes only search and fetch. This produces a confusing workflow:
- Junior can find the correct destination page.
- It may discuss or draft the intended change.
- After the user confirms, Junior discovers that page creation or editing is not exposed and cannot complete the task.
A recent example was moving a Slack Canvas runbook into a known Notion runbooks page: Junior found the destination and requested confirmation, then failed because page creation was unavailable.
The initial read-only scope was intentional in #75, but Notion is increasingly used as a destination for runbooks, meeting notes, and structured knowledge—not only as a retrieval source.
Proposed scope
Expose a deliberately limited set of Notion write tools:
notion-create-pagesnotion-update-pagenotion-move-pages(if supported and safe)
Keep broader administrative/destructive operations such as database deletion or unrestricted schema changes out of scope.
Update the Notion skill so it:
- checks tool availability before promising a write;
- fetches the destination/current page before updating it;
- clearly summarizes the proposed mutation;
- obtains explicit user confirmation before creating, editing, or moving content;
- returns the resulting Notion page URL;
- fails clearly when the authenticated user lacks access.
OAuth and permissions
Existing Notion OAuth grants may require incremental authorization or reauthorization when write tools are first used. This should be tested alongside #694, while keeping the distinction clear: OAuth upscoping cannot help until the write tools are included in the plugin allowlist.
Acceptance criteria
- The plugin exposes page creation and content/property update tools.
- Page move support is exposed if the hosted Notion MCP implementation provides an appropriately scoped operation.
- The skill requires explicit confirmation before mutations.
- Junior checks capabilities before telling the user it can complete a write.
- Existing read-only search/fetch behavior remains unchanged.
- Existing OAuth users receive a working reauthorization path when additional scopes are required.
- Tests cover create, update, move, denied permission, cancelled confirmation, and unavailable-tool behavior.
- Documentation explains the write surface, authorization model, and safety boundaries.
Related
- Add first-class Notion plugin with generalized oauth-bearer support #75 — original read-only Notion plugin scope
- Support runtime permission escalation for MCP providers #694 — runtime permission escalation for MCP providers
Activity
dcramer commentedon Aug 12, 2026
only thing id want to check is notions mcp has the right annotations for readonly vs openworld vs desctructive. if it has that guardian should make all these operations generally safe
feat(notion): expose limited write tools (getsentry#1480)