Skip to main content
Glama

RAG Documentation MCP Server

by jumasheff
base-handler.ts445 B
import { Server } from '@modelcontextprotocol/sdk/server/index.js'; import { ApiClient } from '../api-client.js'; import { McpToolResponse } from '../types.js'; export abstract class BaseHandler { protected server: Server; protected apiClient: ApiClient; constructor(server: Server, apiClient: ApiClient) { this.server = server; this.apiClient = apiClient; } protected abstract handle(args: any): Promise<McpToolResponse>; }

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/jumasheff/mcp-ragdoc-fork'

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