You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Elasticsearch MCP Server client is open source and we love to receive contributions from our community — you!
7
+
Elasticsearch MCP Server is open source, and we love to receive contributions from our community — you!
8
8
9
9
There are many ways to contribute, from writing tutorials or blog posts, improving the documentation, submitting bug reports and feature requests or writing code.
10
10
@@ -15,26 +15,18 @@ Please note that this project follows the [Elastic's Open Source Community Code
15
15
16
16
## Setup
17
17
18
-
1. Install Node.js 18+ (using [nvm](https://github.com/nvm-sh/nvm) is recommended)
19
-
```bash
20
-
nvm use
21
-
```
22
-
2. Install dependencies
23
-
```bash
24
-
npm install
25
-
```
26
-
3. Build the project
27
-
```bash
28
-
npm run build
29
-
```
18
+
1. Install Rust (using [rustup](https://www.rust-lang.org/tools/install) is recommended)
30
19
31
-
To build the Docker image, run:
20
+
2. Build the project:
21
+
```sh
22
+
cargo build
23
+
```
32
24
33
-
```sh
34
-
npm run build-docker-image
35
-
```
25
+
or to build the Docker image, run:
36
26
37
-
This builds a multi-architecture image for amd64 and arm64. If you don't have a configuration that allows multi-architecture builds, simply run `docker build -t mcp/elasticsearch` .
27
+
```sh
28
+
docker build -t mcp/elasticsearch
29
+
```
38
30
39
31
## Start Elasticsearch
40
32
@@ -57,13 +49,14 @@ You can use either:
57
49
58
50
1.[Fork][fork] and clone the repository
59
51
2. Create a new branch: `git checkout -b my-branch-name`
60
-
3. Make your changes
61
-
4. Test locally with the MCP Inspector:
52
+
3. Make your changes and add tests
53
+
4. Fix `cargo clippy` warnings, run `cargo fmt` and `cargo test`
54
+
5. Test locally with the MCP Inspector:
62
55
```bash
63
-
ES_URL=your-elasticsearch-url ES_API_KEY=your-api-key npm run inspector
56
+
npx @modelcontextprotocol/inspector
64
57
```
65
-
5.[Test with MCP Client](../README.md#developing-locally)
66
-
6. Push to your fork and [submit a pull request][pr]
58
+
7.[Test with MCP Client](../README.md#installation--setup)
59
+
8. Push to your fork and [submit a pull request][pr]
0 commit comments