
Conectar con Cline
Cline in VS Code — remote servers through cline_mcp_settings.json.
Este contenido está disponible en inglés.
¿Qué MCP vas a conectar? Los comandos de abajo cambian según tu elección.
- 1
Generate your API key
Sign in to app.newalgorithm.io with your account, open Keys & apps and generate a key. It is shown only once: copy it and store it somewhere safe.
Key formatna_live_xxxxxxxxxxxxxxxxx - 2
Open the MCP configuration
In the Cline panel, click the MCP Servers icon (top bar) → Configure MCP Servers. The button opens cline_mcp_settings.json in the editor, so you don't have to hunt for the file path.
- 3
Declare the NewAlgorithm server
Cline calls the Streamable HTTP transport streamableHttp. An empty autoApprove means Cline asks for your confirmation before each call — leave it that way until you trust the flow.
cline_mcp_settings.json{ "mcpServers": { "NewAlgorithm-TOTVS": { "type": "streamableHttp", "url": "https://totvs.mcp.newalgorithm.io/mcp", "headers": { "Authorization": "Bearer na_live_xxxxxxxxxxxxxxxxx" }, "disabled": false, "autoApprove": [] } } } - 4
Save the file
Cline reloads the servers on its own when you save. If it doesn't, use the restart button on the server card.
- 5
Confirm
In the MCP Servers panel, the NewAlgorithm card shows a green indicator and lists the tools.
Resultado esperado: na_prepare, na_search, na_route, na_specialists, na_version
cline_mcp_settings.json lives in the extension's global storage, outside the repository — it's the right place for the key.
Detalles de autenticación y herramientas en la Documentación.