Skip to Content
Platform API

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/serversSearch. 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/categoriesCategories with server counts.
GET /v1/public/featuredFeatured listings.
GET /v1/public/publishers/{slug}A publisher and their servers.
GET /v1/public/stats, /statusMarketplace totals and the status page feed.
POST /v1/public/servers/{slug}/reportReport a server to the trust team.

Servers

POST /v1/orgs/{org}/setup-sessionsStart the guided setup. Answer with POST /v1/setup-sessions/{id}/answer.
GET /v1/orgs/{org}/serversYour organization’s servers.
PATCH /v1/servers/{id}Update a listing. Upstream and slug changes go to review.
POST /v1/servers/{id}/syncRe-read tools now.
POST /v1/servers/{id}/submit, /unpublishSend for review, or take down.

Analytics

GET /v1/servers/{id}/usageTotals and a time series. range = 24h, 7d or 30d.
GET /v1/servers/{id}/analytics/compareThis range against the previous one.
GET /v1/servers/{id}/analytics/latencyp50 and p95, overall and per tool.
GET /v1/servers/{id}/analytics/errorsFailures grouped by cause, with hints.
GET /v1/servers/{id}/analytics/clientsCalls per client over time.
GET /v1/servers/{id}/requestsThe 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