Skip to main content
Glama

version_0_1_1

Retrieve DSL data from MasterGo design files to enable AI models for direct integration and enhanced functionality via Model Context Protocol service.

Instructions

the current version is 0.1.1

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The execute method of GetVersionTool that returns the package.json version as a JSON string in MCP content format.
    async execute({}: z.infer<typeof this.schema>) { return { content: [ { type: "text" as const, text: JSON.stringify(packageJson.version), }, ], }; }
  • Zod schema defining empty input object for the version tool.
    schema = z.object({});
  • src/index.ts:34-34 (registration)
    Registers the GetVersionTool instance on the MCP server.
    new GetVersionTool().register(server);
  • src/index.ts:9-9 (registration)
    Imports the GetVersionTool for registration.
    import { GetVersionTool } from "./tools/get-version";
  • BaseTool's register method that performs the actual tool registration on the MCP server using name, description, schema, and execute handler.
    register(server: McpServer) { server.tool( this.name, this.description, this.schema.shape, this.execute.bind(this) ); }

Other Tools

Related Tools

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/mastergo-design/mastergo-magic-mcp'

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