Skip to main content
Glama

MCPMan

by semistrict
nonexistent-tool.ts445 B
import { defineMacro } from "mcpman"; import { z } from "zod"; import { filesystem } from "server:filesystem"; defineMacro({ description: "Test macro that uses a non-existent tool", parameters: { path: z.string().describe("File path"), }, action: async (context, args) => { // This tool doesn't exist - should cause compile error await filesystem.nonExistentTool({ path: args.path }); return { success: true }; }, });

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