Skip to main content
Glama

RAG Documentation MCP Server

import { Server } from '@modelcontextprotocol/sdk/server/index.js'; import { ApiClient } from '../api-client.js'; import { BaseHandler } from './base-handler.js'; import { McpToolResponse } from '../types.js'; export class PromptsListHandler extends BaseHandler { constructor(server: Server, apiClient: ApiClient) { super(server, apiClient); } async handle(_args: any, callContext?: { progressToken?: string | number, requestId: string | number }): Promise<McpToolResponse> { // Return an empty list of prompts // This is a minimal implementation to prevent the error return { content: [ { type: 'text', text: JSON.stringify({ prompts: [] }) } ] }; } }

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/rahulretnan/mcp-ragdocs'

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