StatsHub Docs
Endpoint referenceMCP

/mcp

MCP serves the endpoint.

GET
/api/v2/mcp

MCP serves the endpoint.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

curl -X GET "https://example.com/api/v2/mcp" \  -H "Content-Type: application/json" \  -d '{    "id": null,    "method": "string",    "params": null  }'
{  "$schema": "https://example.com/schemas/MCPGetOKBody.json",  "authRequired": true,  "description": "string",  "documentation": "string",  "endpoints": {    "property1": null,    "property2": null  },  "id": null,  "jsonrpc": "string",  "name": "string",  "protocol": "string",  "protocolVersion": "string",  "result": null,  "tools": 0,  "version": "string"}