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
- In VaultLens, go to Settings → AI connections.
- Open the Cursor guide and click Add to Cursor.
- Cursor opens and asks you to install the vaultlens server. Confirm.
- Sign in to VaultLens when Cursor asks (see Sign in).
Option 2: edit mcp.json
-
Open
~/.cursor/mcp.jsonin your home folder. Create it if it doesn’t exist. -
Add VaultLens:
{ "mcpServers": { "vaultlens": { "url": "https://mcp.vaultlens.studio/mcp" } } }If the file already lists other servers, add the
vaultlensentry inside the existingmcpServers. -
Save the file.
This is the same text shown in the Cursor guide under Settings → AI connections, with a copy button.
Sign in
- In Cursor, open its MCP settings. The vaultlens server shows that it needs you to sign in.
- Start the sign-in. Your browser opens VaultLens.
- On the approval screen, tick what Cursor may do and which apps it can see. See Security and permissions.
- 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.