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.

23 lines (22 loc) 626 B
import { z } from "zod"; export function registerTextUppercase(server) { server.registerTool("convert_text_to_uppercase", { inputSchema: { text: z.string().describe("Text to convert to uppercase"), }, // VS Code compliance annotations annotations: { title: "Convert Text To Uppercase", readOnlyHint: false } }, async ({ text }) => { return { content: [ { type: "text", text: `Uppercase: ${text.toUpperCase()}`, }, ], }; }); }