Exa リモートMCPを Claude Code にMCP接続する方法(設定手順)
Exa のリモートMCPサーバーを Claude Code に約1分でMCP接続。OAuth / 401 の問題は先に OAuth 2.1 デバッガーで確認できます。
🔒 Client-side only — never leaves your browser.
Or add to ~/.cursor/mcp.json:
{
"mcpServers": {
"exa": {
"url": "https://mcp.exa.ai/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}claude mcp add --transport http exa https://mcp.exa.ai/mcp
With credential header:
claude mcp add --transport http exa https://mcp.exa.ai/mcp --header "Authorization: Bearer YOUR_API_KEY"
Or add to .vscode/mcp.json:
{
"servers": {
"exa": {
"type": "http",
"url": "https://mcp.exa.ai/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}- Open Settings → Connectors (Integrations) → Add Custom Connector.
- Paste the endpoint URL:
https://mcp.exa.ai/mcp - Provide your API key / Bearer token when prompted.
Bridge the remote endpoint into stdio with mcp-remote in claude_desktop_config.json:
{
"mcpServers": {
"exa": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.exa.ai/mcp",
"--header",
"Authorization: Bearer YOUR_API_KEY"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"exa": {
"serverUrl": "https://mcp.exa.ai/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Add to ~/.kiro/settings/mcp.json (or .kiro/settings/mcp.json in your workspace), then reopen Kiro's Agent panel to pick up the server:
{
"mcpServers": {
"exa": {
"url": "https://mcp.exa.ai/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Add to ~/.codex/config.toml — Codex reads remote HTTP servers from [mcp_servers.*] tables:
[mcp_servers.exa] url = "https://mcp.exa.ai/mcp" bearer_token_env_var = "EXA_TOKEN"
Add to cline_mcp_settings.json (Cline → MCP Servers → Configure), or paste it via Cline's MCP marketplace file:
{
"mcpServers": {
"exa": {
"type": "streamableHttp",
"url": "https://mcp.exa.ai/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Add to ~/.gemini/settings.json under mcpServers — httpUrl for Streamable HTTP, url for legacy SSE:
{
"mcpServers": {
"exa": {
"httpUrl": "https://mcp.exa.ai/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}接続手順
- 追加コマンドを実行 —
claude mcp add --transport http exahttps://mcp.exa.ai/mcp`` を実行します。 - 認証を完了 — Exa のコンソールで資格情報を取得し、設定の
Authorization: Bearer <キー>ヘッダーに追加します。Claude Code 内で/mcpを実行すると OAuth フローが開始されます。 - 状態を確認 —
claude mcp listで接続済みと表示されれば成功です。OAuth コールバックが失敗する場合はclaude mcp remove exaで削除して再追加し、ブラウザからコールバック URL へ到達できるか確認してください。オンライン Inspector にhttps://mcp.exa.ai/mcpを貼り付け、initialize と tools/list を実行して接続を確認します。
🧰 ツール一覧(11)
| Tool | Safety | Description | Parameters |
|---|---|---|---|
| web_search_exa ~32 tok | 🟢 Read | Search the web with Exa neural search. | — |
| get_code_context_exa ~35 tok | 🟢 Read | Get code context for programming queries. | — |
| research_paper_search ~30 tok | 🟢 Read | Search academic papers. | — |
| company_research ~28 tok | 🟢 Read | Research companies. | — |
| crawling ~29 tok | 🟢 Read | Crawl a URL and extract content. | — |
| competitor_finder ~31 tok | 🟢 Read | Find competitors of a company. | — |
| linkedin_search ~33 tok | 🟢 Read | Search LinkedIn profiles and companies. | — |
| wikipedia_search_exa ~29 tok | 🟢 Read | Search Wikipedia. | — |
| github_search ~29 tok | 🟢 Read | Search GitHub repositories. | — |
| deep_researcher_start ~31 tok | 🟠 Write | Start a deep research task. | — |
| deep_researcher_check ~34 tok | 🟢 Read | Check status of a deep research task. | — |