← Alle Verbindungen

Mit Claude Code verbinden

Claude Code in the terminal or in VS Code — OAuth sign-in or API Key.

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

    Install Claude Code

    In VS Code, install the “Claude Code” extension from the marketplace and sign in to your Claude account. For the terminal, install the CLI:

    CLI installation
    macOS / Linux:  curl -fsSL https://claude.ai/install.sh | bash
    Windows:        irm https://claude.ai/install.ps1 | iex
  2. 2

    Check the installation

    Close and reopen the terminal to reload the PATH, then check:

    claude --version

    Erwartet: If it returns a version, the CLI is installed correctly.

  3. 3

    Register NewAlgorithm

    --scope user makes NewAlgorithm available in any project. Without a header, authentication happens through OAuth sign-in in the next step.

    claude mcp add --transport http --scope user NewAlgorithm-TOTVS https://totvs.mcp.newalgorithm.io/mcp
  4. 4

    Sign in

    Inside Claude Code, open the MCP manager, choose NewAlgorithm and authenticate. The browser opens the NewAlgorithm authorization page (app.newalgorithm.io); sign in with your account and authorize.

    /mcp

    Erwartet: NewAlgorithm-TOTVS ✔ Connected

  5. 5

    Alternative: API Key in the header

    For environments without a browser, generate an API key in app.newalgorithm.io → Keys & apps and register the server with the header, replacing YOUR_API_KEY with the key:

    claude mcp add --transport http --scope user NewAlgorithm-TOTVS https://totvs.mcp.newalgorithm.io/mcp --header "Authorization: Bearer YOUR_API_KEY"
  6. 6

    Confirm

    claude mcp list

    Erwartet: NewAlgorithm-TOTVS: https://totvs.mcp.newalgorithm.io/mcp (HTTP) - ✔ Connected

If you configure the header with an invalid key, Claude Code doesn't fall back to OAuth sign-in: it reports a failure. Fix the key or remove the header to use sign-in.

Details zu Authentifizierung und Tools in der Dokumentation.