← Toutes les connexions

Connexion avec Antigravity

Antigravity — MCP configuration through the editor's JSON.

Avant de commencer, créez votre compte gratuit.Créer un compte

Ce contenu est disponible en anglais.

Quel MCP allez-vous connecter ? Les commandes ci-dessous s'adaptent à votre choix.

  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 Servers panel

    In Antigravity, go to Settings → MCP Servers and choose the option to edit the raw configuration (raw config / JSON).

  3. 3

    Declare the NewAlgorithm server

    For clients that accept remote servers directly by URL:

    mcp_config.json
    {
      "mcpServers": {
        "NewAlgorithm-TOTVS": {
          "serverUrl": "https://totvs.mcp.newalgorithm.io/mcp",
          "headers": {
            "Authorization": "Bearer na_live_xxxxxxxxxxxxxxxxx"
          }
        }
      }
    }
  4. 4

    If the editor doesn't accept a remote URL

    Use the same bridge as the other clients — the result is identical from the agent's point of view:

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

    If a NewAlgorithm sign-in screen appears, ignore it

    Antigravity may try to connect on its own through sign-in (OAuth), opening that flow and repeating it in the background without finishing. You don't need it: with the API key in the header, as above, the connection works without signing in. If the loop continues, remove the server, save the configuration with the key and reload.

  6. 6

    Reload the servers

    Use the refresh button in the MCP Servers panel. NewAlgorithm should appear as connected, with the na_* tools listed.

Détails sur l'authentification et les outils dans la Documentation.