from typing import Dict
from src.clients.base import SearchClientBase
class ClusterClient(SearchClientBase):
def get_cluster_health(self) -> Dict:
"""Get cluster health information from OpenSearch."""
return self.client.cluster.health()
def get_cluster_stats(self) -> Dict:
"""Get cluster statistics from OpenSearch."""
return self.client.cluster.stats()
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cr7258/elasticsearch-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server