Skip to content

Enable write operations in the Notion plugin #1468

Closed

Description

@MisterJimson

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:

  1. Junior can find the correct destination page.
  2. It may discuss or draft the intended change.
  3. 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-pages
  • notion-update-page
  • notion-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

Activity

  1. dcramer commented on Aug 12, 2026

    @dcramer
    Member

    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

  2. added a commit that references this issue on Aug 18, 2026
    269866a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions