notion mcp for VS Code
io.github.shck-dev/notion-mcp
Notion MCP server — search, export, and import pages as markdown
client:VS Code
transport:stdio
runtime:npm
Install notion mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "notion-token",
"description": "NOTION_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "notion-user-id",
"description": "NOTION_USER_ID",
"password": true
},
{
"type": "promptString",
"id": "notion-space-id",
"description": "NOTION_SPACE_ID",
"password": true
}
],
"servers": {
"notion-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@shck-dev/notion-mcp"
],
"env": {
"NOTION_TOKEN": "${input:notion-token}",
"NOTION_USER_ID": "${input:notion-user-id}",
"NOTION_SPACE_ID": "${input:notion-space-id}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs