Wraps the official Notion SDK so AI models can work with a Notion workspace.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add notion-server-ramidecodes --env NOTION_API_KEY='<NOTION_API_KEY>' -- npx @ramidecodes/mcp-server-notion@latest -y --api-key=your-notion-integration-key~/.codex/config.toml
[mcp_servers.notion-server-ramidecodes]
command = "npx"
args = ["@ramidecodes/mcp-server-notion@latest", "-y", "--api-key=your-notion-integration-key"]
env = { NOTION_API_KEY = "<NOTION_API_KEY>" }
# codex mcp add notion-server-ramidecodes --env NOTION_API_KEY='<NOTION_API_KEY>' -- npx @ramidecodes/mcp-server-notion@latest -y --api-key=your-notion-integration-key~/.cursor/mcp.json
{
"mcpServers": {
"notion-server-ramidecodes": {
"command": "npx",
"args": [
"@ramidecodes/mcp-server-notion@latest",
"-y",
"--api-key=your-notion-integration-key"
],
"env": {
"NOTION_API_KEY": "<NOTION_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"notion-server-ramidecodes": {
"type": "stdio",
"command": "npx",
"args": [
"@ramidecodes/mcp-server-notion@latest",
"-y",
"--api-key=your-notion-integration-key"
],
"env": {
"NOTION_API_KEY": "<NOTION_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"notion-server-ramidecodes": {
"command": "npx",
"args": [
"@ramidecodes/mcp-server-notion@latest",
"-y",
"--api-key=your-notion-integration-key"
],
"env": {
"NOTION_API_KEY": "<NOTION_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"notion-server-ramidecodes": {
"command": "npx",
"args": [
"@ramidecodes/mcp-server-notion@latest",
"-y",
"--api-key=your-notion-integration-key"
],
"env": {
"NOTION_API_KEY": "<NOTION_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"notion-server-ramidecodes": {
"command": "npx",
"args": [
"@ramidecodes/mcp-server-notion@latest",
"-y",
"--api-key=your-notion-integration-key"
],
"env": {
"NOTION_API_KEY": "<NOTION_API_KEY>"
}
}
}
}Environment variables
NOTION_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.