notion-mcp

v0.3.38
@alfe.ai/notion-mcp Checked 1 day ago Published 28 days ago

Notion MCP proxy server — bridges the official @notionhq/notion-mcp-server with Alfe OAuth credentials

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. The executable is notion-mcp-proxy.

Summary extracted from the 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-mcp

The 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: confirmBlockId equals block_id
  • archival API-update-a-block: confirmBlockId equals block_id
  • trash/archive API-patch-page: confirmPageId equals page_id