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
1. Verify GraphQL operations are listed as available tools
216
216
1. Test a query using one of your configured operations
217
217
218
-
## Configuration options
218
+
## Step 4: Define MCP tools
219
219
220
-
When using Apollo MCP Server, you can customize the server configuration through your `config.yaml` file - see the [YAML Config Reference page](./config-file) for a list of options.
220
+
MCP tools are defined as GraphQL operations. The project template currently uses operation collections as the source of its tools.
1. Navigate to Sandbox at [http://localhost:4000](http://localhost:4000).
229
+
1. Click the Bookmark icon to open Operation Collections.
230
+
1. Click **Sandbox** beside "Showing saved operations for your Sandbox, across all endpoints" and select your graph. This represents the graph name and ID you used when creating your project.
231
+
1. You'll see an operation collection called "Default MCP Tools".
232
+
1. Create a new operation in the middle panel:
267
233
268
-
<details>
269
-
<summary>Environment Variables</summary>
270
-
271
-
You can use environment variables in your configuration:
1. Click the **Save** button and give it the name `GetProducts`.
246
+
1. Select the `Default MCP Tools` collection and click **Save**.
247
+
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.
0 commit comments