MCP Server Studio
Token-auth Notion MCP: pages, databases, blocks, comments, files. Runs headless in CI and agents.
Registry name: io.github.awkoy/notion-mcp-server
Add to claude_desktop_config.json:
{
"mcpServers": {
"notion-mcp-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"NOTION_TOKEN": "<NOTION_TOKEN>",
"NOTION_PAGE_ID": "<NOTION_PAGE_ID>"
}
}
}
}Run in your terminal:
claude mcp add notion-mcp-server -e NOTION_TOKEN='<NOTION_TOKEN>' -e NOTION_PAGE_ID='<NOTION_PAGE_ID>' -- npx -y [email protected]Add to .cursor/mcp.json:
{
"mcpServers": {
"notion-mcp-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"NOTION_TOKEN": "<NOTION_TOKEN>",
"NOTION_PAGE_ID": "<NOTION_PAGE_ID>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"notion-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"NOTION_TOKEN": "<NOTION_TOKEN>",
"NOTION_PAGE_ID": "<NOTION_PAGE_ID>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"notion-mcp-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"NOTION_TOKEN": "<NOTION_TOKEN>",
"NOTION_PAGE_ID": "<NOTION_PAGE_ID>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
NOTION_TOKEN | Yes | Notion Personal Access Token (ntn_...) or Internal Integration Secret. Create at https://app.notion.com/developers/tokens |
NOTION_PAGE_ID | No | Optional default parent page ID used by create_page / create_database when no parent is passed. |
NOTION_TOKEN | Yes | Notion Personal Access Token (ntn_...) or Internal Integration Secret. Create at https://app.notion.com/developers/tokens |
NOTION_PAGE_ID | No | Optional default parent page ID used by create_page / create_database when no parent is passed. |