Skip to main content
Glama

Meilisearch MCP Server

by devlimelabs
config.ts947 B
/** * Meilisearch MCP Server Configuration * * This file contains the configuration settings for connecting to the Meilisearch server. * Configuration is loaded from environment variables with sensible defaults. */ // Server configuration interface export interface ServerConfig { /** The URL of the Meilisearch instance */ host: string; /** The API key for authenticating with Meilisearch */ apiKey: string; /** The timeout for API requests in milliseconds */ timeout: number; } /** * Load and initialize configuration from environment variables */ export const loadConfig = (): ServerConfig => { return { host: process.env.MEILISEARCH_HOST || "http://localhost:7700", apiKey: process.env.MEILISEARCH_API_KEY || "", timeout: parseInt(process.env.MEILISEARCH_TIMEOUT || "5000", 10), }; }; // Export the config instance export const config = loadConfig(); // Re-export for direct use export default config;

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/devlimelabs/meilisearch-ts-mcp'

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