Skip to Content
Anuma SDKExpoInternalFunctionscreateNotionProxyTools

createNotionProxyTools

createNotionProxyTools(callMcp: NotionMcpCaller): ToolConfig[]

Defined in: src/tools/notion.ts:969 

Create all Notion MCP tools, routed through the portal.

Same tools as createNotionTools, but no request reaches mcp.notion.com from this runtime: Notion’s MCP server rejects browser origins, so the portal runs the call server-side. When the portal reports the connector is not connected (401, 403, 412), the tool returns the canonical __anuma_connector_error_v1 result. Executors never throw.

Parameters

ParameterTypeDescription

callMcp

NotionMcpCaller

POSTs { tool, arguments } to the portal’s /api/v1/connectors/notion/mcp endpoint and resolves to { status, json }.

Returns

ToolConfig[]

Last updated on