← All connections

Connect to Claude Desktop

Claude Desktop — the same connectors as your account, or file-based configuration with an API Key.

Before you start, create your free account.Create account

Which MCP will you connect? The commands below change according to your choice.

  1. 1

    Recommended path: account connector

    In Claude Desktop, custom connectors are the same as in your Claude account. Follow the Claude (web) guide — via Settings → Connectors, in the app or in the browser — and NewAlgorithm shows up in both.

  2. 2

    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
  3. 3

    Alternative: file-based configuration

    If you prefer an API Key, open Settings → Developer → Edit Config. The file opens in your default editor.

    Where the file is
    Windows:  %APPDATA%\Claude\claude_desktop_config.json
    macOS:    ~/Library/Application Support/Claude/claude_desktop_config.json
  4. 4

    Declare the NewAlgorithm server

    File-based configuration speaks stdio, so the mcp-remote bridge translates it to the NewAlgorithm HTTP endpoint. Requires Node.js.

    claude_desktop_config.json
    {
      "mcpServers": {
        "NewAlgorithm-TOTVS": {
          "command": "npx",
          "args": [
            "-y", "mcp-remote", "https://totvs.mcp.newalgorithm.io/mcp",
            "--header", "Authorization: Bearer na_live_xxxxxxxxxxxxxxxxx"
          ]
        }
      }
    }
  5. 5

    Restart Claude Desktop

    Quit the app completely and open it again. NewAlgorithm should appear in the list of MCP tools available in the conversation.

This file stores the key in plain text on your machine. Don't copy it into repositories or share it.

Authentication and tool details in the Docs.