UNPKG

it-tools-mcp

Version:

MCP-compliant server access to over 100 IT tools and utilities commonly used by developers, system administrators, and IT professionals.

22 lines (21 loc) 551 B
import { randomUUID } from "crypto"; export function registerGenerateUuid(server) { server.registerTool("generate_uuid", { inputSchema: {}, // VS Code compliance annotations annotations: { title: "Generate Uuid", readOnlyHint: false } }, async () => { const uuid = randomUUID(); return { content: [ { type: "text", text: `Generated UUID: ${uuid}`, }, ], }; }); }