Skip to content

Commit 971d3d9

Browse files
authored
docs: Improve README and update CONTRIBUTING (#152)
1 parent f5c96d6 commit 971d3d9

File tree

2 files changed

+20
-25
lines changed

2 files changed

+20
-25
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ This server connects agents to your Elasticsearch data using the Model Context P
2222
* Elasticsearch authentication credentials (API key or username/password)
2323
* An MCP Client (e.g. [Claude Desktop](https://claude.ai/download), [Goose](https://block.github.io/goose/))
2424

25+
**Supported Elasticsearch versions**
26+
27+
Versions `8.x` and `9.x` are officially supported. Earlier versions may partially work, at your own risk and with no guarantees made.
28+
2529
## Installation & Setup
2630

2731
This MCP server is provided as a Docker image at `docker.elastic.co/mcp/elasticsearch`

docs/CONTRIBUTING.md

Lines changed: 16 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[pr]: https://github.com/elastic/mcp-server-elasticsearch/compare
55
[code-of-conduct]: https://www.elastic.co/community/codeofconduct
66

7-
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!
88

99
There are many ways to contribute, from writing tutorials or blog posts, improving the documentation, submitting bug reports and feature requests or writing code.
1010

@@ -15,26 +15,18 @@ Please note that this project follows the [Elastic's Open Source Community Code
1515

1616
## Setup
1717

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)
3019

31-
To build the Docker image, run:
20+
2. Build the project:
21+
```sh
22+
cargo build
23+
```
3224

33-
```sh
34-
npm run build-docker-image
35-
```
25+
or to build the Docker image, run:
3626

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+
```
3830

3931
## Start Elasticsearch
4032

@@ -57,13 +49,14 @@ You can use either:
5749

5850
1. [Fork][fork] and clone the repository
5951
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:
6255
```bash
63-
ES_URL=your-elasticsearch-url ES_API_KEY=your-api-key npm run inspector
56+
npx @modelcontextprotocol/inspector
6457
```
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]
6760

6861
## Best Practices
6962

@@ -72,8 +65,6 @@ You can use either:
7265
- Include tests for your changes
7366
- Keep PRs focused on a single concern
7467
- Update documentation as needed
75-
- Use TypeScript with proper typing
76-
- Add JSDoc comments to new functions
7768

7869
## Getting Help
7970

0 commit comments

Comments
 (0)