Skip to content

Commit cafb43c

Browse files
authored
Merge pull request #172 from apollographql/docs-command-reference
docs: clarify requirements for `--collection` option
2 parents e07a8c1 + d52830e commit cafb43c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/command-reference.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,11 @@ apollo-mcp-server [OPTIONS] --directory <DIRECTORY>
105105
| `--http-port <HTTP_PORT>` | Start the server using the Streamable HTTP transport on the given port (default: 5000). |
106106
| `--http-address <HTTP_ADDRESS>` | The IP address to bind the Streamable HTTP server to (default: 127.0.0.1). |
107107
| `-i, --introspection` | Expose the schema to the MCP client through `introspect` and `execute` tools. [Learn more](/apollo-mcp-server/guides/#from-schema-introspection). |
108-
| `--uplink-manifest` | Enable use of uplink to get the persisted queries (requires `APOLLO_KEY` and `APOLLO_GRAPH_REF`). [Learn more](/apollo-mcp-server/guides/#from-graphos-managed-persisted-queries). |
108+
| `--uplink-manifest` | Enable use of uplink to get the persisted queries (requires `APOLLO_KEY` and `APOLLO_GRAPH_REF`). [Learn more](/apollo-mcp-server/guides/#from-graphos-managed-persisted-queries). |
109109
| `-x, --explorer` | Expose a tool that returns the URL to open a GraphQL operation in Apollo Explorer (requires `APOLLO_GRAPH_REF`). |
110110
| `-o, --operations [<OPERATIONS>...]` | Operation files to expose as MCP tools. [Learn more](/apollo-mcp-server/guides/#from-operation-files). |
111111
| `--manifest <MANIFEST>` | The path to the persisted query manifest containing operations. |
112-
| `--collection <COLLECTION_ID>` | The ID of an operation collection to use as the source for operations |
112+
| `--collection <COLLECTION_ID>` | The ID of an operation collection to use as the source for operations (requires `APOLLO_KEY`). If `default` is used instead of an ID, the MCP Tools for `APOLLO_GRAPH_REF` will be used as the source. |
113113
| `--disable-type-description` | Disable operation root field types in tool description. |
114114
| `--disable-schema-description` | Disable schema type definitions referenced by all fields returned by the operation in the tool description. |
115115
| `-m, --allow-mutations <ALLOW_MUTATIONS>` | [default: `none`]<br /><br />Possible values:<ul><li>`none`: Don't allow any mutations</li><li>`explicit`: Allow explicit mutations, but don't allow the LLM to build them</li><li>`all`: Allow the LLM to build mutations</li></ul> |

0 commit comments

Comments
 (0)