hosting
POST /v1/sites/{siteId}/ide-mcp
The platform MCP server, reached from inside the site's web editor.
Аутентификација
Ова крајња тачка је јавна. Не захтева никакве акредитиве нити организацију — то је оно што читају наш сопствени маркетиншки сајт и машине за одговоре са вештачком интелигенцијом.
Ова крајња тачка не прихвата id организације. Ваш кључ већ идентификује организацију којој припада, а одговор је ограничен на њу.
Испробајте
Замените све што је у угластим заградама сопственим вредностима, а чувар места кључа кључем са своје контролне табле.
curl -X POST https://api.zinndigital.com/v1/sites/{siteId}/ide-mcp \
-H "Content-Type: application/json" \
-d '{ "jsonrpc": <string<2.0>>, "method": <string> }'Пријављени сте? API конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом API-ју како бисте могли да видите стварни одговор. Отворите ову крајњу тачку у API конзоли
Детаљи
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.
Параметри
| Назив | Тип | Обавезно | Шта је ово |
|---|---|---|---|
siteId (path) | Uuid | Да | Site ID (UUIDv7). |
Тело захтева
| Назив | Тип | Обавезно | Шта је ово |
|---|---|---|---|
jsonrpc | string<2.0> | Да | — |
id | string | integer | Не | Request id (string or number); omit for a notification. |
method | string | Да | — |
params | object | Не | — |
Одговор
| Назив | Тип | Обавезно | Шта је ово |
|---|---|---|---|
jsonrpc | string<2.0> | Да | — |
id | string | integer | null | Да | — |
result | object | Не | — |
error | object | Не | — |
Грешке које ова крајња тачка може вратити
404 · 422