MCP Server for ElasticGraph to allow goose, Cursor, etc to create and manage your ElasticGraph project.
Project description
ElasticGraph MCP Server
This provides a Model Context Protocol (MCP) server for ElasticGraph using the MCP python-sdk.
Setup
- Install dependencies:
# make install
uv sync
source .venv/bin/activate
- Run the server:
The server runs on port 3000, and though there are no logs displayed, it is actively waiting for input.
# make server
uv pip install .
elasticgraph-mcp-server
Development
MCP Inspector
You can test your MCP server with Anthropic's Inspector. To start:
- Run the following command, which starts the server as a subprocess and launches the Inspector UI:
# make inspector
mcp dev src/elasticgraph_mcp/server.py
- Open your browser and navigate to http://localhost:5173 to access the MCP Inspector UI.
Goose
Add a development build to Goose:
- In Goose, navigate to Settings > Extensions > Add.
- Set Type to StandardIO.
- Obtain the absolute path to the project’s CLI:
# Get the path and copy it to your clipboard
realpath .venv/bin/elasticgraph-mcp-server | pbcopy
- Type
uv runthen paste that path
uv run </path/to/elasticgraph_mcp/.venv/bin/elasticgraph-mcp-server>
- Enable the extension and verify that Goose recognizes your tools.
Ask goose: What tools and resources for ElasticGraph do you have?
Development commands
This project uses make for common development tasks. To see all available commands, run:
make help
Using Goose to help with development
You can use Goose to improve this MCP server. To teach goose about MCP, follow these steps:
Setting Up a Goose Session
- Navigate to this MCP Server Directory:
cd ai_tools/elasticgraph-mcp-server
- Prepare a Temporary Directory:
mkdir tmp
touch tmp/.gitignore
echo "/*" > tmp/.gitignore
- Create MCP Instructions File:
Copy MCP instructions from MCP LLM instructions to a new file:
touch tmp/mcp_for_llm_instructions.md
- Start a Goose Session:
goose session
Try this prompt:
First, learn about MCP servers from
tmp/mcp_for_llm_instructions.md. Then, see the current MCP server I'm building insrc/elasticgraph_mcp/server.py. Now
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file elasticgraph_mcp_server-0.1.1.tar.gz.
File metadata
- Download URL: elasticgraph_mcp_server-0.1.1.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
196834b68c8c886722c81e5fa5268a62ce0b69eb38e40ac787a577fbbcb7876b
|
|
| MD5 |
0a05bee04dc263544504709da9d2dcab
|
|
| BLAKE2b-256 |
39eccc01c64f3fc117013ddbccd065fec5635ec39816261f23af27bc9baa3d89
|
File details
Details for the file elasticgraph_mcp_server-0.1.1-py3-none-any.whl.
File metadata
- Download URL: elasticgraph_mcp_server-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eaf13e3bf3cc73bed08bff305d15d182f855ba612e5614d681d8382688055626
|
|
| MD5 |
04c39ce6cdf80cd6e37efd166ab12833
|
|
| BLAKE2b-256 |
10e4e0df9a4215ba2d039744954abdb42a52670913a1957d15b67fd166b6c644
|