inspect
Utilize this tool to analyze and introspect the GraphQL MCP Server, enabling detailed examination of its schema and capabilities for effective query execution.
Instructions
Inspect this server
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| __ignore__ | No | This does not do anything |
Implementation Reference
- src/index.ts:65-75 (handler)Handler function for the 'inspect' tool that logs 'Inspecting server' and returns a text content block with 'This is a test'.async () => { console.log("Inspecting server"); return { content: [ { type: "text", text: "This is a test", }, ], }; }
- src/index.ts:59-64 (schema)Input schema for the 'inspect' tool, which includes an ignorable boolean parameter.{ __ignore__: z .boolean() .default(false) .describe("This does not do anything"), },
- src/index.ts:56-76 (registration)Registration of the 'inspect' tool using server.tool(), including name, description, input schema, and handler function.server.tool( "inspect", "Inspect this server", { __ignore__: z .boolean() .default(false) .describe("This does not do anything"), }, async () => { console.log("Inspecting server"); return { content: [ { type: "text", text: "This is a test", }, ], }; } );