Skip to main content
Glama
index.ts619 B
/** * Prompts index file * Exports all prompt definitions and handlers */ import { addEndpointPrompt, addEndpointArgsSchema, handleAddEndpointPrompt } from './addEndpoint.js'; // Export prompt definitions export const promptDefinitions = [ addEndpointPrompt ]; // Define a type for the prompt handlers export type PromptHandlers = { [key: string]: { schema: any; handler: (args: any) => Promise<any>; } }; // Export prompt handlers with proper typing export const promptHandlers: PromptHandlers = { "add-endpoint": { schema: addEndpointArgsSchema, handler: handleAddEndpointPrompt } };

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/Vizioz/Swagger-MCP'

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