Integrations & MCP6 minutes

    Connect VS Code and Cursor to SNG MCP

    A dedicated IDE guide for choosing your platform, copying generated setup, and securing the access token

    The SNG panel generates configuration for your editor and operating system. Choose VS Code or Cursor, then Windows, macOS, or Linux; the file format and path update automatically, so you do not write the setup from scratch.

    Achtung

    An API token is secret and is shown in full once. Never paste it into chat or commit it to Git or a public project.

    1. 1
      Schritt 1

      Choose your IDE and platform

      Open Settings → API & MCP in SNG. Select VS Code or Cursor, then Windows, macOS, or Linux. The panel displays the correct path and generated connection automatically.

    2. 2
      Schritt 2

      Create a token for this device

      Create an API token with a clear name such as Office-VSCode, a suitable expiry, and only the required scopes. Start read-only and add more scopes later.

      Hinweis

      Use a different token per device so one device can be revoked safely.

    3. 3
      Schritt 3

      Copy the generated setup

      Press Copy next to the generated setup, create the file at the displayed path, and paste it. VS Code uses a project file while Cursor uses a user-level file.

    4. 4
      Schritt 4

      Add the token without publishing it

      VS Code prompts for the secret when connecting. In Cursor, replace YOUR_SNG_PERSONAL_TOKEN only in a local untracked file and keep it out of Git.

      Hinweis

      For shared projects, never place the token in a file available to teammates or CI logs.

    5. 5
      Schritt 5

      Restart the IDE and test

      Restart the editor or reload its window, open MCP tools, and confirm SNG is connected. Start with: “Only list my services.”

    Configuration paths

    IDEWindowsmacOSLinux
    VS Code<project>\.vscode\mcp.json<project>/.vscode/mcp.json<project>/.vscode/mcp.json
    Cursor%USERPROFILE%\.cursor\mcp.json/Users/<username>/.cursor/mcp.json/home/<username>/.cursor/mcp.json

    Quick troubleshooting

    • 401: the token is wrong or expired; revoke it and create a replacement.
    • 403: the token lacks the required scope or the resource does not belong to the account.
    • SNG is missing: verify the file name and path, then reload the IDE window.
    • Connected but empty: grant resources:read and confirm the account.
    Open IDE setup in SNG
    SNG MCP

    Each client has its own steps, so you only read the setup that applies to you.

    Brauchst du Hilfe?

    Die Schritte haben nicht geholfen? Unser Support-Team ist rund um die Uhr da.

    Support kontaktieren