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
rover dev --supergraph-config supergraph.yaml --mcp .apollo/mcp.local.yaml
59
-
```
60
-
</Tab>
61
-
62
-
</Tabs>
54
+
<Tablabel="Windows Powershell">
63
55
64
-
You should see some output indicating that the GraphQL server is running at `http://localhost:4000` and the MCP server is running at `http://127.0.0.1:5050`.
rover dev --supergraph-config supergraph.yaml --mcp .apollo/mcp.local.yaml
59
+
```
60
+
</Tab>
61
+
62
+
</Tabs>
65
63
66
-
### Verify with MCP Inspector
64
+
1. You should see some output indicating that the GraphQL server is running at `http://localhost:4000` and the MCP server is running at `http://127.0.0.1:5050`.
67
65
68
-
In a new terminal window, run the MCP Inspector:
66
+
1.In a new terminal window, run the MCP Inspector to verify the server is running:
1. Test the connection by asking: "What MCP tools do you have available?"
215
-
1. Verify GraphQL operations are listed as available tools
216
-
1. Test a query using one of your configured operations
211
+
1. Restart your MCP client.
212
+
1. Test the connection by asking: "What MCP tools do you have available?".
213
+
1. Verify GraphQL operations are listed as available tools.
214
+
1. Test a query using one of your configured operations.
217
215
218
216
## Step 4: Define MCP tools
219
217
@@ -246,27 +244,9 @@ See [Define MCP Tools](/apollo-mcp-server/define-tools) for other ways to define
246
244
1. Select the `Default MCP Tools` collection and click **Save**.
247
245
1. Restart your MCP client and test the connection by asking: "What MCP tools do you have available?". You should see the `GetProducts` tool listed. You can also test this with MCP Inspector.
248
246
249
-
## Troubleshooting
250
-
251
-
**Client doesn't see tools:**
252
-
- Ensure you restarted your MCP client after configuration
253
-
- Verify the Apollo MCP Server is running (`rover dev` command)
254
-
- Check port numbers match between server and client config
255
-
256
-
**Connection refused errors:**
257
-
- Confirm the server is running on the correct port
258
-
- Verify firewall settings allow connections to localhost:5050
259
-
- For remote connections, ensure the host is set to `0.0.0.0` in your config
260
-
261
-
262
-
**Authentication issues:**
263
-
- Verify environment variables are properly set
264
-
- Check that your GraphQL endpoint accepts the provided headers
265
-
- When using `rover dev` you can test your GraphQL endpoint using Sandbox at [http://localhost:4000](http://localhost:4000)
266
-
267
247
## Step 5: Deploy your MCP server
268
248
269
-
Once you're ready to deploy, Apollo MCP Server can run in any container environment.
249
+
Apollo MCP Server can run in any container environment.
270
250
271
251
### Using the Apollo Runtime Container
272
252
@@ -323,6 +303,23 @@ After deploying, update your MCP client configuration to use the deployed URL:
323
303
}
324
304
```
325
305
306
+
## Troubleshooting
307
+
308
+
**Client doesn't see tools:**
309
+
- Ensure you restarted your MCP client after configuration
310
+
- Verify the Apollo MCP Server is running (`rover dev` command)
311
+
- Check port numbers match between server and client config
312
+
313
+
**Connection refused errors:**
314
+
- Confirm the server is running on the correct port
315
+
- Verify firewall settings allow connections to localhost:5050
316
+
- For remote connections, ensure the host is set to `0.0.0.0` in your config
317
+
318
+
**Authentication issues:**
319
+
- Verify environment variables are properly set
320
+
- Check that your GraphQL endpoint accepts the provided headers
321
+
- When using `rover dev` you can test your GraphQL endpoint using Sandbox at [http://localhost:4000](http://localhost:4000)
322
+
326
323
## Additional resources
327
324
328
325
-[Tutorial: Getting started with MCP and GraphQL](https://www.apollographql.com/tutorials/intro-mcp-graphql)
0 commit comments