Skip to content

Commit 3d029eb

Browse files
authored
Add MCP server (#149)
Claude-Session: https://claude.ai/code/session_01S58U7phvDgphx6ZTXuWMJQ Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
1 parent 066e6d9 commit 3d029eb

1 file changed

Lines changed: 92 additions & 0 deletions

File tree

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "co.elasticsearch-mcp-docker",
4+
"name": "Elasticsearch (Docker)",
5+
"alias": "elasticsearch",
6+
"description": "Connect to Elasticsearch clusters via Docker. List indices, inspect field mappings, and run full-text and query-DSL searches over your data, in an isolated container.",
7+
"logo": "https://avatars.githubusercontent.com/u/6764390?v=4",
8+
"schema_version": "2.1",
9+
"categories": [
10+
"database",
11+
"search"
12+
],
13+
"tags": [
14+
"elasticsearch",
15+
"elastic",
16+
"search",
17+
"database",
18+
"query-dsl",
19+
"indices",
20+
"docker"
21+
],
22+
"transport": {
23+
"type": "stdio",
24+
"command": "docker",
25+
"args": [
26+
"run",
27+
"-i",
28+
"--rm",
29+
"-e",
30+
"ES_URL",
31+
"-e",
32+
"ES_API_KEY",
33+
"docker.elastic.co/mcp/elasticsearch",
34+
"stdio"
35+
],
36+
"env": {
37+
"ES_URL": "${input:ES_URL}",
38+
"ES_API_KEY": "${input:ES_API_KEY}"
39+
},
40+
"metadata": {
41+
"inputs": [
42+
{
43+
"id": "ES_URL",
44+
"label": "Elasticsearch URL",
45+
"description": "The URL of your Elasticsearch cluster. Use host.docker.internal instead of localhost to reach a local cluster from inside the container (e.g., https://host.docker.internal:9200).",
46+
"type": "url",
47+
"required": true,
48+
"secret": false,
49+
"placeholder": "https://your-deployment.es.region.cloud.es.io"
50+
},
51+
{
52+
"id": "ES_API_KEY",
53+
"label": "Elasticsearch API Key",
54+
"description": "An Elasticsearch API key used to authenticate to the cluster. Create one in Kibana under Stack Management > Security > API keys, or via the Elastic Cloud console.",
55+
"type": "text",
56+
"required": true,
57+
"secret": true,
58+
"placeholder": "<your-elasticsearch-api-key>",
59+
"obtain": {
60+
"url": "https://www.elastic.co/guide/en/kibana/current/api-keys.html",
61+
"instructions": "1. Open Kibana for your deployment\n2. Go to Stack Management > Security > API keys\n3. Click Create API key and set the name and privileges\n4. Copy the encoded API key value\n\nElastic Cloud: open your deployment in the Elastic Cloud console to find Kibana and the Elasticsearch endpoint URL.",
62+
"button_label": "Create API Key"
63+
}
64+
}
65+
]
66+
}
67+
},
68+
"auth": {
69+
"type": "api_key",
70+
"instructions": "Authenticate with an Elasticsearch API key (ES_API_KEY). Basic auth (ES_USERNAME + ES_PASSWORD) is also supported by the server as an alternative. Create an API key in Kibana under Stack Management > Security > API keys."
71+
},
72+
"contributor": {
73+
"name": "Elastic",
74+
"github": "elastic",
75+
"url": "https://www.elastic.co"
76+
},
77+
"links": {
78+
"repository": "https://github.com/elastic/mcp-server-elasticsearch",
79+
"homepage": "https://www.elastic.co",
80+
"documentation": "https://github.com/elastic/mcp-server-elasticsearch#readme"
81+
},
82+
"platforms": [
83+
"all"
84+
],
85+
"capabilities": {
86+
"tools": true,
87+
"resources": false,
88+
"prompts": false,
89+
"read_only_mode": false
90+
},
91+
"changelog_url": "https://github.com/elastic/mcp-server-elasticsearch/releases"
92+
}

0 commit comments

Comments
 (0)