Skip to content
VaultLens Studio

Cursor

You add VaultLens to Cursor as a remote MCP server. There are two ways: a one-click link in VaultLens, or a few lines in Cursor’s mcp.json file.

Option 1: one click

  1. In VaultLens, go to Settings → AI connections.
  2. Open the Cursor guide and click Add to Cursor.
  3. Cursor opens and asks you to install the vaultlens server. Confirm.
  4. Sign in to VaultLens when Cursor asks (see Sign in).

Option 2: edit mcp.json

  1. Open ~/.cursor/mcp.json in your home folder. Create it if it doesn’t exist.

  2. Add VaultLens:

    {
      "mcpServers": {
        "vaultlens": {
          "url": "https://mcp.vaultlens.studio/mcp"
        }
      }
    }

    If the file already lists other servers, add the vaultlens entry inside the existing mcpServers.

  3. Save the file.

This is the same text shown in the Cursor guide under Settings → AI connections, with a copy button.

Sign in

  1. In Cursor, open its MCP settings. The vaultlens server shows that it needs you to sign in.
  2. Start the sign-in. Your browser opens VaultLens.
  3. On the approval screen, tick what Cursor may do and which apps it can see. See Security and permissions.
  4. Click Approve, then go back to Cursor.

The sign-in screens in Cursor belong to Cursor, so their labels can differ by version.

After you connect

  • Ask in Cursor’s chat, for example “Using VaultLens, show me the tables in my app”. Cursor may ask before it runs each tool.
  • Cursor can only use the tools your permissions allow. See Tools.
  • To disconnect, go to Settings → AI connections in VaultLens and click Disconnect next to the connection.

If something goes wrong, see Troubleshooting.