MCPlexer exposes a REST API for managing configuration and querying runtime state. All endpoints are under the /api/v1 prefix.
Base URL:http://localhost:8080/api/v1
No authentication
The API has no authentication — it's designed for local use. All requests are trusted. Do not expose the API to untrusted networks without an auth proxy.
Health
GET/api/v1/health
Returns server health status.
Dashboard
GET/api/v1/dashboard?range=1h|6h|24h|7d
Returns a full dashboard snapshot including active sessions, downstream status, request stats, time series, tool leaderboard, server health, error breakdown, route hit map, approval metrics, and cache stats.
Dry Run
POST/api/v1/dry-run
Simulate route resolution for a tool call without executing it. Returns the matched route, downstream server, auth scope, and policy decision.
Get current settings. Returns the active settings (merged from defaults, database, and environment variable overrides) plus the default descriptions for all built-in tools.
PUT/api/v1/settings
Update settings. Validates and persists to the database. Environment variable overrides still take precedence on read.
List all known MCP clients with detection status (installed on this machine), configuration status (MCPlexer entry present), binary path, and the server entry JSON.
POST/api/v1/mcp-install/{clientId}/install
Write the MCPlexer server entry into a client's MCP config file. The client must be detected on this machine.
POST/api/v1/mcp-install/{clientId}/uninstall
Remove the MCPlexer server entry from a client's MCP config file.
GET/api/v1/mcp-install/{clientId}/preview
Preview what the client's config file would look like after installing MCPlexer, without writing any changes.