# MCP

Small JSON-RPC endpoint for one site. Auth is the same site id as the read API. It does not invent visitors, rand, or pages. There is no CLI.

`POST https://www.zarstat.co.za/api/mcp?site=YOUR_SITE`

Methods: initialize (protocol 2024-11-05), tools/list, tools/call, ping.

Tools: zarstat_overview, zarstat_pages, zarstat_channels.

Range is 7d, 30d, or all. Empty sites return zeros and empty arrays.
