mirror of
https://github.com/RightNow-AI/openfang.git
synced 2026-07-30 06:32:17 +00:00
Fix Notion MCP server env var name (NOTION_API_KEY → NOTION_TOKEN)
This commit is contained in:
@@ -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.
|
||||
"""
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user