Skip to content
Gemini CLI

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

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "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

notion mcp in other clients