get_mcp_version
Retrieve the current version of the Aptos NPM MCP server to verify compatibility and ensure proper integration with Aptos blockchain development workflows.
Instructions
Returns the version of the MCP server
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/server.ts:27-32 (handler)The handler function that returns the MCP server version.
execute: async () => { return { text: server.options.version, type: "text", }; }, - src/server.ts:25-35 (registration)Tool registration for get_mcp_version within the server.
server.addTool({ description: "Returns the version of the MCP server", execute: async () => { return { text: server.options.version, type: "text", }; }, name: "get_mcp_version", parameters: z.object({}), });