Skip to main content
Glama

Elasticsearch MCP Server

Official
by elastic
Apache 2.0
951
492
elastic-mcp.json51.96 kB
{ // Configure the target Elasticsearch server "elasticsearch": { "url": "${ES_URL}", "api_key": "${ES_API_KEY:}", "username": "${ES_USERNAME:}", "password": "${ES_PASSWORD:}", "ssl_skip_verify": "${ES_SSL_SKIP_VERIFY:false}", /* WIP "tools": { // Exclude the "search" builtin tool as it's too broad "exclude": ["search"], // Custom tools "custom": { // An ES|QL query "add-42": { "type": "esql", "description": "Adds 42 to the input value", "query": "row value = ?value | eval result = value + 42 | keep result", "parameters": { "value": { "title": "The value", "type": "number" } } }, // A stored search template "a-stored-template": { "type": "search_template", "description": "This is the description for this stored template", "template_id": "my-template", "parameters": { "param_1": { "title": "The first parameter", "description": "Use this parameter to blah blah and blah", "type": "string" } } }, // An inline search template "an-inline-template": { "type": "search_template", "description": "This is the description for this inline template", "template": { "query": { "term": { "some-field": "{{param_1}}" } } }, "parameters": { "param_1": { "title": "The first parameter", "description": "Use this parameter to blah blah and blah", "type": "string" } } } } } */ } }

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