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)
## Example Usage in ChatGPT
<img width="1402" height="1724" alt="CleanShot 2025-10-11 at 16 42 54@2x" src="https://github.com/user-attachments/assets/6b2d865f-b9e3-4d28-9225-225a32f87957" />
<img width="1492" height="1416" alt="CleanShot 2025-10-11 at 16 43 31@2x" src="https://github.com/user-attachments/assets/42c41d62-6fbe-4b7e-8176-0f1a9ea42367" />
<img width="1342" height="1702" alt="CleanShot 2025-10-11 at 16 44 24@2x" src="https://github.com/user-attachments/assets/bf72e7aa-07bc-44f1-9a74-d47e2b8b77b8" />
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/giridhxr/mcptest'
If you have feedback or need assistance with the MCP directory API, please join our Discord server