Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/openfang-extensions/integrations/notion.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
"""
2 changes: 1 addition & 1 deletion crates/openfang-extensions/src/installer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down