@@ -264,58 +264,7 @@ See [Define MCP Tools](/apollo-mcp-server/define-tools) for other ways to define
264
264
- Check that your GraphQL endpoint accepts the provided headers
265
265
- When using ` rover dev ` you can test your GraphQL endpoint using Sandbox at [ http://localhost:4000 ] ( http://localhost:4000 )
266
266
267
- ## Step 4: Working with MCP Tools
268
- Now that your MCP server is connected, learn how to customize and create tools.
269
-
270
- ### Understanding Tools
271
-
272
- MCP tools are GraphQL operations that Claude can execute. Each operation in your ` operations/ ` directory becomes a tool with:
273
-
274
- - ** Tool name** : Derived from the operation name
275
- - ** Description** : From GraphQL comments or operation descriptions
276
- - ** Parameters** : Mapped from GraphQL variables
277
- - ** Response** : The GraphQL response data
278
-
279
- ### Defining Custom Tools
280
-
281
- Create new tools by adding GraphQL operation files to your ` operations/ ` directory:
282
-
283
- ``` graphql
284
- # operations/GetProducts.graphql
285
-
286
- # Retrieves product information by ID
287
- query GetProducts ($productId : ID ! ) {
288
- product (id : $productId ) {
289
- id
290
- name
291
- price
292
- description
293
- }
294
- }
295
- ```
296
-
297
- Apollo MCP Server automatically detects new ` .graphql ` files and exposes them as tools. No server restart needed!
298
-
299
- ** Learn more:** [ Defining MCP Tools] ( https://www.apollographql.com/docs/apollo-mcp-server/define-tools )
300
-
301
- ### Testing Operations in GraphOS Studio
302
-
303
- The ` rover dev ` command command includes Sandbox:
304
-
305
- 1 . Open http://localhost:4000 in your browser
306
- 2 . Test your operations directly:
307
- - Browse your schema
308
- - Run queries and mutations
309
- - Experiment with variables
310
- - View responses
311
-
312
- This is invaluable for:
313
- - Verifying operations before exposing them as MCP tools
314
- - Understanding your schema structure
315
- - Debugging query issues
316
- - Exploring available data
317
-
318
- ## Step 5: Deploy Your MCP Server
267
+ ## Step 5: Deploy your MCP server
319
268
320
269
Once you're ready to deploy, Apollo MCP Server can run in any container environment.
321
270
0 commit comments