Skip to main content
Glama

MCP Server

by la-rebelion
Tool.ts360 B
import { z } from 'zod'; export const _ToolSchema = z.object({ name: z.string(), description: z.string(), inputSchema: z.any(), }); export type ToolSchema = z.infer<typeof _ToolSchema>; export abstract class Tool { constructor() { this.init(); } toolSchema!: ToolSchema; abstract init(): void; abstract execute(input: any): Promise<any>; }

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/la-rebelion/mcp-server'

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