from typing import Dict, Optional
from src.clients.base import SearchClientBase
class GeneralClient(SearchClientBase):
def general_api_request(self, method: str, path: str, params: Optional[Dict] = None, body: Optional[Dict] = None):
"""Perform a general HTTP API request.
Use this tool for any Elasticsearch/OpenSearch API that does not have a dedicated tool.
"""
return self.general_client.request(method, path, params, body)
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