Skip to content

Instantly share code, notes, and snippets.

@fredeerock
Created July 6, 2025 22:38
Show Gist options
  • Save fredeerock/3a73fd5f17edeb05c907c234115ff0f7 to your computer and use it in GitHub Desktop.
Save fredeerock/3a73fd5f17edeb05c907c234115ff0f7 to your computer and use it in GitHub Desktop.
Notion MCP for VS Code
{
"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\"}"
}
}
}
}
@fredeerock
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment