elasticsearch-mcp-server 0.1.2__py3-none-any.whl → 0.1.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of elasticsearch-mcp-server might be problematic. Click here for more details.

@@ -1,5 +1,10 @@
1
- from .tools.index import IndexTools
2
- from .tools.document import DocumentTools
3
- from .tools.cluster import ClusterTools
1
+ from . import server
4
2
 
5
- __all__ = ['IndexTools', 'DocumentTools', 'ClusterTools']
3
+
4
+ def main():
5
+ """Main entry point for the package."""
6
+ server.main()
7
+
8
+
9
+ # Optionally expose other important items at package level
10
+ __all__ = ["main", "server"]
@@ -1,7 +1,9 @@
1
1
  #!/usr/bin/env python3
2
2
  import logging
3
3
  from fastmcp import FastMCP
4
- from elasticsearch_mcp_server import IndexTools, DocumentTools, ClusterTools
4
+ from .tools.index import IndexTools
5
+ from .tools.document import DocumentTools
6
+ from .tools.cluster import ClusterTools
5
7
 
6
8
  class ElasticsearchMCPServer:
7
9
  def __init__(self):
@@ -34,6 +36,6 @@ class ElasticsearchMCPServer:
34
36
  """Run the MCP server."""
35
37
  self.mcp.run()
36
38
 
37
- if __name__ == "__main__":
39
+ def main():
38
40
  server = ElasticsearchMCPServer()
39
41
  server.run()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: elasticsearch-mcp-server
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: MCP Server for interacting with Elasticsearch
5
5
  License: Apache License
6
6
  Version 2.0, January 2004
@@ -0,0 +1,11 @@
1
+ elasticsearch_mcp_server/__init__.py,sha256=wGsW3VlozSA6CWKQSuUTaLZb31m4dNN8ACNG6xRwOyU,186
2
+ elasticsearch_mcp_server/es_client.py,sha256=n7RYcB97DgCIkrY1ryP4Ubq3IJxfnKqzvXMXRCbOXr8,1510
3
+ elasticsearch_mcp_server/server.py,sha256=RGKJKk6EpnM1etM8CYXoR_A4OjHqlXcIyRqgJfNJksg,1212
4
+ elasticsearch_mcp_server/tools/cluster.py,sha256=bGShKKDCgHW0GZoPd8ty__yX1Yn_dTwOH4hGGQsO5l8,1849
5
+ elasticsearch_mcp_server/tools/document.py,sha256=PDD63Etp1MS0G8N3IDg1j-hG41r5OFe4adlotnyuZHU,1075
6
+ elasticsearch_mcp_server/tools/index.py,sha256=Zgc90bVNH18LaHs4CXIRDAdcAdJyxx_RN788xZjLA-A,2174
7
+ elasticsearch_mcp_server-0.1.3.dist-info/METADATA,sha256=iD-dxfSN3AypZVjpvbjsQuTQVZyd7b_Ipoiv3pV1Kmo,15647
8
+ elasticsearch_mcp_server-0.1.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
9
+ elasticsearch_mcp_server-0.1.3.dist-info/entry_points.txt,sha256=sAW_y-4MkO9T00GbIb_tLQikrTPF94uHU1YkbWMj65g,75
10
+ elasticsearch_mcp_server-0.1.3.dist-info/licenses/LICENSE,sha256=DBsjuP5FR51d9kaUdXlVBuBv3cQ_I_adq9gefYQ9FcY,11339
11
+ elasticsearch_mcp_server-0.1.3.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- elasticsearch_mcp_server/__init__.py,sha256=5FVylVoTvoYDIMpnO0rUYSUQg9T4CBcFjcYlgm9gvuQ,177
2
- elasticsearch_mcp_server/es_client.py,sha256=n7RYcB97DgCIkrY1ryP4Ubq3IJxfnKqzvXMXRCbOXr8,1510
3
- elasticsearch_mcp_server/server.py,sha256=ACQBXOWc4l0SK4dC_fMGlGVc8ahpa3fNLrI3o-wBh2k,1186
4
- elasticsearch_mcp_server/tools/cluster.py,sha256=bGShKKDCgHW0GZoPd8ty__yX1Yn_dTwOH4hGGQsO5l8,1849
5
- elasticsearch_mcp_server/tools/document.py,sha256=PDD63Etp1MS0G8N3IDg1j-hG41r5OFe4adlotnyuZHU,1075
6
- elasticsearch_mcp_server/tools/index.py,sha256=Zgc90bVNH18LaHs4CXIRDAdcAdJyxx_RN788xZjLA-A,2174
7
- elasticsearch_mcp_server-0.1.2.dist-info/METADATA,sha256=30NAjg0DBa90MxvI4kH3C8i7m4fItPo6K9IXtIbhCpU,15647
8
- elasticsearch_mcp_server-0.1.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
9
- elasticsearch_mcp_server-0.1.2.dist-info/entry_points.txt,sha256=sAW_y-4MkO9T00GbIb_tLQikrTPF94uHU1YkbWMj65g,75
10
- elasticsearch_mcp_server-0.1.2.dist-info/licenses/LICENSE,sha256=DBsjuP5FR51d9kaUdXlVBuBv3cQ_I_adq9gefYQ9FcY,11339
11
- elasticsearch_mcp_server-0.1.2.dist-info/RECORD,,