Skip to main content
Glama

Elasticsearch MCP Server

Official
by elastic
Apache 2.0
2,651
317
# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml startCommand: type: stdio configSchema: # JSON Schema defining the configuration options for the MCP. type: object required: - esUrl properties: esUrl: type: string description: Elasticsearch instance URL esApiKey: type: string description: Elasticsearch API key for authentication (optional if using username/password) esUsername: type: string description: Elasticsearch username for basic authentication (optional) esPassword: type: string description: Elasticsearch password for basic authentication (optional) esCaCert: type: string description: Path to a custom CA certificate if needed (optional) commandFunction: # A JS function that produces the CLI command based on the given config to start the MCP on stdio. |- (config) => ({ command: 'node', args: ['dist/index.js'], env: Object.assign({ ES_URL: config.esUrl }, config.esApiKey ? { ES_API_KEY: config.esApiKey } : {}, config.esUsername && config.esPassword ? { ES_USERNAME: config.esUsername, ES_PASSWORD: config.esPassword } : {}, config.esCaCert ? { ES_CA_CERT: config.esCaCert } : {}) }) exampleConfig: esUrl: http://localhost:9200 esApiKey: your-elasticsearch-api-key

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/elastic/mcp-server-elasticsearch'

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