elasticsearch-client-mcp-uv
Lightweight MCP Server for Elasticsearch with env-based configuration.
配置
在环境变量中配置连接信息:
export UV_ES_CONNECTIONS='[{"name":"ES开发","env":"dev","url":"http://localhost:9200","username":"elastic","password":"password"}]'
export UV_ES_SAFETY='{"read_only":false,"max_search_size":100,"confirm_delete":true,"allow_delete_index":false,"allow_create_index":false}'
Tools
list_connections- 列出所有连接select_connection- 选择当前连接create_connection- 创建新连接delete_connection- 删除连接es_search- 搜索文档es_query- 执行 DSL 查询es_index_doc- 索引文档es_delete_doc- 删除文档
首次使用
首次运行时若无配置,会引导你创建第一个连接。
Metadata
Release files for elasticsearch-client-mcp-uv 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| elasticsearch_client_mcp_uv-0.1.0.tar.gz | 59.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| elasticsearch_client_mcp_uv-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 73.3 kB
Release files / elasticsearch_client_mcp_uv-0.1.0.tar.gz
| Download URL | elasticsearch_client_mcp_uv-0.1.0.tar.gz |
|---|---|
| Size | 59.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a54ae424f9b3be7d2c0f88113f7be3e795f3b3697f2d1414b25679f4c3dc7557
|
|
BLAKE2b-256 checksum How to use checksums |
98c611ca50c0f53b7fba8f4103287614cc951f65709bb2782ef333f8a39dd937
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.13
|
Release files / elasticsearch_client_mcp_uv-0.1.0-py3-none-any.whl
| Download URL | elasticsearch_client_mcp_uv-0.1.0-py3-none-any.whl |
|---|---|
| Size | 13.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3b83c879254c28813ac1ac4ee339778ad0fc76d87a0219fa00f155fb9207edd
|
|
BLAKE2b-256 checksum How to use checksums |
537e9301bfc6733fc33fdd86c57ade51c7bbd215ed611c8c42ffffa7aefa08bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.13
|