← Alle Verbindungen

Mit Cline verbinden

Cline in VS Code — remote servers through cline_mcp_settings.json.

Erstellen Sie vorab Ihr kostenloses Konto.Konto erstellen

Dieser Inhalt ist auf Englisch verfügbar.

Welchen MCP möchten Sie verbinden? Die Befehle unten passen sich Ihrer Auswahl an.

  1. 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 format
    na_live_xxxxxxxxxxxxxxxxx
  2. 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. 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. 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. 5

    Confirm

    In the MCP Servers panel, the NewAlgorithm card shows a green indicator and lists the tools.

    Erwartet: 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.

Details zu Authentifizierung und Tools in der Dokumentation.