polarmcp for Windsurf
io.github.davidmosiah/polarmcp
Privacy-first unofficial Polar AccessLink v4 MCP server for AI health, sleep and training agents.
client:Windsurf
transport:stdio
runtime:npm
Install polarmcp in Windsurf
~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
{
"mcpServers": {
"polarmcp": {
"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>"
}
}
}
}
Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs