Historical MCP tool call analytics with aggregation
GET
/mcp-analytics
const url = 'https://example.com/api/mcp-analytics?period=24h';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/mcp-analytics?period=24h' \ --header 'Authorization: Bearer <token>'Team-scoped analytics for MCP tool calls. Supports 24h, 7d, 30d periods with breakdown by tool, origin, project, and time series.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” period
string
Responses
Section titled “ Responses ”MCP usage analytics
Media type application/json
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