← Alle Verbindungen

Mit Cursor verbinden

Cursor — remote MCP servers through mcp.json, global or per project.

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 settings

    Cursor Settings → MCP & Integrations → Add new global MCP server. The button opens ~/.cursor/mcp.json directly in the editor.

  3. 3

    Declare the NewAlgorithm server

    The presence of the url field is what tells Cursor the server is remote — no command or args.

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

    Save and confirm

    Go back to the MCP panel. NewAlgorithm should appear with a green indicator and the list of tools; if it turns red, use the refresh button.

    Erwartet: NewAlgorithm-TOTVS — 4 tools enabled

  5. 5

    Use it in Agent mode

    MCP tools are only called in Cursor's Agent mode. Ask an SAP question without mentioning the Specialist and watch the na_search call appear in the flow.

There's also a per-project .cursor/mcp.json, which is versioned along with the code. Prefer the global one (~/.cursor/mcp.json) for the key: it stays on your machine and doesn't go into the repository.

Details zu Authentifizierung und Tools in der Dokumentation.