Skip to main content
Glama

Elasticsearch MCP Server

Apache 2.0
127
  • Apple
from typing import Dict from src.clients.base import SearchClientBase class AliasClient(SearchClientBase): def list_aliases(self) -> Dict: """Get all aliases.""" return self.client.cat.aliases() def get_alias(self, index: str) -> Dict: """Get aliases for the specified index.""" return self.client.indices.get_alias(index=index) def put_alias(self, index: str, name: str, body: Dict) -> Dict: """Creates or updates an alias.""" return self.client.indices.put_alias(index=index, name=name, body=body) def delete_alias(self, index: str, name: str) -> Dict: """Delete an alias for the specified index.""" return self.client.indices.delete_alias(index=index, name=name)

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