MCP dashboard metrics and sessions (superadmin only)
GET
/admin/mcp-dashboard
const url = 'https://example.com/api/admin/mcp-dashboard?period=60';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/admin/mcp-dashboard?period=60' \ --header 'Authorization: Bearer <token>'Returns sliding-window metrics, active MCP SSE sessions, and circuit breaker snapshots. Access is restricted to superadmins because the response includes process-global operational metadata.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” period
integer
Sliding window length in minutes (5–1440; default 60).
Responses
Section titled “ Responses ”MCP dashboard snapshot
Media type application/json
object
metrics
object
activeSessions
Array<object>
object
activeSessionCount
integer
circuitBreakers
object
Not authenticated
Media type application/json
object
error
required
Human-readable error message
string
code
Stable machine-readable error code for client branching
string
fieldErrors
First validation message per field path
object
key
additional properties
string
issues
Structured validation issues (Zod)
Array<object>
object
path
required
string
message
required
string
retryAfter
Seconds until rate limit resets (429 responses)
number
reconnect
True if re-linking GitHub may fix the issue
boolean
Forbidden
Media type application/json
object
error
required
Human-readable error message
string
code
Stable machine-readable error code for client branching
string
fieldErrors
First validation message per field path
object
key
additional properties
string
issues
Structured validation issues (Zod)
Array<object>
object
path
required
string
message
required
string
retryAfter
Seconds until rate limit resets (429 responses)
number