Skip to content

Commit deaa12f

Browse files
committed
simplify manifest example
1 parent dfe6fac commit deaa12f

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

docs/source/define-tools.mdx

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -75,27 +75,12 @@ Set the persisted query manifest file for the MCP Server with the `operations` o
7575

7676
An example manifest is available in the [GitHub repo](https://github.com/apollographql/apollo-mcp-server/tree/main/graphql/weather/persisted_queries).
7777

78-
<ExpansionPanel title="Example command using --manifest">
79-
80-
From the root of a local MCP Server repo, run the `apollo-mcp-server` binary with the example persisted query manifest, `graphql/weather/persisted_queries/apollo.json`:
81-
82-
```yaml title="Example config for using Persisted Query Manifest"
83-
headers:
84-
"apollographql-client-name": "my-web-app"
78+
```yaml title="Example config for using persisted query manifest"
8579
operations:
8680
source: manifest
87-
path: <absolute path to this local repo>/graphql/weather/persisted_queries/apollo.json
88-
schema:
89-
source: local
90-
path: <absolute path to this local repo>/graphql/weather/api.graphql
81+
path: <PATH/TO/persisted-queries-manifest.json>
9182
```
9283

93-
```sh showLineNumbers=false
94-
apollo-mcp-server <path to the preceding config>
95-
```
96-
97-
</ExpansionPanel>
98-
9984
### From GraphOS-managed persisted queries
10085

10186
For graphs managed by GraphOS, Apollo MCP Server can get operations by reading persisted queries from GraphOS. The MCP Server uses Apollo Uplink to access the persisted queries.

0 commit comments

Comments
 (0)