Skip to main content
Glama

MCP Agent TypeScript Port

by waldzellai
echo.ts397 B
import { ToolHandler } from './types'; export const echoTool: ToolHandler = { name: 'echo', description: 'Echo back a provided message', inputSchema: { type: 'object', properties: { message: { type: 'string' } }, required: ['message'] }, async handler(args: Record<string, any>): Promise<{ message: string }> { return { message: String(args.message) }; } };

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/waldzellai/mcp-agent-ts'

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