MCP server
The Reflex MCP server lets AI assistants (Cursor, Claude Desktop, and other MCP-compatible clients) interact with your Reflex account — reading server state, viewing incidents, and triggering deployments.
Setup
- Generate an API token in your Reflex dashboard under Settings → API Tokens
- Download the MCP server package from the link in your dashboard under Settings → Integrations → MCP
- Configure your AI client to use the Reflex MCP server with your API token
Detailed setup instructions for each supported client are provided in the dashboard after generating your token.
What it can do
- Read server state — View connected servers, their health status, and recent metrics
- View incidents — Browse active and resolved incidents with full timelines
- Trigger deployments — Start deployments from within your AI assistant
- Tail logs — Stream recent log output for debugging
Supported clients
- Cursor — Add Reflex as an MCP server in your project settings
- Claude Desktop — Add Reflex to your Claude Desktop MCP configuration
Configuration examples for each client are available in your dashboard after setup.
Security
- All requests are authenticated with your scoped API token
- The MCP server runs locally on your machine — no additional inbound ports are needed
- Use a dedicated API token for MCP access rather than reusing personal tokens
- Tokens can be revoked at any time from the dashboard