Is the Exa MCP server safe? What it can reach
What the Exa MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.
Exa runs an official hosted MCP server at mcp.exa.ai that gives agents web search and page fetching. It works without sign-in at lower rate limits, or with OAuth or an API key. It can’t change your accounts, but it pulls untrusted web text into the model. Pick the tools with the tools URL parameter.
Who maintains it
| Implementation | Kind | Status |
|---|---|---|
| exa-labs/exa-mcp-server (hosted at mcp.exa.ai) | Official | active |
It runs as a local process on your machine or as a hosted remote server. The documented endpoint is https://mcp.exa.ai/mcp.
How it signs in
The hosted server works anonymously with rate limits. OAuth is preferred for higher limits and for Exa Agent. An API key can be sent as an exaApiKey URL parameter, a Bearer header or an x-api-key header, and calls count against that Exa account.
What its tools can do
| Kind | Tools |
|---|---|
| Read | web_search_exa, web_fetch_exa, web_search_advanced_exa |
| Write | agent_run |
| Can’t be undone | none documented |
web_search_exa and web_fetch_exa are on by default. web_search_advanced_exa and agent_run are optional and must be switched on with the tools URL parameter, which replaces the defaults. agent_run starts a multi-step Exa Agent run and needs OAuth or an API key. It is listed under write because it runs paid agent work, not because it edits your data.
Built-in limits
| Option | What it does |
|---|---|
tools URL parameter | Append ?tools=web_search_exa,web_fetch_exa to expose only those tools. Listing tools replaces the defaults. |
dynamicHighlights=true | Beta. Returns shared-budget highlights from search tools so less text reaches the agent’s context. |
Header auth instead of URL key | Send the API key as a Bearer or x-api-key header rather than the exaApiKey URL parameter. |
The risks
- web_fetch_exa and the search tools return text from arbitrary pages, so a web page can carry an instruction that the agent then follows with its other tools.
- Search queries and fetched URLs go to Exa’s servers, so anything you paste into a query leaves your machine.
- A key placed in the URL as exaApiKey can end up in config files, logs and screenshots, and a leaked key lets someone spend your Exa credits.
- agent_run starts long multi-step runs that use credits, so a looping or injected agent can run up cost.
Limit it in Claude Code
Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:
claude mcp add --transport http exa https://mcp.exa.ai/mcpClaude Code names MCP tools mcp__exa__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:
{
"permissions": {
"ask": [
"mcp__exa__agent_run"
]
}
}Limit it in Codex
Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:
[mcp_servers.exa]
url = "https://mcp.exa.ai/mcp"Checklist
- Use OAuth, or a header key, not the key in the URL.
- Limit tools with the tools parameter to what the task needs.
- Leave agent_run off unless you want it.
- Do not paste secrets or private text into search queries.
- Treat fetched pages as untrusted input.
Checked against the vendor documentation on November 25, 2026. exa-labs/exa-mcp-server README · exa-mcp-server README (raw)
What Excellent covers
Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server
Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing