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
Configure the Apollo MCP server with a YAML configuration file. The path to this file is the only argument.
91
-
A configuration file is not required, but if one is not provided environment variables for your Apollo Graph Reference and Apollo Key are needed.
90
+
Configure the Apollo MCP server with a YAML configuration file.
92
91
93
92
```sh showLineNumbers=false
94
93
apollo-mcp-server [OPTIONS] <PATH/TO/CONFIG/FILE>
95
94
```
96
95
96
+
A configuration file is optional. If the file is not provided, environment variables for your graph credentials (`APOLLO_GRAPH_REF` and `APOLLO_KEY`) are required for the server to run.
Detailed options for your configuration file are below, but this is an example configuration file.
107
-
This file sets your endpoint to `localhost:4001`, configures transport over Streamable HTTP, provides a GraphOS key and graph reference,
107
+
The following example file sets your endpoint to `localhost:4001`, configures transport over Streamable HTTP, provides a GraphOS key and graph reference,
108
108
enables introspection, and provides two local MCP operations for the server to expose.
109
109
110
110
```yaml config.yaml
111
111
endpoint: http://localhost:4001/
112
112
transport:
113
113
type: streamable_http
114
114
graphos:
115
-
apollo_key: <YOUR_KEY>
116
-
apollo_graph_ref: <YOUR_GRAPH>
115
+
apollo_key: <YOUR_APOLLO_KEY>
116
+
apollo_graph_ref: <YOUR_APOLLO_GRAPH_REF>
117
117
introspection:
118
118
introspect:
119
119
enabled: true
@@ -126,7 +126,7 @@ operations:
126
126
127
127
### Config options
128
128
129
-
All fields are optional and have sensible default values.
0 commit comments