version
Retrieve version details of Delve MCP server, a TypeScript-based interface for debugging, tracing, and analyzing Go programs using natural language commands.
Instructions
Get Delve version information
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/handlers/config.ts:50-58 (handler)Executes the 'dlv version' command and returns its stdout as text content. This is the core logic for the 'version' tool.case "version": { const { stdout } = await exec("dlv version"); return { content: [{ type: "text", text: stdout }] }; }
- src/server.ts:351-357 (schema)Defines the input schema (empty object) and metadata for the 'version' tool in the ListTools response.name: "version", description: "Get Delve version information", inputSchema: { type: "object", properties: {} } },
- src/server.ts:416-418 (registration)Registers the 'version' tool by routing CallTool requests for it to the handleConfigCommands function.if (["setBackend", "configureLogging", "version"].includes(name)) { return handleConfigCommands(name, args); }