polarmcp for Cursor
io.github.davidmosiah/polarmcp
Privacy-first unofficial Polar AccessLink v4 MCP server for AI health, sleep and training agents.
client:Cursor
transport:stdio
runtime:npm
Install polarmcp in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"polarmcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"polar-mcp-unofficial"
],
"env": {
"POLAR_CLIENT_ID": "<POLAR_CLIENT_ID>",
"POLAR_CLIENT_SECRET": "<POLAR_CLIENT_SECRET>",
"POLAR_REDIRECT_URI": "<POLAR_REDIRECT_URI>",
"POLAR_TOKEN_PATH": "<POLAR_TOKEN_PATH>",
"POLAR_PRIVACY_MODE": "<POLAR_PRIVACY_MODE>",
"POLAR_CACHE": "<POLAR_CACHE>",
"POLAR_CACHE_PATH": "<POLAR_CACHE_PATH>",
"POLAR_NO_CACHE": "<POLAR_NO_CACHE>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs