Configurar MCP
Conecta Tong en tu cliente MCP, autoriza tu cuenta y descubre las herramientas creativas permitidas.
Conectar con OAuth#
Conecta Tong en tu cliente MCP, autoriza tu cuenta y descubre las herramientas creativas permitidas.
{ "mcpServers": { "tong": { "type": "http", "url": "https://platform.tongai.io/mcp" } }}Usa el endpoint siguiente en un cliente MCP compatible con Streamable HTTP.
transport: Streamable HTTPprotocol: 2025-11-25SDK: @modelcontextprotocol/sdk 1.32.1endpoint: https://platform.tongai.io/mcpDescubrir y llamar herramientas#
{ "jsonrpc": "2.0", "id": 1, "method": "tools/list", "params": {}}Las solicitudes REST envuelven los argumentos en input. Las llamadas MCP envían los mismos argumentos directamente.
{ "jsonrpc": "2.0", "id": 2, "method": "tools/call", "params": { "name": "tong_generation_quote", "arguments": { "body": { "operation": "TEXT_TO_IMAGE", "model": "tong_ea55aff4f3b5c8aba3a35569", "routingParameters": { "ratio": "16:9" } } }, "_meta": { "io.tongai/idempotency-key": "45be69f1-c266-4a09-a82c-bf3c6303eb03" } }}Compatibilidad#
Solo el SDK oficial fijado y el puente local tienen pruebas locales. Otras aplicaciones MCP deben verificarse antes de declararlas compatibles.