Endpoint MCP — JSON-RPC (initialize, tools/list, tools/call)
Satu endpoint untuk seluruh protokol MCP (Streamable HTTP, stateless — tiap POST independen, tanpa session). Klien MCP standar (Claude Code/Desktop, SDK MCP) menangani protokol ini otomatis — cukup daftarkan URL + header x-api-key.
Tools v1 (tampil sesuai scope key): send_message (messages:write), generate_bot_reply (chat:write), list_channels (channels:read), list_conversations + get_conversation (inbox:read), list_products (products:read), get_subscription (subscription:read).
Hanya secret key; publishable key ditolak 403. GET/DELETE ke endpoint ini dijawab 405. Sertakan header Accept: application/json, text/event-stream.
Request
- Base URL: https://api.tokolaku.id
- URL: https://api.tokolaku.id/mcp
- Auth: HTTP bearer
Request body
Response
Respons JSON-RPC (error level tool/protokol juga dibungkus 200)
Changes
No recorded changes to this operation across all 1 revision of this API.