Cursor
Cursor reads MCP servers from mcp.json, either per project or globally.
Where the file goes
| Scope | Path |
|---|---|
| Global | ~/.cursor/mcp.json |
| This project only | .cursor/mcp.json in the repo root |
Use the global file for FitnessPeak — your recovery isn't project-specific, and a key committed into a repo is a key you'll have to rotate.
{
"mcpServers": {
"fitnesspeak": {
"url": "https://fitnesspeak.app/mcp",
"headers": {
"Authorization": "Bearer fp_live_YOUR_KEY_HERE"
}
}
}
}
Enable it
Open Settings → MCP. FitnessPeak should show a green dot and six tools. If it doesn't, hit refresh; if it still doesn't, see troubleshooting.
Don't commit your key. If you do use a project-scoped .cursor/mcp.json, add it to .gitignore first. If a key ever reaches a repo, revoke it from your dashboard — that takes five seconds and invalidates it immediately.
Why this in a code editor
Less odd than it sounds. If you're building anything health-related, having real WHOOP data one tool call away beats writing fixtures. And a 3pm “should I take a break?” answers itself.