This is a sample MCP server that lets you list, get a user and add a user health profile You can check more about if when you load this into a MCP Inspector
Quick Setup
First run the MCP Server
uv run main.py
(Optional - if u want to use this MCP server outside of your machine) Next expose this via cloudflared
cloudflared tunnel --url localhost:8000
It will take some time to generate a tunnel URL, but you will get one. Send that your buddy for them test. You might have to retry this step a few times because the tunnel establishment is a bit finnicky
Next you can test this on MCP Inspector Run this on terminal
npx @modelcontextprotocol/inspector
And then use localhost:8000/mcp as the MCP host
Now finally you can test this on ChatGPT Connectors by turning on developer mode and adding a custom connector (MCP)
