Skip to main content
Glama

Github Project Manager

index.ts562 B
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import { registerImageGenerationTool } from './image-generation.js'; /** * Registers all tools with the MCP server * @param server - The MCP server instance * @param apiKey - OpenAI API key * @param imageKitConfig - Optional ImageKit configuration */ export function registerTools( server: McpServer, apiKey: string, imageKitConfig?: { publicKey: string; privateKey: string; urlEndpoint: string }, ): void { registerImageGenerationTool(server, apiKey, imageKitConfig); }

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/Monsoft-Solutions/model-context-protocols'

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