Endpoints
Todos los endpoints requieren el header
X-API-Key: <tu_api_key>. Usa sk_test_ para sandbox y sk_live_ para produccion.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
URLs de conexion del MCP Server de CUCU para sandbox y produccion.
| Protocolo | Sandbox | Produccion | Recomendado |
|---|---|---|---|
| Streamable HTTP | https://sandbox.cucu.bo/mcp | https://api.cucu.bo/mcp | Si — todos los clientes modernos |
| Legacy SSE | https://sandbox.cucu.bo/mcp/sse | https://api.cucu.bo/mcp/sse | Solo si tu cliente no soporta Streamable HTTP |
X-API-Key: <tu_api_key>. Usa sk_test_ para sandbox y sk_live_ para produccion.curl -X POST https://sandbox.cucu.bo/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "X-API-Key: sk_test_..." \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
curl -X POST https://sandbox.cucu.bo/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "X-API-Key: sk_test_..." \
-d '{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "verificarFormatoNit",
"arguments": { "nit": "1023456789" }
}
}'
{
"jsonrpc": "2.0",
"id": 2,
"result": {
"content": [
{ "type": "text", "text": "El NIT 1023456789 tiene un formato valido." }
]
}
}