Skip to content

feat(connectors): connect Notion through its hosted MCP server - #782

Merged
olibaron merged 2 commits into
mainfrom
feat/notion-connector
Nov 24, 2026
Merged

olibaron merged 2 commits into
mainfrom
feat/notion-connector

Conversation

@olibaron

@olibaron olibaron commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds Notion as an account connector. It mounts Notion's hosted MCP server (https://mcp.notion.com/mcp) with a grant the Aeven API holds, the same way GitHub, Google, and Microsoft connectors work.

  • Host (account-integrations): notion is a brokered provider. Consent goes through broker.start(), the Host fetches short-lived tokens with broker.token(), and the server is mounted over Streamable HTTP. notion.ts lists the read tools from Notion's published tool reference; every other Notion tool, including any Notion adds later, asks for approval.
  • Settings: Notion row with Notion's mark (monochrome badge) and an en/zh/es description; the approval panel names Notion and GitHub.
  • Preset: a notion connector skill in the aeven preset.
  • Bots: notion is a connector id a bot may be bound to (model-visible enum in the automations tool schema).
  • Docs: account-integrations README (en/zh) and Agent Note 2026-11-24-notion-hosted-mcp-through-the-broker.

The broker side (dynamic client registration, resource parameter, refresh and revocation) is in Aeven-AI/Nodejs-Server and has to be deployed for sign-in to work; until then, starting Notion sign-in fails with "provider sign-in is not configured for this deployment".

Checks

Run locally on a clean worktree at this branch: AVN_GATE_FAIL_FAST=1 pnpm run check:ci (56/56 passed) and pnpm run test (1440 files, 23230 tests passed). Notion's live registration and authorize endpoints accepted the broker's registration, redirect URI, PKCE, and resource parameter.

🤖 Generated with Claude Code

olibaron and others added 2 commits November 24, 2026 11:57
Notion joins the brokered connectors: the Aeven API holds the grant, the Host
mounts https://mcp.notion.com/mcp with short-lived tokens, Notion's read tools
run directly and every other tool asks first. Settings gains Notion's row,
icon and copy; the aeven preset gains a notion skill; bots may bind it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@olibaron olibaron added area/web Browser and Electron graphical interfaces kind/feature Adds or intentionally changes behavior. skip-ci Merge without starting the CI lanes area/tools labels Nov 24, 2026
@olibaron olibaron closed this Nov 24, 2026
@olibaron olibaron reopened this Nov 24, 2026
@olibaron
olibaron merged commit 141ffa8 into main Nov 24, 2026
7 of 11 checks passed
@olibaron
olibaron deleted the feat/notion-connector branch November 24, 2026 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/tools area/web Browser and Electron graphical interfaces kind/feature Adds or intentionally changes behavior. skip-ci Merge without starting the CI lanes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant