it-tools-mcp
Version:
Full MCP 2025-06-18 compliant server with 121+ IT tools, logging, ping, progress tracking, cancellation, and sampling utilities
25 lines (24 loc) • 730 B
JavaScript
import { z } from "zod";
export function registerTextUppercase(server) {
server.registerTool("convert_text_to_uppercase", {
description: "Convert text to uppercase",
inputSchema: {
text: z.string().describe("Text to convert to uppercase"),
},
// VS Code compliance annotations
annotations: {
title: "Convert Text To Uppercase",
description: "Convert text to uppercase",
readOnlyHint: false
}
}, async ({ text }) => {
return {
content: [
{
type: "text",
text: `Uppercase: ${text.toUpperCase()}`,
},
],
};
});
}