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/define-tools.mdx
+2-17Lines changed: 2 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,27 +75,12 @@ Set the persisted query manifest file for the MCP Server with the `operations` o
75
75
76
76
An example manifest is available in the [GitHub repo](https://github.com/apollographql/apollo-mcp-server/tree/main/graphql/weather/persisted_queries).
77
77
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"
85
79
operations:
86
80
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>
91
82
```
92
83
93
-
```sh showLineNumbers=false
94
-
apollo-mcp-server <path to the preceding config>
95
-
```
96
-
97
-
</ExpansionPanel>
98
-
99
84
### From GraphOS-managed persisted queries
100
85
101
86
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