Install into Cursor
Add the JSON below to .cursor/mcp.json (project scope) or ~/.cursor/mcp.json (global scope). You can also use the Settings > MCP UI: add a new server, point it at the command below, and toggle it on. No API key in the config — sign in after install.
.cursor/mcp.json
{
"mcpServers": {
"reflex": {
"command": "npx",
"args": [
"-y",
"reflex-browser@latest",
"mcp"
]
}
}
}After saving, Cursor shows the Reflex server toggled on in Settings > MCP, with its tools listed.
Ask your agent to run reflex_auth with action: "login" to sign in (opens your browser, saves a key locally). For CI or headless setups, add REFLEX_API_KEY to the env block instead.
Platform note: macOS is supported today; Windows is in beta (see troubleshooting).