@alfe.ai/notion-mcp
v0.3.23
Published
Notion MCP proxy server — bridges the official @notionhq/notion-mcp-server with Alfe OAuth credentials
Readme
@alfe.ai/notion-mcp
A runtime-agnostic stdio MCP proxy that connects Alfe agents to one or more Notion workspaces through the official Notion MCP server.
The proxy requires an explicit workspaceId on every credential-touching tool,
keeps OAuth tokens out of tool results and child logs, and starts one pinned
official child per usable workspace. It also bounds child traffic and requires
target-matching confirmation for block/page deletion operations.
Install
npm install @alfe.ai/notion-mcpThe executable is notion-mcp-proxy. Alfe normally installs and configures it
through the Notion integration manifest; it expects agent API configuration at
startup rather than a Notion token in the parent environment.
Multi-workspace behavior
Call notion_list_accounts first and pass one returned workspaceId to every
other tool. notion_check_connection validates a selected connection without
returning the Notion user profile. Connecting another workspace requires a
daemon restart so the child pool can be rebuilt.
Destructive calls require an additional exact target confirmation:
API-delete-a-block:confirmBlockIdequalsblock_id- archival
API-update-a-block:confirmBlockIdequalsblock_id - trash/archive
API-patch-page:confirmPageIdequalspage_id
