Platform API
The console, marketplace and admin all run on the same REST API at api.mcp.co.tz/v1. Public endpoints need no sign-in.
Public
GET /v1/public/servers | Search. q, category, sort (popular, newest, az), verified, limit, cursor. |
|---|---|
GET /v1/public/servers/{slug} | A listing with tools, uptime, health strip and connect snippets. |
GET /v1/public/categories | Categories with server counts. |
GET /v1/public/featured | Featured listings. |
GET /v1/public/publishers/{slug} | A publisher and their servers. |
GET /v1/public/stats, /status | Marketplace totals and the status page feed. |
POST /v1/public/servers/{slug}/report | Report a server to the trust team. |
Servers
POST /v1/orgs/{org}/setup-sessions | Start the guided setup. Answer with POST /v1/setup-sessions/{id}/answer. |
|---|---|
GET /v1/orgs/{org}/servers | Your organization’s servers. |
PATCH /v1/servers/{id} | Update a listing. Upstream and slug changes go to review. |
POST /v1/servers/{id}/sync | Re-read tools now. |
POST /v1/servers/{id}/submit, /unpublish | Send for review, or take down. |
Analytics
GET /v1/servers/{id}/usage | Totals and a time series. range = 24h, 7d or 30d. |
|---|---|
GET /v1/servers/{id}/analytics/compare | This range against the previous one. |
GET /v1/servers/{id}/analytics/latency | p50 and p95, overall and per tool. |
GET /v1/servers/{id}/analytics/errors | Failures grouped by cause, with hints. |
GET /v1/servers/{id}/analytics/clients | Calls per client over time. |
GET /v1/servers/{id}/requests | The request log. Filter by tool, outcome, request_id. |
Live events
GET /v1/events is a Server-Sent Events stream of notifications for everything you can see: health changes, review results, tool syncs and invites. The console turns them into toasts.
Mutating requests accept an Idempotency-Key header; a retry with the same key returns the first response.
Last updated on