Skip to main content
Glama

MCPControl

tools.ts589 B
import { Server } from '@modelcontextprotocol/sdk/server/index.js'; import { setupTools as setupToolsWithZod } from './tools.zod.js'; import { AutomationProvider } from '../interfaces/provider.js'; /** * Set up automation tools on the MCP server using Zod validation. * This function provides robust validation with better error messages. * * @param server The Model Context Protocol server instance * @param provider The automation provider implementation */ export function setupTools(server: Server, provider: AutomationProvider): void { setupToolsWithZod(server, provider); }

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/claude-did-this/MCPControl'

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