You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/deploy.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ docker run \
28
28
--env APOLLO_GRAPH_REF="<your-graph-ref>" \
29
29
--env APOLLO_KEY="<your-graph-api-key>" \
30
30
--env MCP_ENABLE=1 \
31
+
-m /path/to/config:/config/mcp_config.yaml \
31
32
--rm \
32
33
ghcr.io/apollographql/apollo-runtime:latest
33
34
```
@@ -36,12 +37,11 @@ When you run this, it will:
36
37
37
38
- Fetch your schema from GraphOS using your graph credentials (`APOLLO_GRAPH_REF` and `APOLLO_KEY`)
38
39
- Start the Apollo Router with your graph configuration
40
+
- Provides a configuration file for the MCP server by mounting it to `config/mcp_config.yaml`
39
41
- Enable the Apollo MCP Server endpoint at `/mcp`
40
42
41
43
This command uses GraphOS-managed persisted queries for MCP tools. You'll need to publish your operations to the [GraphOS-managed persisted queries list](/apollo-mcp-server/define-tools#from-graphos-managed-persisted-queries). If you want to use other methods for defining MCP tools, see the [Define MCP Tools](/apollo-mcp-server/define-tools) page.
42
44
43
-
You can provide a configuration file for the MCP server in `config/mcp_config.yaml`. The container will automatically use this file if it exists.
44
-
45
45
To learn more, see the [Apollo Runtime Container documentation](/graphos/routing/self-hosted/containerization/docker).
0 commit comments