Skip to main content
Glama

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
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • 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({}),
    });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aptos-labs/aptos-npm-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server