Notion Integration
STDIOMCP server exposing official Notion SDK for AI models to interact with workspaces.
MCP server exposing official Notion SDK for AI models to interact with workspaces.
A Model Context Protocol (MCP) server that exposes the official Notion SDK, allowing AI models to interact with Notion workspaces.
For your integration to access Notion content, you need to explicitly share your pages or databases with it:
Note: An integration only has access to pages and databases that have been explicitly shared with it. Child pages automatically inherit access from parent pages.
You can add this MCP server to Claude Desktop, Cursor AI, or Claude.ai using either of these configuration formats:
npx @ramidecodes/mcp-server-notion@latest -y --api-key=your-notion-integration-key
{ "mcpServers": { "Notion": { "command": "npx", "args": [ "@ramidecodes/mcp-server-notion@latest", "-y", "--api-key=your-notion-integration-key" ] } } }
Replace your-notion-integration-key
with the API key from step 1.
The server provides tools for interacting with Notion:
Instead of passing the API key directly, you can use a .env
file:
.env
file with:NOTION_API_KEY=your-notion-integration-key
npx @ramidecodes/mcp-server-notion@latest -y
You can also use environment variables in the JSON configuration format:
{ "mcpServers": { "Notion": { "command": "npx", "args": [ "@ramidecodes/mcp-server-notion@latest", "-y", "--api-key=your-notion-integration-key" ] } } }
OPTIONS:
-h, --help Show help message
-v, --version Show version information
--verbose Enable verbose logging
--env-path <path> Path to .env file
--api-key <key> Notion API key
-y Skip confirmation prompts
If you encounter "Failed to create client" errors:
cmd /c
before the npx commandFor detailed documentation on each tool, see the Tools Documentation.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.