Skip to content
VS Code

notion mcp server for VS Code

io.github.awkoy/notion-mcp-server

Token-auth Notion MCP: pages, databases, blocks, comments, files. Runs headless in CI and agents.

client:VS Code transport:stdio runtime:npm

Install notion mcp server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "notion-token",
      "description": "NOTION_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "notion-page-id",
      "description": "NOTION_PAGE_ID",
      "password": true
    }
  ],
  "servers": {
    "notion-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "notion-mcp-server"
      ],
      "env": {
        "NOTION_TOKEN": "${input:notion-token}",
        "NOTION_PAGE_ID": "${input:notion-page-id}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

notion mcp server in other clients