fix(mcp): remove duplicate x-api-key header from Exa config (#1627)

This commit is contained in:
YeonGyu-Kim
2026-02-08 14:19:50 +09:00
parent 5ff08eda3e
commit 22cc0b0dca
3 changed files with 30 additions and 20 deletions
-3
View File
@@ -35,9 +35,6 @@ export function createWebsearchConfig(config?: WebsearchConfig): RemoteMcpConfig
? `https://mcp.exa.ai/mcp?tools=web_search_exa&exaApiKey=${encodeURIComponent(process.env.EXA_API_KEY)}`
: "https://mcp.exa.ai/mcp?tools=web_search_exa",
enabled: true,
headers: process.env.EXA_API_KEY
? { "x-api-key": process.env.EXA_API_KEY }
: undefined,
oauth: false as const,
}
}