Exa MCP security: does the server meet your tool control requirement?
Exa's hosted MCP server gives you tool narrowing through the tools URL parameter, and it gates the agent_run tool behind OAuth or an API key. The supplied documentation does not describe an SSO or admin policy layer for the MCP server itself, so a security reviewer should not assume that organization-wide allowlisting or central tool policy exists. Treat tool control as something you set in each client's configuration, and confirm with Exa any admin-side enforcement before approving use across staff.
Start by deciding which of the four tools an agent may call: web_search_exa, web_fetch_exa, web_search_advanced_exa and agent_run. Two are enabled by default, web_search_advanced_exa appears only when opted in, and agent_run appears only after the client connects with OAuth through the ?login URL or with an API key. Because an explicit tools list replaces the defaults, the configured list must name every tool you want enabled, not only the extras. Review the endpoint each developer uses, since the hosted address and the OAuth variant produce different tool sets.
Then confirm what the gate means in practice. Advanced Search needs no authentication, so it can be reached without any sign-in, while authenticated connections draw on your own plan and rate limits. A research run that outlasts a single MCP call continues on Exa and returns an id the assistant can call again to resume, so an agent may keep working after the first request ends. Check the Exa MCP documentation for current tool behavior, and review the open-source exa-mcp-server repository if you need to verify what the local package exposes. Record the approved tools list in your configuration standard so that any change is visible in review.
Exa MCP tools and controls by authentication mode
This table compares the four Exa MCP tools and the controls around them across three ways of connecting: no key, an API key, and OAuth through the ?login variant. Read each cell as the tool's state in that mode, with the default state first. The main takeaway is that agent_run is only offered once a client authenticates, so an organization that wants to govern it must govern the sign-in method as well.
| Tool or control | No API key | API key | OAuth (?login) |
|---|---|---|---|
| web_search_exa | Default on, free rate limit | Default on, your plan and limits | Default on, your plan and limits |
| web_fetch_exa | Default on, free rate limit | Default on, your plan and limits | Default on, your plan and limits |
| web_search_advanced_exa | Opt-in, no authentication required | Opt-in, your plan and limits | Opt-in, your plan and limits |
| agent_run | Not offered, cannot use free limits | Default on, requires API key | Default on, requires OAuth sign-in |
| tools URL parameter | Narrows visible tools; explicit list replaces defaults | Same behavior; list must name every tool | Same behavior; list must name every tool |
| ?login variant | Not used | Not documented in supplied facts; confirm how the key is supplied | Sign-in variant that enables agent_run |
| Long research runs | Not offered with agent_run | Run continues on Exa; resume with returned id | Run continues on Exa; resume with returned id |
| Admin enforcement and audit logs | Not documented in supplied facts; confirm with Exa | Not documented in supplied facts; confirm with Exa | Not documented in supplied facts; confirm with Exa |
How the tools URL parameter and authentication decide what the agent sees
The endpoint a client is configured with decides which tools the agent can see. The hosted server at and the OAuth sign-in variant at are different configurations, and the tools URL parameter narrows the set further. Exa's documentation says an explicit tools list replaces the defaults, so it must name every tool you want enabled. A reviewer should therefore read the full configured URL, not only the server name, before approving a client. A list that names only web_search_exa will silently drop web_fetch_exa, and a list that adds agent_run must be checked against the authentication mode it runs under. Confirm the exact parameter syntax in Exa's MCP documentation before writing any approved configuration.
The four tools have different gating. web_search_exa and web_fetch_exa are enabled by default, web_search_advanced_exa appears only when opted in, and agent_run is enabled by default only with OAuth or an API key. Exa's docs state that agent_run cannot use the free rate limits, so it appears only once the client connects through OAuth or an API key. That makes the authentication mode a permissions decision: an unauthenticated connection exposes search and fetch on the free rate limit, while an authenticated connection exposes the usage-based research tool and bills the organization's own Exa plan. Advanced Search does not require authentication, but authenticated connections use your own plan and rate limits, so the policy for each mode should be written down before rollout.
Long research runs change how the client should be governed. When a research run outlasts one MCP call, the run continues on Exa, and the tool reports a running status with an id that the assistant can call again to resume. The assistant holds that id for the duration of the task, so reviewers should ask who may start runs, how long a run may continue, and how an operator would find a run started on a shared credential. Confirm with Exa how run records are retained and whether they can be listed or cancelled by an administrator, since the documentation supplied does not settle those points. Until they are confirmed, treat agent_run as a metered, asynchronous capability that needs its own approval.
Decisions to make before enabling agent_run
Four decisions shape what an agent can reach through the Exa MCP server: where the server runs, whether calls are anonymous or tied to an account, whether advanced search is exposed, and who may use the usage-based research tool. Each one changes the data path, the cost exposure, the rate limits or the tool surface, so set them together in one written policy.
Hosted endpoint or local npm run
The hosted server at runs on Exa's infrastructure, so queries and fetched content pass through Exa's systems. The local option runs the exa-mcp-server npm package through npx with your own key in the EXA_API_KEY environment variable, which keeps the MCP process on a machine you manage. Ask Exa which data is retained for each path, and confirm that the local package version you approve matches the open-source code your reviewers read. Hosted use is the simpler choice for most teams, while local use gives you more control over where the process runs.
Exa MCP server repositoryAnonymous free tier or authenticated use
Exa's docs say search and fetch work on the hosted server without an API key, at a free rate limit. Authenticated connections, whether by API key or the OAuth sign-in variant, run on your own plan and rate limits, so usage is attributable to an account you can track and bill. Anonymous use leaves no account owner for cost or audit questions. Decide whether staff may use the free tier at all, and if not, make authenticated access the only path your clients are configured to use.
Exa MCP docsOpting in to advanced search
The web_search_advanced_exa tool is available only when you opt in, and it expands the tool surface a client sees. Exa's docs say Advanced Search does not require authentication, so opting in does not add a sign-in control on its own. Treat it as a separate approval: name the teams that need it, confirm the tools URL parameter lists it explicitly, and record the decision so reviewers can see why a broader search tool is enabled.
Exa MCP tool listWho may use agent_run
The agent_run tool appears only after the client connects with OAuth through the ?login URL or with an API key, because it cannot use the free rate limits. Each run can continue on Exa after one MCP call ends and can be resumed by id, so a single approved user may trigger work that lasts longer than an interactive search. Limit exposure to a named group, such as a research or analyst team, and confirm which accounts hold the plan that pays for those runs. Ask who reviews usage and how a user's access is removed when their role changes.
Exa MCP setup docsHow a client request reaches the Exa tool set
The request starts in the MCP client, which connects to the hosted Exa endpoint either without credentials, through the OAuth login variant, or with an API key. The tools parameter then filters which tools the client sees, and agent_run appears only on authenticated connections. Check which connection mode your staff use, and confirm the explicit tools list in each client configuration, since an explicit list replaces the defaults.
Connection mode and the tools parameter together decide which Exa tools a client sees.
Where the Exa MCP server falls short for enterprise control
The supplied Exa documentation describes which tools the server exposes and how the URL parameter and authentication narrow them, but it does not describe an admin allowlist, a per-user tool policy, a tool call audit log or a central approval mechanism. Each card below names one of these gaps, the usual way teams cover it, and what to confirm with Exa before approving the server.
No documented admin allowlist
The Exa MCP documentation describes the tools URL parameter, which a client's configuration sets, but it does not describe an organization-wide allowlist that an administrator can enforce across staff. Any user who can edit their client configuration can add or remove tools. Teams usually cover this with client-side allowlisting in managed client settings, or by approving a single pinned configuration. Ask Exa whether an administrator can lock the tools list, the endpoint and the authentication mode for all users.
Exa MCP docsNo per-user tool policy
The tools parameter applies to a client connection, not to a person or group. An engineer on a personal OAuth login and a contractor on a shared API key can end up with different tools, and the server does not describe how a security team assigns tool access by identity. Covering this usually means limiting the server to the tools the team needs at the client level and standardizing which credential each group uses. Confirm with Exa whether role-based tool access exists for enterprise accounts.
No audit log of tool calls
The supplied facts describe how research runs continue on Exa and return an id for resumption, but they do not describe a record of which tools an agent called, with what queries, or on whose behalf. Without that record, an investigation into a bad search or an unexpected fetch depends on client logs alone. Teams commonly route traffic through an internal gateway that logs requests and responses. Ask Exa what call-level logs exist, how long they are kept, and whether they can be exported to a security information system.
Approval prompts depend on the client
The Exa server does not describe its own confirmation step before an agent runs a tool, so approval behavior depends on the MCP client that connects to it. A client set to auto-approve will run Exa tools without a person reviewing each call. The usual control is to set the client's approval mode for external tools explicitly and to document that setting in the rollout standard. Confirm with Exa whether the server ever requires a human confirmation, and check each client's approval defaults before rollout.
Running a local server under internal control
Exa publishes the server as open source under an MIT license, and its docs describe running it locally through npx with an Exa API key in the EXA_API_KEY environment variable. A locally run copy keeps the process, the pinned version and the key storage under the organization's control, which addresses several gaps above. The trade-off is that the team then owns patching, version review and secret handling. Confirm with Exa which release the team should pin and how it notifies customers of security changes.
Exa MCP server repositoryHow the answer changes by client and deployment model
The simplest path is the hosted endpoint at with no credentials. Exa's docs say no API key is needed to try search and fetch on this server, at a free rate limit. In this mode the client sees the default tools, web_search_exa and web_fetch_exa, and does not see agent_run, because that tool is enabled by default only with OAuth or an API key. Advanced search, web_search_advanced_exa, appears only when opted in. Because no account is attached, usage is not tied to an identity your organization manages, which makes this mode suited to evaluation rather than production rollout.
- Tools visible: web_search_exa and web_fetch_exa by default, with web_search_advanced_exa only when opted in.
- Tools parameter: an explicit tools list replaces the defaults, so a list must name every tool you want enabled, including the two defaults if you still need them.
- Identity: no sign-in means no per-user attribution on the Exa side that your team controls.
- Rate limit: the free limit applies, so confirm whether a pilot will hit it under normal use.
- Review point: confirm which client configuration each developer uses, since a shared or personal endpoint setting can differ from the approved one.
Before approving this mode, confirm which tools your client loads and whether the tools parameter in each configuration file matches the policy you wrote.
Connecting the hosted endpoint with an API key authenticates the client to an Exa account, so usage counts against that account's plan and rate limits rather than the free tier. Once authenticated, agent_run becomes available alongside the default search and fetch tools, because Exa's docs say that tool requires OAuth or an API key. The key is a long-lived credential that the client must hold, so the review focuses on who issues it, where it is stored and how it is rotated.
- Tools visible: web_search_exa, web_fetch_exa and agent_run, with web_search_advanced_exa only when opted in.
- Tools parameter: the same rule applies, so a custom tools list that omits agent_run will hide it even though the key is valid.
- Plan and limits: authenticated connections use your own plan and rate limits, so confirm which plan the key belongs to.
- Credential handling: require a named key per team or owner, stored in a secrets manager instead of a shared config file.
- Review point: ask Exa, through the Enterprise sales route the security page describes, how keys are scoped and revoked.
Before approving a key, confirm who owns the Exa account, who can create keys and how a departing employee's access would be removed.
The OAuth variant uses which ties the connection to an individual user's sign-in instead of a shared key. Exa's docs say agent_run appears only once the client connects with OAuth or an API key, so this mode exposes the same four tools as the key path when opted in. The difference for a reviewer is attribution and lifecycle: access is granted to a person, and it can be withdrawn through that person's session rather than by rotating a credential everyone shares.
- Tools visible: the default search and fetch tools plus agent_run, once the client has connected through OAuth.
- Tools parameter: the tools list still replaces the defaults, so confirm the list that developers paste matches the approved set.
- Attribution: usage is linked to a user sign-in, which helps incident investigation when that user's activity is reviewed.
- Enterprise sign-in: Exa's docs for enterprise sign-in are a separate topic, so confirm with Exa whether your identity provider is supported before you depend on it.
- Review point: test that revoking a user's access actually stops the agent from calling agent_run.
Before approving OAuth, confirm which identity provider signs users in, which accounts can authorize the connection and how a sign-in is revoked.
The local option runs the exa-mcp-server npm package through npx, with your own Exa API key in the EXA_API_KEY environment variable. The server source is in the exa-labs/exa-mcp-server GitHub repository, which shows an MIT license, so a security team can read the code it runs. Requests then leave the workstation toward Exa using your key rather than a hosted session. Because the process runs on the endpoint, the review shifts from the hosted endpoint to package provenance, the version pinned, the environment where the key sits and what the local process can reach.
- Tools visible: the same four tools as the hosted server, subject to the same defaults and opt-in rules, so confirm the version your package resolves to.
- Tools parameter: configure the tools list in the local client setup so that agent_run and advanced search appear only where approved.
- Key handling: the EXA_API_KEY value must not be committed to repositories or shared dotfiles.
- Supply chain: pin a reviewed package version and review updates through your normal software intake, rather than fetching the latest version at each launch.
- Review point: confirm which endpoints the process contacts and whether egress from developer machines is permitted under your network policy.
Before approving this path, confirm the pinned version, where the internal key is stored and whether the endpoint's network rules allow the outbound traffic the process needs.
Order of work before approving the Exa MCP server
This sequence turns the Exa MCP server from a default configuration into an approved one, with each tool, authentication path and usage limit confirmed before staff connect. The reviewer ends with a written record that names the exact endpoint and tool list each client may use.
Inventory the tool list each client sees
Connect a test client to the hosted endpoint at without signing in, then record which tools appear. Exa's docs list four tools: web_search_exa and web_fetch_exa are on by default, web_search_advanced_exa is available when opted in, and agent_run is on by default only with OAuth or an API key. Repeat the check for each client your staff use, because the visible list depends on how the client connects. The output is a dated screenshot or export of the tool list per client, which becomes the baseline for the rest of the review.
Set the tools parameter to the minimum set
Decide which tools each team needs and write the tools parameter so it names every one of them. The Exa docs say an explicit tools list replaces the defaults, so omitting a tool you still need will hide it, and adding a tool you do not need will expose it. Name the chosen endpoint variant in the approved configuration, and keep any opt-in tool such as web_search_advanced_exa out of the list unless a documented use case requires it. The check is a second client connection that shows only the tools on the list.
Decide the authentication mode for agent_run
Choose whether agent_run is available at all and, if so, which sign-in path gates it. The docs state that agent_run cannot use the free rate limits, so it appears only once the client connects with OAuth through the ?login URL at or with an API key. Security and identity owners should decide whether individual OAuth sign-in or a shared API key fits the team's accountability model, and record the reason. The output is a signed decision naming the mode and the owner of the credential.
Confirm usage limits on the chosen plan
Ask Exa which rate limits and usage terms apply to the plan that will back the approved configuration. Exa's docs say Advanced Search needs no authentication but that authenticated connections use your own plan and rate limits, so the account behind each credential sets the ceiling. Confirm the limit figures in writing with Exa rather than relying on the free tier numbers, and check whether usage can be seen per user or only per key. The output is a written answer from Exa stored with the approval record.
Test that a long run resumes correctly
Start an agent_run task on a sample question that is likely to outlast a single MCP call, using a test account. Exa's docs say the run then continues on Exa and the tool reports a running status with an id that the assistant can call again to resume. Verify that the client returns the id, that a second call with that id returns the result, and that the run does not restart or duplicate work. If the id is lost or the result cannot be retrieved, record that as a blocking finding for the reviewer.
Record the approved configuration
Write a single approval record that names the endpoint, the exact tools parameter, the authentication mode for agent_run, the plan and limits confirmed with Exa, the owner of each credential, and the clients covered. Attach the test evidence from the earlier steps, and set a review point to repeat the tool inventory whenever the client or endpoint changes. The approval is complete when the configuration in the record matches what a fresh client connection shows, and an approver has signed it.
Evidence a security reviewer should request
This table lists the evidence a reviewer should collect for the Exa MCP server, with the source for each item. Use it to confirm what each client is configured to expose and which vendor statements the approval depends on, and treat any item you cannot match to a document as an open question.
| Evidence item | What to collect | Where it comes from |
|---|---|---|
| Tools parameter per client | The exact tools value each client uses, listing every tool that is enabled. An explicit list replaces the defaults, so an omitted tool stays off. | Exa MCP docs (exa.ai/docs/get-started/exa-mcp) |
| Authentication mode per group | Which groups connect with no key, an API key or OAuth through the ?login endpoint, and which tools each group therefore sees, including agent_run. | Exa MCP docs, hosted endpoint and OAuth variant |
| Default tool set | A written record that web_search_exa and web_fetch_exa are on by default, web_search_advanced_exa needs opt-in, and agent_run needs OAuth or an API key. | Exa MCP docs tool listing |
| Local server version | If any group runs the local server, the exa-mcp-server package version in use and the matching commit or tag reviewed in the repository. | exa-labs/exa-mcp-server on GitHub (MIT license) |
| Local key handling | Where the EXA_API_KEY value is stored, who holds it, and whether it is scoped to a team account rather than a personal one. | Exa MCP docs, local option; confirm storage with your own secrets policy |
| Security Overview statements | A dated copy of the Exa Security Overview, including what it says about Zero Data Retention and HIPAA, which it ties to an Enterprise plan. | Exa Security Overview (exa.ai/docs/reference/security) |
| SOC 2 Type II position | Confirmation of the current report period and scope from Exa's trust site, reviewed by your own assessor. Vendor statement alone does not establish control operation. | Exa Security Overview, pointing to trust.exa.ai |
| Data Processing Agreement | The signed DPA and any subprocessor list tied to the contract, not the public page alone. | Exa trust documentation referenced by the Security Overview |
Questions buyers ask about Exa MCP security
Can I restrict agent_run to specific users with the Exa MCP server?
Exa's docs say agent_run is enabled by default only when the client connects with OAuth (the ?login URL) or an API key, so it appears only for authenticated connections. The docs describe that gate, but they do not describe a per-user allowlist for that tool. Ask Exa sales and confirm in writing whether admins can grant or withhold agent_run per user or per workspace. If they cannot, your control is to decide which users receive OAuth or API key access, and to keep the tool name out of any shared tools list for everyone else.
Does the Exa MCP server require an API key to run?
No. Exa's docs say no API key is needed to try search and fetch on the hosted server at a free rate limit. Advanced Search also does not require authentication, although authenticated connections use your own plan and rate limits. The agent_run tool is the exception, because it cannot use the free rate limits and only appears after OAuth or an API key is in place. For production use, decide whether unauthenticated free use is acceptable for your staff before you rely on it for any sensitive workflow.
What does free use of the hosted Exa MCP server allow?
Exa's docs say free use covers search and fetch on the hosted server without an API key, subject to a free rate limit. Exa's docs do not give that limit as a number here, so check the current value on the MCP documentation page before you rely on it. Free use does not include agent_run. Because the free tier does not tie usage to an account you administer, treat it as unmanaged for audit purposes and confirm what identifying information, if any, the endpoint receives.
Does running the Exa MCP server locally change how much control I have?
Yes, it changes where the server runs and which key it uses. Exa's docs describe running the exa-mcp-server npm package through npx with your own key in the EXA_API_KEY environment variable. The server code is in the exa-labs/exa-mcp-server GitHub repository under an MIT license, so your security team can read what it does before deployment. A local run keeps the MCP process on machines you manage and lets you pin the package version, but requests still go to Exa's API, so the data terms for that API still apply. Your team also takes on patching and key storage.
What should I confirm with Exa sales before approving enterprise terms?
Exa's security overview says Zero Data Retention and HIPAA compliance are discussed through an Enterprise plan with Exa sales, so these are not self-serve. Ask which plan includes each term, whether it applies to the MCP endpoint or only the API, how agent_run run state is stored while a research run continues on Exa, and how long logs are kept. Request the current SOC 2 Type II report and Data Processing Agreement from trust.exa.ai, and ask for written confirmation of any sub-processors and data locations.
How much internal effort does an Exa MCP security review take?
The main effort is internal review time, which depends on how many user groups you plan to connect, whether you need agent_run, and whether you run the server locally or use the hosted endpoint. Costs rise with the number of approval paths, the depth of your data classification work, and any legal review of Exa's Data Processing Agreement. Costs fall when you start with the default tools, keep agent_run off until the terms are confirmed, and document one approved configuration. Any vendor fees for an Enterprise plan come from Exa's quote, which you should request in writing. DeployOpen can run a security review of your own AI agent setup on a fixed scope agreed in writing, if you want an independent test of the configuration.
How DeployOpen helps organizations review and govern the Exa MCP server
DeployOpen reviews the Exa MCP server as one part of the agent setup your staff actually use, starting with which tools are enabled and how the tools URL parameter narrows them. The work then covers authentication modes, the usage-based agent tool, and the evidence your security and procurement reviewers need before approval.
How we scope
- Inventory which Exa tools each client sees, including the default set and any opt-in tools
- Confirm which authentication mode each team uses: API key, OAuth sign-in, or local key
- Agree in writing which clients, plans and endpoints fall within the fixed scope and timeline
How we build
- Test the tools URL configurations, checking whether agent_run is exposed only where OAuth or an API key is set
- Review prompt injection exposure from fetched web pages and how the agent acts on that content
- Check how credentials are stored, how the EXA_API_KEY variable is handled, and how the local npx setup is governed
How we hand over
- Deliver a findings report with the recommended tools list, authentication settings and fixes for each finding
- Document where data leaves your environment and which Exa terms, SOC 2 reports and DPA your reviewers should request
- Retest after fixes so the approved configuration matches what developers actually connect
How we support
- Offer ongoing support and continuous testing as a retainer when tools, plans or client configurations change
- Revisit the tools parameter and sign-in settings when staff adopt new clients or enterprise sign-in options
- Prepare evidence for internal reviews and customer security questionnaires that ask about this tool

