Merge pull request #696 from Abhishek21k/fix(#660)/notion-api-token-fix

Fix Notion MCP server env var name (NOTION_API_KEY → NOTION_TOKEN)
This commit is contained in:
Jaber Jaber
2026-03-27 16:38:53 +03:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
@@ -11,7 +11,7 @@ command = "npx"
args = ["-y", "@notionhq/notion-mcp-server"]
[[required_env]]
name = "NOTION_API_KEY"
name = "NOTION_TOKEN"
label = "Notion Integration Token"
help = "An internal integration token created in your Notion workspace settings"
is_secret = true
@@ -24,5 +24,5 @@ unhealthy_threshold = 3
setup_instructions = """
1. Go to https://www.notion.so/my-integrations and click 'New integration'.
2. Give it a name, select your workspace, and grant the required capabilities (Read/Update/Insert content).
3. Copy the Internal Integration Token and paste it into the NOTION_API_KEY field above. Then share relevant pages with the integration in Notion.
3. Copy the Internal Integration Token and paste it into the NOTION_TOKEN field above. Then share relevant pages with the integration in Notion.
"""
+1 -1
View File
@@ -327,7 +327,7 @@ mod tests {
// Provide key directly
let mut keys = HashMap::new();
keys.insert("NOTION_API_KEY".to_string(), "ntn_test_key_123".to_string());
keys.insert("NOTION_TOKEN".to_string(), "ntn_test_key_123".to_string());
let result = install_integration(&mut registry, &mut resolver, "notion", &keys).unwrap();
assert_eq!(result.id, "notion");