# Cursor, VS Code and Claude Code

> Connect Venbit MCP to Cursor, VS Code or Claude Code with one config block or one command, using a key or a sign-in.

Source: https://venbit.com/docs/mcp-guide/cursor-vs-code-and-claude-code
Part of the Venbit Intelligence docs (MCP Guide). Index of every page: https://venbit.com/docs/llms.txt
Last updated: 2026-11-30

Cursor, VS Code and Claude Code all take Venbit MCP as an HTTP server. In Cursor you add it to `~/.cursor/mcp.json`, and in VS Code and Claude Code it's one terminal command. You authenticate with a key from your dashboard, or by signing in when the editor prompts you. After that, the editor's agent can read your website's numbers while you work on the site.

**An editor connects with a key or a sign-in**

1. Your editor (Cursor, VS Code or Claude Code)
2. Use a key (From your dashboard); Sign in (When the editor prompts you)
3. The agent reads your numbers (While you work on the site)

## Two ways to authenticate

| | Use a key | Sign in |
| --- | --- | --- |
| Address | `https://venbit.com/api/mcp/vb_...` (the link from your dashboard), or the plain address with an `Authorization: Bearer` header | `https://venbit.com/api/mcp` |
| What it reads | The one website the key was made on | Every website on your account whose plan includes Venbit MCP |
| Setup | Paste and go | The editor opens a Venbit page, you press **Allow** |
| Where the secret lives | In your config file or shell history | Held by the editor |

For a key, open your website in the [dashboard](https://venbit.com/dashboard), open **Venbit MCP**, pick your editor and press **Get my link**. The link is shown once.

> **Heads up:** Once a config file has a key in it, it's a secret. Keep `~/.cursor/mcp.json` out of any repository, and don't put the key in a project-level config that gets committed. If a key leaks, revoke it and make another.

## Cursor

1. Open `~/.cursor/mcp.json` (create it if it isn't there).
2. Add the block below inside it, or merge its `venbit` entry into the `mcpServers` you already have.
3. Save. Venbit shows up in Cursor's MCP list.

With your link:

```json
{
  "mcpServers": {
    "venbit": {
      "url": "https://venbit.com/api/mcp/vb_YOUR_KEY"
    }
  }
}
```

To sign in instead, use the plain address and follow Cursor's prompt:

```json
{
  "mcpServers": {
    "venbit": {
      "url": "https://venbit.com/api/mcp"
    }
  }
}
```

## Claude Code

1. Run the command below in your terminal.
2. Start Claude Code and ask it about your website.

With your link:

```bash
claude mcp add --transport http venbit https://venbit.com/api/mcp/vb_YOUR_KEY
```

If you'd rather sign in, add the plain address. Before the first tool call, Claude Code sends you to Venbit to sign in.

```bash
claude mcp add --transport http venbit https://venbit.com/api/mcp
```

## VS Code

1. Run the command below, or use **MCP: Add Server** in the Command Palette and choose HTTP.
2. Open Copilot Chat in Agent mode and ask it about your website.

With your link:

```bash
code --add-mcp '{"name":"venbit","type":"http","url":"https://venbit.com/api/mcp/vb_YOUR_KEY"}'
```

To sign in instead, pass the plain address:

```bash
code --add-mcp '{"name":"venbit","type":"http","url":"https://venbit.com/api/mcp"}'
```

## Config file with a Bearer header

On the **Venbit MCP** screen there's a **Config file** section, "for an app that reads a config file, or to keep the key out of a web address". It sends the key as a header to the plain address. Both addresses reach the same server.

```json
{
  "mcpServers": {
    "venbit": {
      "url": "https://venbit.com/api/mcp",
      "headers": {
        "Authorization": "Bearer vb_YOUR_KEY"
      }
    }
  }
}
```

If your client supports custom headers, this is the better form. With the key out of the address, it won't end up in places that record web addresses.

## What the sign-in page shows

Signing in from an editor brings up a Venbit page headed "Connect Cursor to Venbit Intelligence" (or your editor's name). It lists the account under **Signed in as** and the destination under **Sends you back to**.

For an app on your own machine, such as Claude Code, the page adds: "This goes back to an app on this computer. Allow it only if you just started connecting from Claude Code here." When Venbit doesn't recognise the app, it shows the address you'll be sent back to in place of a name, and says: "Venbit doesn't know this app, so allow it only if you trust" that address.

Press **Allow** to finish. The connection then shows under **Connected** on the **Venbit MCP** screen, named after the editor, and you can revoke it from there.

## Try it

```prompt
Use the Venbit tools. Which pages on my site are slowest for real visitors, and which of them get the most visits? Give the load time for each.
```

An agent in an editor is in a good spot to act on the answer. It can read `find_friction` or `site_speed` and then open the page's code in the same session. Venbit itself stays read-only, so any change is one you make in your own repository.

## Disconnect an editor

Open **Venbit MCP** in the dashboard and press **Revoke** beside the key. Then remove the `venbit` entry from `~/.cursor/mcp.json`, or remove the server from Claude Code or VS Code.

## Common questions

### Can Cursor see my website analytics while I code?

Yes. Once Venbit MCP is in `~/.cursor/mcp.json`, Cursor's agent can read your website's Venbit numbers, like slow pages or where visitors struggle, in the same session where you're editing the site's code.

### Is it safe to commit an MCP config file with a Venbit key in it?

No. A config file with a key in it is a secret. Keep `~/.cursor/mcp.json` out of any repository, don't put a key in a project-level config that gets committed, and revoke any key that gets exposed.

### Does Venbit MCP work with GitHub Copilot in VS Code?

Yes. Add the server with `code --add-mcp` or **MCP: Add Server**, then open Copilot Chat in Agent mode and ask about your website.

### Can Claude Code change anything in Venbit?

No. Venbit MCP is read-only. An agent in your editor can read the numbers and then change your own code, but those changes happen in your repository and never in Venbit.
