Skip to main content
Glama

IT Tools MCP Server

index.ts•983 B
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { z } from "zod"; export function registerDecodeUrl(server: McpServer) { server.registerTool("decode_url", { description: "URL decode text", inputSchema: { text: z.string().describe("URL encoded text to decode"), }, // VS Code compliance annotations annotations: { title: "Decode Url", description: "URL decode text", readOnlyHint: false } }, async ({ text }) => { try { const decoded = decodeURIComponent(text); return { content: [ { type: "text", text: `URL decoded: ${decoded}`, }, ], }; } catch (error) { return { content: [ { type: "text", text: `Error decoding URL: ${error instanceof Error ? error.message : 'Unknown error'}`, }, ], }; } } ); }

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/wrenchpilot/it-tools-mcp'

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