Repository navigation
feat(connectors): connect Notion through its hosted MCP server - #782
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.account-integrations):notionis a brokered provider. Consent goes throughbroker.start(), the Host fetches short-lived tokens withbroker.token(), and the server is mounted over Streamable HTTP.notion.tslists the read tools from Notion's published tool reference; every other Notion tool, including any Notion adds later, asks for approval.notionconnector skill in the aeven preset.notionis a connector id a bot may be bound to (model-visible enum in the automations tool schema).2026-11-24-notion-hosted-mcp-through-the-broker.The broker side (dynamic client registration,
resourceparameter, 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) andpnpm 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