Skip to content

Commit 6b4c174

Browse files
committed
Update readme
1 parent 52531e2 commit 6b4c174

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

example-apps/elasticsearch-mcp-server/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env node
2+
13
import { z } from "zod";
24
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
35
import { Client, estypes } from "@elastic/elasticsearch";
@@ -36,7 +38,7 @@ export async function createElasticsearchMcpServer(
3638

3739
const server = new McpServer({
3840
name: "elasticsearch-mcp-server",
39-
version: "0.1.0",
41+
version: "0.1.3",
4042
});
4143

4244
// Tool 1: List indices

example-apps/elasticsearch-mcp-server/package.json

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,24 @@
11
{
2-
"name": "@elastic/mcp-server-elasticsearch",
3-
"version": "0.1.0",
2+
"name": "mcp-server-elasticsearch",
3+
"description": "Elasticsearch MCP Server",
4+
"version": "0.1.3",
45
"license": "MIT",
56
"author": "Elastic",
67
"type": "module",
8+
"main": "dist/index.js",
9+
"module": "dist/index.js",
710
"bin": {
8-
"mcp-server-elasticsearch": "dist/index.js"
11+
"mcp-server-elasticsearch": "./dist/index.js"
912
},
13+
"repository": "https://github.com/elastic/elasticsearch-labs",
14+
"bugs": "https://github.com/elastic/elasticsearch-labs/issues",
15+
"homepage": "https://www.elastic.co/",
16+
"keywords": [
17+
"elasticsearch",
18+
"search",
19+
"mcp",
20+
"mcp-server"
21+
],
1022
"files": [
1123
"dist"
1224
],
@@ -25,5 +37,8 @@
2537
"@types/node": "^22",
2638
"shx": "^0.3.4",
2739
"typescript": "^5.6.2"
40+
},
41+
"engines": {
42+
"node": "^18"
2843
}
2944
}

0 commit comments

Comments
 (0)