keelan-openai/consumer-health-MCP
3.2
If you are the rightful owner of consumer-health-MCP and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This document provides a structured overview of a minimal Health MCP Server designed for ChatGPT connector validation.
Minimal Health MCP Server
Purpose: Smallest working example for ChatGPT connector validation. Only implements required endpoints:
Endpoint | Method | Body | Response |
---|---|---|---|
/search | POST | { "query": "optional" } | { "results": [ { id, title, description, snippet } ] } |
/fetch | POST | { "id": "<id>" } | { id, title, content } |
Run
npm install
npm start
Test
# Empty search
curl -X POST http://localhost:3000/search -H "Content-Type: application/json" -d '{}'
# Search with query
curl -X POST http://localhost:3000/search -H "Content-Type: application/json" -d '{"query":"blood"}'
# Fetch
curl -X POST http://localhost:3000/fetch -H "Content-Type: application/json" -d '{"id":"bp-001"}'
Manifest
manifest.json
kept minimal (only search & fetch). No extra endpoints to avoid validator rejection.