Skip to main content
Glama

MCPMan

by semistrict
add-numbers.ts362 B
import { defineMacro } from "mcpman"; import { z } from "zod"; defineMacro({ description: "Add two numbers together", parameters: { a: z.number().describe("First number"), b: z.number().describe("Second number"), }, action: async (context, args) => { return { result: args.a + args.b, a: args.a, b: args.b, }; }, });

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/semistrict/mcpman'

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