Skip to main content
Glama

RagDocs MCP Server

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

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/heltonteixeira/ragdocs'

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