Skip to main content
Glama

Apple Health MCP Server

fileserver.pyβ€’649 B
import argparse import uvicorn from fastapi import FastAPI from fastapi.responses import FileResponse app = FastAPI() @app.get("/{filename}") async def serve_file(filename: str) -> FileResponse: return FileResponse(filename) parser = argparse.ArgumentParser( prog="Filesystem server", description="Host local files in this directory on localhost", ) parser.add_argument( "-p", "--port", type=int, help="Port on which to serve", default=8080, dest="port", action="store", ) if __name__ == "__main__": args = parser.parse_args() port = args.port uvicorn.run(app, host="localhost", port=port)

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