mttr_sites
GET/api/v1/sitesYour claimed sites
Lists the sites mttr has read, each with its latest score, page count and the rule to fix first.
| Argument | Type | What it is |
|---|---|---|
q | stringquery | Text the site name must contain. |
state | stringquery | Only sites in this state.livedraftblocked |
sort | stringquery | What to sort by.scorehostpagesrunsatchange |
dir | stringquery | Which way to sort.ascdesc |
limit | numberquery | How many to return. |
offset | numberquery | How many to skip, for the next part of a long list. |
mttr_sites({})curl "https://mttr.si/api/v1/sites" \ -H "Authorization: Bearer $MTTR_KEY"
curl https://mttr.si/mcp \ -H "Authorization: Bearer $MTTR_KEY" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "mttr_sites", "arguments": {} } }'
const res = await fetch("https://mttr.si/api/v1/sites", { headers: { Authorization: `Bearer ${process.env.MTTR_KEY}` }, }); const reply = await res.json();