Admin

Mcp Usage

Use of the public MCP server (/api/mcp), from mcp_calls (migration 049): totals, calls per day, per tool, per client and user-agent, and the latest calls. Tool errors are read from the reply, because MCP answers a failed tool with HTTP 200; rate-limited requests are the 429s. What went wrong is split three ways (see _MCP_FAIL and below), because one "errors" number counted every crawler that used the protocol wrong as a failure of ours.

get/api/admin/mcp-usage

Request

  • Base URL: https://pegarex.com.br (the document declares no server; this is the origin it was published from)
  • URL: https://pegarex.com.br/api/admin/mcp-usage
  • Auth: HTTP bearer

Query parameters

daysinteger

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.