Apollo MCP server security: permissions, risky tools and how to lock it down

The Apollo MCP Server can be restricted with scopes, mutation modes and tool exposure, but several controls must be built outside the server. This page sets out what to decide before approval.

On this page

Can the Apollo MCP Server be locked down enough for AI agents?

If you are approving an AI agent connection to a GraphQL API, the short answer is that the Apollo MCP Server can be restricted, but not fully governed by itself. Its core controls are scope enforcement, mutation_mode and the choice of which tools to expose. Per-invocation approval and review of tool descriptions are not built into the server, so those must come from the MCP client, the upstream API or a separate policy layer. The restriction settings are part of the MIT-licensed open-source project in the Apollo MCP Server repository, so you can review them in code before you rely on them.

Start with the three settings that set the blast radius. mutation_mode defaults to none, and the vendor describes its modes as configuration gates rather than human approval. Setting it to all lets the execute tool accept agent-written mutations, because execute takes a new GraphQL document on every call. Scope enforcement defaults to require_all, and overrides.required_scopes can require step-up authorization for sensitive operations, returning a 403 insufficient_scope response. The vendor warns that setting scope_mode to disabled without a matching per-operation requirement lets any valid token call the tool. Confirm these values in your own configuration file, not only in the defaults.

Two points need a plan before approval. The vendor's limitations page states that the server does not scan tool descriptions for hidden instructions, does not compare live tools/list output with an approved snapshot and does not require approval before hot-reloaded operation changes. If you use the GraphOS Operator on Kubernetes, the deploy page requires Operator v1.5.0 or later and a Developer, Standard or Enterprise GraphOS plan, while the server itself stays open source. Ask your team to confirm which plan covers your environment, and assign owners for client-side approvals, upstream authorization policy and change review of operation sources.

Which security controls apply to which deployment path

This table maps each Apollo MCP Server control to where it lives: built into the open-source server, dependent on the Streamable HTTP transport, dependent on GraphOS or the Operator, or dependent on a component you must add. Treat each cell as a question to confirm on the vendor pages before you rely on it. The main takeaway is that the server enforces scopes and mutation gates, while human approval, tool review and change control sit outside it.

ControlBuilt into the open-source serverNeeds Streamable HTTP transportNeeds GraphOS plan, Operator or outside component
Scope enforcement (require_all, require_any, disabled)Yes. require_all is the default, and the other two modes are configuration choicesYes. Authentication settings are supported only over Streamable HTTPNeeds a token issuer that carries the scopes you check
Per-operation required scopes (step-up 403 insufficient_scope)Yes, set through overrides.required_scopesYes. Confirm how the client handles the 403 responseClient must re-authorize and retry after a step-up response
Scope mode set to disabledAvailable, but any valid token can call the tool unless per-operation scopes existYes, where authentication is configuredTreat as a gap unless per-operation requirements are also set
mutation_mode (none, explicit, all)Yes. Default is none, explicit exposes only mutations already in the operation sourceConfirm on the vendor pagesUpstream API authorization still decides what a mutation may change
execute toolYes. Keep it disabled unless agents need ad hoc queriesConfirm on the vendor pagesUpstream API must enforce access to any agent-written document, including mutations when mutation_mode is all
GraphOS contract variantsNot a server setting. Depends on GraphOS-managed graph subsetsNot stated in the supplied guidanceNeeds GraphOS. Confirm which plan includes contract variants
Human approval for sensitive actionsNo. Mutation modes are configuration gates, not approvalNot applicableMust come from the MCP client, the upstream API or a policy layer
Tool description scanning for hidden instructionsNo. The server does not scan tool descriptionsNot applicableNeeds an outside scanner or a documented manual review of tool descriptions
tools/list comparison with an approved snapshotNo. The server does not compare live tools/list output with a snapshotNot applicableNeeds an outside process that diffs live tools against an approved list

What the server can read and change in your GraphQL API

The blast radius of the Apollo MCP Server is set by two things: the operations it exposes as tools, and what your GraphQL API allows the presented token to do. The server generates tools from operation files, GraphOS operation collections, persisted query manifests or schema introspection. Each generated tool maps to a GraphQL operation, so the list of tools is the first control to review. When an agent calls a tool, the server sends a structured GraphQL HTTP request to your API endpoint, using the headers and authentication you configured. Whatever the agent asks for is therefore limited to what your operations and your configured credentials permit.

The GraphQL API keeps enforcing its own authentication, authorization and data-access policies. The Apollo docs describe the server as a conduit, not as the authority on what data can be read or written. That means a token with broad rights in the API gives an agent broad rights through the MCP server, even if the server exposes only a few tools. Reviewers should ask the API owner which fields, mutations and records the service account can reach, and whether row-level or field-level rules exist. Confirm those rules in the API itself, since the MCP layer does not add them.

Practically, treat the API credential as the main lever. Use a dedicated service identity with the smallest set of permissions the use case needs, and confirm with the vendor and your API team how header and token forwarding behaves in your deployment. Schema introspection and broad operation sources widen what can be discovered and called, so check which source feeds your tools. Mutation and ad hoc query settings are covered in the sections that follow, but the underlying API permissions apply regardless of those settings.

Which tools and settings widen the risk

Most of the exposure in the Apollo MCP Server comes from a few tools and switches that let an agent send new operations or accept changes without review. Each card below names one of these, the effect it has, and the control the vendor recommends. Check each setting in your own configuration before approving a connection.

The execute tool

The execute tool accepts a new GraphQL document with every call, so it is not limited to operations your team reviewed in advance. That means an agent can compose queries your predefined tools never offered. The vendor's best practices advise keeping execute disabled unless the agent truly needs ad hoc queries, and exposing only the operations the use case requires. Confirm that execute is off in every deployed configuration.

Limitations page

mutation_mode set to all

By default, mutation_mode is none. Setting it to all lets the execute tool accept agent-supplied mutations, so the agent can write to your API through any mutation the GraphQL schema allows. The vendor describes these modes as configuration gates, not human approval. Keep the default unless ad hoc writes are required, and confirm the upstream API's own authorization limits what those writes can change.

Best practices page

scope_mode set to disabled

Scope enforcement runs in require_all mode by default. Setting scope_mode to disabled without a matching per-operation requirement lets the server permit any valid token to call a tool. Use overrides.required_scopes to attach scopes to sensitive operations so they trigger step-up authorization and return a 403 insufficient_scope response when the token lacks them. Review every override before enabling a sensitive tool.

Authorization docs

Broad schema and introspection exposure

When the agent can see the full schema, it learns every type, field and mutation, which makes it easier to find data the use case never needed. Tools can be generated from operation files, GraphOS collections, persisted query manifests or introspection, so the source you pick sets the exposed surface. The vendor recommends GraphOS contract variants to expose only the necessary subset of a graph, particularly with persisted queries and introspection.

Best practices page

Hot-reloaded operation changes

Operation changes picked up through hot reload take effect without a review step. The server does not compare the live tools/list response with an approved snapshot, so a changed tool set may reach agents unnoticed. Ask who can edit operation files or collections, require change review for them, and check the tools list after each deployment against the set your team approved.

Limitations page

Unscanned tool descriptions

The server does not scan tool descriptions for hidden instructions. Descriptions are passed to the AI client, so a crafted or altered description could steer an agent toward unintended calls. Because the server offers no detection here, the controls must come from your side: restrict which operations are exposed, keep the MCP client's per-action approval on for sensitive tools, and monitor the MCP client's tool calls.

Limitations page

Where a tool call is allowed, gated or left to other layers

The diagram starts with the MCP client, where the agent proposes a tool call and where any per-invocation approval must live, since the server does not provide it. The call then passes the Apollo MCP Server, which applies scope checks on the Streamable HTTP transport and the mutation_mode gate before a tool is exposed. The server forwards a structured GraphQL request, and the GraphQL API enforces its own authentication, authorization and data-access policies. Check each gate separately, because a permissive client or a disabled scope mode leaves the API as the only remaining control.

Gates inside the server, external approval, and the GraphQL API's own enforcement.

How the lockdown changes by exposure and team size

When staff only need to ask questions of data, the main goal is to make sure the server cannot change anything and cannot reach fields or operations that were never meant for AI clients. Keep mutation_mode at its default of none so that no mutation is exposed, even if the operation source contains one. Build the tool list from reviewed operation files, a persisted query manifest or a GraphOS operation collection, so the agent sees a fixed set of named queries instead of the whole schema. Where the graph is managed in GraphOS, use a contract variant so that sensitive types and fields are absent from what the AI can see.

  • Keep mutations off: Confirm mutation_mode is none and that no mutation appears in the generated tools.
  • Avoid the execute tool: Leave it disabled unless the analysts truly need ad hoc queries.
  • Narrow the tool set: Expose only the operations the use case requires, generated from reviewed sources.
  • Use contract variants: Limit the schema the AI sees to the subset of the graph that analytics needs.

In review, focus on whether the query results themselves contain data that the analytics users should not see, since the GraphQL API's own authorization still decides what is returned.

What the server does not do and how teams cover each gap

The Apollo MCP Server enforces scopes and mutation modes, but the vendor documents several things it does not do. Each gap below needs a control in the MCP client, the upstream API, your release process or a periodic review, and each card names the check to run before approving the setup.

No per-invocation human approval

The mutation modes are configuration gates, not human approval. The server will run an allowed mutation without asking a person each time. Per-invocation approval for sensitive actions has to be implemented in the MCP client, in the upstream GraphQL API, or in another policy layer. Confirm which of these layers will hold the approval step for each write operation, and test that a sensitive mutation actually pauses before it reaches your API.

Best practices

No scan of tool descriptions

The server does not scan tool descriptions for hidden instructions, so a tool description returned to the agent is not checked for prompt injection. Review the generated tool names and descriptions yourself before exposing them, and keep the exposed operation set small. Confirm the reviewer and the review record for each operation source, such as operation files, GraphOS collections or persisted query manifests.

Limitations

No check of live tools list

The server does not compare the live tools/list response with an approved snapshot, so a change in what the client sees goes unnoticed. Add a periodic check outside the server that records the tool list the client receives and alerts on any added or renamed tool. Confirm who receives those alerts and how often the comparison runs.

No approval for hot-reloaded changes

The server does not require approval before it applies hot-reloaded operation changes, so an operation file or collection edit can change what agents can call without a review. Gate operation changes through the same release process you use for application code, including code review, a named approver and a rollback path. Confirm whether your change pipeline or the GraphOS collection workflow is the place where that approval happens.

Execute tool not bound to reviewed documents

The execute tool accepts a new GraphQL document with each call, so it is not limited to operations your team reviewed. With mutation_mode set to all, the agent can supply its own mutations. Keep execute disabled unless the agent needs ad hoc queries, and expose only the operations the use case requires. Confirm in your configuration that execute is off in every environment where agents connect.

Order of work before approving the server for staff

This sequence shrinks what the server can reach before any staff member connects, then proves with tests that a restricted token cannot call sensitive operations. Each step ends with a check the approving team can review.

  1. Fix the operation set before exposing tools

    The platform or API owner decides which GraphQL operations an AI client may call for the approved use case and nothing else. Where possible, use GraphOS contract variants to expose only the needed subset of the graph to AI, and prefer GraphOS-managed persisted queries and introspection settings over open schema access. Tools can be generated from operation files, GraphOS operation collections, persisted query manifests or schema introspection, so the chosen source determines the attack surface. The step is done when the team can produce a written list of operations and the source each one comes from.

  2. Keep the execute tool disabled by default

    The execute tool accepts a new GraphQL document with every call, so it is not limited to operations your team has reviewed. The security owner keeps it disabled unless a documented use case requires ad hoc queries. If it must be enabled, record who approved that need and which operations the agent is expected to build. The check is a configuration review showing the execute tool absent from the tool list for every client that does not have an approved exception.

  3. Set mutation mode to none unless required

    The mutation_mode setting defaults to none, which keeps write operations out of reach. Keep that default for read-only use cases. When a use case needs writes, the explicit setting exposes only mutations already present in the configured operation source. The all setting is meant only for cases where the execute tool must accept ad hoc mutations, and it should be treated as a separate approval. Note that these modes are configuration gates, not human approval. The check is a config file review that names the mode chosen and the reason for it.

  4. Require scopes and tag sensitive operations

    Set scope enforcement to require_all, the documented default, and do not switch to disabled without a per-operation requirement in place. Add overrides.required_scopes for each sensitive operation so that a call to it triggers step-up authorization and returns a 403 insufficient_scope response when the token lacks the scope. The identity team confirms which scopes exist and which users or clients hold them. The check is a documented scope map that lists every sensitive operation and its required scope.

  5. Use Streamable HTTP with authentication for shared access

    The default stdio transport suits local development. For shared use, the platform team runs the server over Streamable HTTP, the transport that supports the authentication settings, and configures authentication before any staff client connects. The deployment choice, whether the GraphOS Operator, the Apollo Runtime Container or a standalone MCP Server container in your own cloud, is recorded with the network path to the GraphQL endpoint. The check is a connection test showing that an unauthenticated request to the MCP endpoint is refused.

  6. Add approval for sensitive actions outside the server

    The vendor states that per-invocation approval for sensitive actions must be implemented in the MCP client, the upstream API or another policy layer, because the server does not provide it. The security team chooses where that control sits for each sensitive operation and documents it. Confirm with your MCP client vendor what approval prompts it supports and whether they can be enforced by administrators. The check is a written control record naming the layer that blocks or confirms each sensitive call.

  7. Establish snapshot and change review

    The server does not scan tool descriptions for hidden instructions, does not compare the live tools/list response with an approved snapshot, and does not require approval before applying hot-reloaded operation changes. The platform team therefore captures an approved snapshot of the tool list and operation files, and reviews every change before it reaches production. Someone outside the change author signs off on each diff. The check is a stored baseline and a recorded review for the most recent change.

  8. Test that restricted tokens cannot reach sensitive operations

    Before approval, the security reviewer runs tests with a token that lacks the sensitive scopes and confirms that each tagged operation returns 403 insufficient_scope. The same reviewer confirms that execute and mutations are absent for clients without an approved exception, and that a token with the right scope succeeds only where intended. Repeat these tests after any scope, operation or transport change. The step closes when the results are saved as evidence for the approval record.

What a security reviewer asks to see and where it comes from

This table lists the configuration and policy facts a reviewer should collect before approving the Apollo MCP Server, along with where each fact lives. Read each row as a question: the evidence column names what to pull, and the location column shows whether the answer sits in server config, a GraphOS contract, the MCP client, or the upstream API. The main takeaway is that several controls sit outside the server, so a review that only reads the server config will miss them.

ControlEvidence to requestWhere it is found
Exposed operation list and its sourceThe operation source in use (operation files, GraphOS collection, persisted query manifest or introspection) and the exact list of tools generated from itServer config and operation source, or GraphOS contract variant if one is used
mutation_mode valueThe explicit setting in effect, confirming it is not all unless ad hoc mutations are requiredServer config file
scope_mode and per-operation required scopesThe scope mode (require_all, require_any or disabled) and any overrides.required_scopes entries for sensitive operationsServer auth config
Transport and authentication configurationWhether the endpoint uses Streamable HTTP with authentication settings, or stdio for local use only, and how tokens are validatedServer config and deployment manifest
Execute tool statusConfirmation that the execute tool is disabled, or a documented need for ad hoc queries and the mutations it allowsServer config and tool exposure list
Approval mechanism outside the serverEvidence of per-invocation approval for sensitive actions, implemented in the MCP client, the upstream API or a policy layerMCP client policy, upstream API or policy engine
Change control for hot-reloaded operationsWho can change operation files or collections, whether changes are reviewed, and whether the tools/list output is compared with an approved baselineSource control, GraphOS change history and client tool policy
Upstream GraphQL authorization policyThe API's own authentication, field-level authorization and data-access rules that apply to requests the server forwardsGraphQL API authorization layer

Questions buyers ask before approving the Apollo MCP Server

Is the Apollo MCP Server free to use?

The server source code in the apollographql/apollo-mcp-server repository is covered by the MIT License unless a file header or subdirectory license says otherwise, so the code itself carries no license fee. The cost question sits elsewhere. If you deploy through the GraphOS Operator on Kubernetes, the Apollo deploy page says that path requires Operator v1.5.0 or later and an Apollo GraphOS Developer, Standard or Enterprise plan. Confirm the plan that matches your deployment option with Apollo before you budget, and ask whether the standalone container or the all-in-one runtime container carries any different terms. Your own costs are the cloud infrastructure, the identity provider and the testing and hardening work your team or an implementation partner performs.

Can we stop AI agents from running mutations?

Yes, but only through configuration, and the default already helps. The Apollo best practices page says mutation_mode defaults to none. Setting it to the explicit mode exposes only mutations already present in your configured operation source. The all setting is meant only for cases where the execute tool must accept ad hoc mutations. Per the Apollo limitations page, the execute tool accepts a new GraphQL document with each call and permits agent-supplied mutations when mutation_mode is all, so leave the execute tool disabled unless agents truly need ad hoc queries. Also limit exposed operations to those the use case needs, and use GraphOS contract variants where possible.

Does the server require human approval before a sensitive action runs?

No. The Apollo best practices page says the mutation modes are configuration gates, not human approval. Per-invocation approval for sensitive actions must be built in the MCP client, in the upstream GraphQL API or in another policy layer you operate. Scope enforcement can help here: the Apollo authorization docs describe overrides.required_scopes for per-operation scopes, so a sensitive operation triggers step-up authorization and returns a 403 insufficient_scope response when the token lacks the scope. That blocks the call but does not ask a person whether to proceed, so confirm whether your client tooling provides a prompt before each invocation.

Does the server check tool descriptions for prompt injection?

No. The Apollo limitations page states that the server does not scan tool descriptions for hidden instructions. It also does not compare the live tools/list response with an approved snapshot, and it does not require approval before applying hot-reloaded operation changes. Those gaps belong to your review process. Pin the operation sources you approved, review changes to them through your normal change control, and test the connected agent against injected instructions in tool descriptions and returned data before rollout. Independent security testing of the agent setup can cover this if your team lacks capacity.

What drives the effort to lock this server down?

Three factors matter most: the number of GraphQL operations you expose, the authorization model of your API, and the approval tooling your AI clients support. More operations mean more per-operation review of read and write behavior, more scope definitions and more tests. The API authorization model decides whether the server's scope settings can be enforced at the GraphQL layer or whether you must rebuild access rules elsewhere. Approval tooling determines how much per-action control you build yourself. Ask any provider for a written scope listing each operation, its scope requirement, its mutation status and the test plan for each.

Can our own team configure and test this server?

Yes, the configuration is within reach of a platform or security team that already runs GraphQL APIs and identity integrations, but the test work is where teams usually need outside help. The vendor documentation covers the transports, the authentication settings on Streamable HTTP, the scope modes and the mutation settings. Your team still must verify behavior against your own schema and identity provider, confirm that disabled scope enforcement does not let any valid token call a tool, and run injection and permission tests. Consider whether your staff can own those tests as an ongoing process or whether a fixed-scope review with a retest fits better.

What does a scoping review cover?

A scoping review maps what the server can reach and what it can change, then documents the controls that govern each path. For this server, it covers the operation sources (operation files, GraphOS operation collections, persisted query manifests or introspection), the mutation mode, whether the execute tool is enabled, the scope mode and per-operation required scopes, the transport and authentication settings, and whether any tool description or hot-reload path lacks review. Ask for a written list of findings, the fixes for each, and a retest of the changed configuration before the rollout is approved.

How DeployOpen works on this

DeployOpen reviews how an Apollo MCP Server setup exposes your GraphQL operations to AI agents, then tests and hardens the permissions, risky tools and lock-down controls that the vendor says must sit outside the server. Every engagement starts from a written scope that names the clients, endpoints and tools in play.

How we scope

  • Written scope lists the MCP clients, GraphQL endpoints and operation sources that are in play
  • Review covers mutation_mode, whether the execute tool is enabled, and which operations are exposed
  • Scope records the scope_mode, required scopes and step-up rules for sensitive operations
  • Engagements are fixed-scope, with scope, deliverables and timelines agreed before work starts

How we build

  • Configure the server with only the operations the use case needs, with mutation_mode left at none unless required
  • Test prompt injection, tool description review and whether the tools/list response can drift
  • Check that the GraphQL API enforces its own authorization for every operation an agent can reach
  • Verify per-invocation approval for sensitive mutations lives in the client, the upstream API or a policy layer

How we hand over

  • Findings report with each issue, its risk and the specific configuration or control to change
  • Documented permission matrix showing which tools, operations and scopes each client receives
  • Runbook for reviewing hot-reloaded operation changes and the approval steps your team owns
  • Retest after fixes so your security reviewer can confirm each finding was closed

How we support

  • Ongoing support and upgrades are available as a retainer, including review of new operations
  • Continuous testing can re-check the setup when operations, scopes or clients change
  • Evidence packs prepared for your security and compliance reviewers, for their own assessment
  • Support scope is agreed in writing, so each recurring task is clear before it starts

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.