hosting

POST /v1/sites/{siteId}/ide-mcp

The platform MCP server, reached from inside the site's web editor.

Všechny koncové body hosting

Všechny dokumenty pro vývojáře

Autentizace

Tento koncový bod je veřejný. Nevyžaduje žádná pověření ani organizaci – je to to, co čte náš vlastní marketingový web a naše AI vyhledávače.

Tento koncový bod nevyžaduje žádné ID organizace. Váš klíč již identifikuje organizaci, ke které patří, a odpověď je na ni omezena.

Vyzvednout

Nahraďte cokoli v závorkách vlastními hodnotami a zástupný symbol klíče klíčem z vašeho řídicího panelu.

curl -X POST https://api.zinndigital.com/v1/sites/{siteId}/ide-mcp \
  -H "Content-Type: application/json" \
  -d '{ "jsonrpc": <string<2.0>>, "method": <string> }'

Přihlášeni? Konzole API ve vašem dashboardu automaticky doplní vaše skutečné ID organizace i váš vlastní klíč a odešle požadavek na živé API, abyste viděli reálnou odpověď. Otevřete tento koncový bod v konzoli API

Podrobnosti

A JSON-RPC 2.0 MCP endpoint — the same server, registry, write gate, confirmation guard, audit trail and spend caps as /v1/mcp, reached through a different door. What differs is only the credential: this one accepts the editor's own signed grant, so the editor can be shipped with our MCP server already connected without a customer's hosting jail ever holding an McpConnection token. The editor's own MCP client is seeded to point at the session gate on the hosting box; the gate attaches the grant and relays here. One request, one response — a notification (no id) answers 202 with no body, and a JSON array is accepted as a batch. Deliberately narrower than a connection a customer mints themselves. An MCP token can never out-scope the human who created it, and an editor grant carries that person's name rather than their permissions — so this connection is scoped to what the editor already is: the customer's sites, their control panels and their cache. Opening an editor is not a privilege escalation.

Parametry

NázevTypPožadovánoCo to je
siteId (path)UuidAnoSite ID (UUIDv7).

Tělo požadavku

NázevTypPožadovánoCo to je
jsonrpcstring<2.0>Ano
idstring | integerNeRequest id (string or number); omit for a notification.
methodstringAno
paramsobjectNe

Odpověď

NázevTypPožadovánoCo to je
jsonrpcstring<2.0>Ano
idstring | integer | nullAno
resultobjectNe
errorobjectNe

Chyby, které může tento koncový bod vrátit

404 · 422