edubase_mcp_server_version
Retrieve the current version of the EduBase MCP server for debugging purposes.
Instructions
Get the MCP server version (only use for debugging).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:122-137 (registration)Registration of the 'edubase_mcp_server_version' tool on the MCP server with description and annotations.
server.registerTool('edubase_mcp_server_version', { description: 'Get the MCP server version (only use for debugging).', annotations: { title: 'Get MCP Server Version', readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false, }, }, async (): Promise<CallToolResult> => { /* Static response with server version, useful for testing connectivity and authentication */ return { content: [{ type: 'text', text: VERSION }], isError: false, }; }); - src/index.ts:131-137 (handler)Handler function that returns the server VERSION as text content, used for debugging connectivity and authentication.
}, async (): Promise<CallToolResult> => { /* Static response with server version, useful for testing connectivity and authentication */ return { content: [{ type: 'text', text: VERSION }], isError: false, }; }); - src/index.ts:18-19 (helper)The VERSION constant is read from package.json's version field and used by the tool handler.
/* Version */ const VERSION = packageJson.version;