Skip to main content
Glama

Apple Health MCP Server

es_client.pyβ€’643 B
from elasticsearch import Elasticsearch from app.config import settings class ESClient: def __init__(self): self.xml_path = settings.RAW_XML_PATH self.host = settings.ES_HOST self.port = settings.ES_PORT self.index = settings.ES_INDEX self.user = settings.ES_USER self.password = settings.ES_PASSWORD self.engine = Elasticsearch( [{"host": self.host, "port": self.port, "scheme": "http"}], basic_auth=(self.user, self.password.get_secret_value()) if self.user and self.password else None, request_timeout=120, )

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/the-momentum/apple-health-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server