notion mcp for Gemini CLI
io.github.shck-dev/notion-mcp
Notion MCP server — search, export, and import pages as markdown
client:Gemini CLI
transport:stdio
runtime:npm
Install notion mcp in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"notion-mcp": {
"command": "npx",
"args": [
"-y",
"@shck-dev/notion-mcp"
],
"env": {
"NOTION_TOKEN": "<NOTION_TOKEN>",
"NOTION_USER_ID": "<NOTION_USER_ID>",
"NOTION_SPACE_ID": "<NOTION_SPACE_ID>"
}
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs