Lets agents work with Notion pages, databases and comments.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add systemprompt-notion --env NOTION_API_KEY='<NOTION_API_KEY>' --env SYSTEMPROMPT_API_KEY='<SYSTEMPROMPT_API_KEY>' -- npx -y @smithery/cli install systemprompt-mcp-notion --client claude~/.codex/config.toml
[mcp_servers.systemprompt-notion]
command = "npx"
args = ["-y", "@smithery/cli", "install", "systemprompt-mcp-notion", "--client", "claude"]
env = { NOTION_API_KEY = "<NOTION_API_KEY>", SYSTEMPROMPT_API_KEY = "<SYSTEMPROMPT_API_KEY>" }
# codex mcp add systemprompt-notion --env NOTION_API_KEY='<NOTION_API_KEY>' --env SYSTEMPROMPT_API_KEY='<SYSTEMPROMPT_API_KEY>' -- npx -y @smithery/cli install systemprompt-mcp-notion --client claude~/.cursor/mcp.json
{
"mcpServers": {
"systemprompt-notion": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"systemprompt-mcp-notion",
"--client",
"claude"
],
"env": {
"NOTION_API_KEY": "<NOTION_API_KEY>",
"SYSTEMPROMPT_API_KEY": "<SYSTEMPROMPT_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"systemprompt-notion": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"systemprompt-mcp-notion",
"--client",
"claude"
],
"env": {
"NOTION_API_KEY": "<NOTION_API_KEY>",
"SYSTEMPROMPT_API_KEY": "<SYSTEMPROMPT_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"systemprompt-notion": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"systemprompt-mcp-notion",
"--client",
"claude"
],
"env": {
"NOTION_API_KEY": "<NOTION_API_KEY>",
"SYSTEMPROMPT_API_KEY": "<SYSTEMPROMPT_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"systemprompt-notion": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"systemprompt-mcp-notion",
"--client",
"claude"
],
"env": {
"NOTION_API_KEY": "<NOTION_API_KEY>",
"SYSTEMPROMPT_API_KEY": "<SYSTEMPROMPT_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"systemprompt-notion": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"systemprompt-mcp-notion",
"--client",
"claude"
],
"env": {
"NOTION_API_KEY": "<NOTION_API_KEY>",
"SYSTEMPROMPT_API_KEY": "<SYSTEMPROMPT_API_KEY>"
}
}
}
}Environment variables
NOTION_API_KEYSYSTEMPROMPT_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.