Skip to main content
Glama

freispace Analytics MCP Server

Official
by freispace
base-prompt.ts594 B
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { z } from "zod"; export abstract class BasePrompt { abstract name: string; abstract description: string; schema?: z.ZodObject<any>; register(server: McpServer) { server.prompt( this.name, this.description, this.schema?.shape || {}, this.execute.bind(this), ); } abstract execute(args?: any): Promise<{ description?: string; messages: Array<{ role: "user" | "assistant"; content: { type: "text"; text: string; }; }>; }>; }

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/freispace/mcp-server-analytics'

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