認証

ベアラー トークンとして API キーを送信します。このエンドポイントでは仕様に特定の権限が記載されていないため、キーに必要な最小限の権限を付与し、推測するのではなくレスポンスを確認してください。

このエンドポイントは組織IDを受け付けません。お使いのキーによって所属する組織がすでに特定されており、レスポンスはその組織にスコープされます。

試してみる

アングルブラケット内のすべてをご自身の値に置き換え、キーのプレースホルダーをご利用中のダッシュボードのキーに置き換えてください。

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

ログインしていますか?ダッシュボード内のAPIコンソールでは、実際の組織IDやお客様ご自身のキーが自動入力され、ライブAPIに対してリクエストが実行されるため、実際のレスポンスを確認することができます。 API コンソールでこのエンドポイントを開く

詳細

The Model Context Protocol endpoint (initialize, tools/list, tools/call, resources/list, resources/read, ping). Authenticated only by a zmcp_… connection token (Authorization: Bearer zmcp_…); a missing/invalid token returns 401 with a WWW-Authenticate challenge pointing at the resource-metadata document. Each call runs under the connecting org's RLS scope and is gated by the connection's RBAC scopes; a batch (JSON array) is accepted. The tool catalogue is additionally filtered by the connecting org's role (customer, reseller's client, agency, reseller, staff), in tools/list and tools/call alike — a role-hidden tool answers unknown tool, never forbidden. An entitlement refusal (a full plan, a feature not on the tier) is returned as a tool result carrying a structured upgrade offer, never as a JSON-RPC error.

リクエスト本文

名前タイプ必須これがその内容です
jsonrpcstring<2.0>はい
idstring | integerいいえRequest id (string or number); omit for a notification.
methodstringはい
paramsobjectいいえ

返信

名前タイプ必須これがその内容です
jsonrpcstring<2.0>はい
idstring | integer | nullはい
resultobjectいいえ
errorobjectいいえ

このエンドポイントが返すエラー

401 · 429