Skip to main content
Glama

IT Tools MCP Server

index.ts•691 B
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { z } from "zod"; export function registerEncodeUrl(server: McpServer) { server.registerTool("encode_url", { description: "URL encode text", inputSchema: { text: z.string().describe("Text to URL encode"), }, // VS Code compliance annotations annotations: { title: "Encode Url", description: "URL encode text", readOnlyHint: false } }, async ({ text }) => { const encoded = encodeURIComponent(text); return { content: [ { type: "text", text: `URL encoded: ${encoded}`, }, ], }; } ); }

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