Created
July 6, 2025 22:38
-
-
Save fredeerock/3a73fd5f17edeb05c907c234115ff0f7 to your computer and use it in GitHub Desktop.
Notion MCP for VS Code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"inputs": [ | |
{ | |
"type": "promptString", | |
"id": "notion-api-key", | |
"description": "Notion API Token (https://www.notion.so/my-integrations)", | |
"password": true | |
} | |
], | |
"servers": { | |
"notion": { | |
"type": "stdio", | |
"command": "npx", | |
"args": [ | |
"-y", | |
"@notionhq/notion-mcp-server" | |
], | |
"env": { | |
"OPENAPI_MCP_HEADERS": "{\"Authorization\": \"Bearer ${input:notion-api-key}\", \"Notion-Version\": \"2022-06-28\"}" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This file is used to configure the MCP server for Notion API integration. Name it mcp.json and create a folder named
.vscode
in your project root and place this file inside it. The MCP server will read this configuration to set up the Notion API integration.