Skip to main content

Lightweight MCP Server for Elasticsearch - env-based configuration

Project description

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 - 删除文档

首次使用

首次运行时若无配置,会引导你创建第一个连接。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

elasticsearch_client_mcp_uv-0.1.0.tar.gz (59.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

elasticsearch_client_mcp_uv-0.1.0-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file elasticsearch_client_mcp_uv-0.1.0.tar.gz.

File metadata

File hashes

Hashes for elasticsearch_client_mcp_uv-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a54ae424f9b3be7d2c0f88113f7be3e795f3b3697f2d1414b25679f4c3dc7557
MD5 22dec09b1ef9fcd3e88c2a135d087ae0
BLAKE2b-256 98c611ca50c0f53b7fba8f4103287614cc951f65709bb2782ef333f8a39dd937

See more details on using hashes here.

File details

Details for the file elasticsearch_client_mcp_uv-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for elasticsearch_client_mcp_uv-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c3b83c879254c28813ac1ac4ee339778ad0fc76d87a0219fa00f155fb9207edd
MD5 6579dc6e6c374729fce006e7ec971b3a
BLAKE2b-256 537e9301bfc6733fc33fdd86c57ade51c7bbd215ed611c8c42ffffa7aefa08bb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page