---
title: "Connect Cursor"
description: "Add Openlead to Cursor with one click or a few lines in mcp.json, sign in once, and let Cursor's agent find companies and people for you."
canonical_url: "https://openlead.ai/docs/mcp/cursor"
last_updated: "2026-11-25"
type: "how-to"
section: "Agents and API"
---

# Connect Cursor

Add Openlead to Cursor with one click or a few lines in mcp.json, sign in once, and let Cursor's agent find companies and people for you.

> [!NOTE]
> **There is no key to paste.** Cursor signs in with your Openlead account the first time it connects, and works in one workspace you pick.

## Before you start

- An Openlead account. The Free plan includes 50 companies and 25 person unlocks a month, and your agent spends from the same balance as the app.
- Cursor installed.

## 1. Add the server

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=openlead&config=eyJ1cmwiOiJodHRwczovL21jcC5vcGVubGVhZC5haSJ9) opens Cursor and adds the server. To add it by hand instead, put this in `~/.cursor/mcp.json`:

```json title="~/.cursor/mcp.json"
{
  "mcpServers": {
    "openlead": { "url": "https://mcp.openlead.ai" }
  }
}
```

## 2. Sign in and pick a workspace

When Cursor asks you to sign in to openlead, a page opens in your browser:

1. Sign in with the six-digit code or the sign-in link we email you, as in the app. There is no password.
2. Pick the one workspace this agent may use. If you have only one, it is already picked.
3. Choose **Allow access**. Cursor finishes connecting by itself.

## 3. Run your first search

Ask Cursor's agent in plain words, the way you would in the app. For example:

```text title="Prompt"
Find 25 Shopify agencies in Germany with 10 to 50 people and save them to a list called Shopify DACH.
```

The agent can first ask what the search would use, which is free. Nothing is spent until it calls the search with `confirm=true`.

> [!WARNING]
> **Every spend needs a confirm.** The tools that can spend, `search_companies` and `unlock_people`, spend only when called with `confirm=true`. Without it they answer with what the call would use and spend nothing. Cursor's agent should ask you before it confirms.

## What your agent can do

| Tool | What it does | Cost |
|---|---|---|
| [`estimate_company_search`](https://openlead.ai/docs/mcp/tools#estimate_company_search) | Says what a search would find and use, without running it. | Free |
| [`search_companies`](https://openlead.ai/docs/mcp/tools#search_companies) | Finds companies from a description or a website. | Monthly companies, then credits |
| [`get_company_search`](https://openlead.ai/docs/mcp/tools#get_company_search) | Reads a search that is still running, or its result. | Free |
| [`list_people`](https://openlead.ai/docs/mcp/tools#list_people) | Lists the people your workspace already has at companies it found. | Free |
| [`find_people`](https://openlead.ai/docs/mcp/tools#find_people) | Finds up to 3 people per company by title, seniority, department or location. | Free, up to 100 companies a month on the Free plan |
| [`unlock_people`](https://openlead.ai/docs/mcp/tools#unlock_people) | Shows a Locked person's profile link, location and snippet. | The plan's monthly unlocks, then credits on paid plans |
| [`check_contact_status`](https://openlead.ai/docs/mcp/tools#check_contact_status) | Whether your workspace already contacted or exported someone. | Free |
| [`save_to_list`](https://openlead.ai/docs/mcp/tools#save_to_list) | Saves companies or people to a list, new or existing. | Free |
| [`export_list`](https://openlead.ai/docs/mcp/tools#export_list) | Hands back a download link for a list as a CSV file. | Free |
| [`credit_balance`](https://openlead.ai/docs/mcp/tools#credit_balance) | Your plan, the companies and person unlocks left this month, and your credits. | Free |

Tools that only read are marked read-only, so your client can run them without asking: `estimate_company_search`, `get_company_search`, `list_people`, `check_contact_status` and `credit_balance`. The others are marked as changing your workspace, so your client can ask you first.

Every parameter, with an example call for each tool, is in the [tools reference](https://openlead.ai/docs/mcp/tools).

## Troubleshooting

### Cursor can't reach the server

Cursor shows an error for openlead instead of asking you to sign in. Your computer can't find or reach `mcp.openlead.ai`, which usually means a VPN, a company network or a DNS filter is in the way. Turn the VPN off or switch to another VPN server, then try again. On a company network or behind a DNS filter, ask whoever runs it to allow `mcp.openlead.ai`.

### The sign-in page says the request has expired

A connection request lasts 30 minutes and works once. Start connecting again from your client, and it opens a new one.

### I picked the wrong workspace

Connect again and pick the other one. To remove the old connection, revoke it under Connected agents in the workspace's sidebar.

### A call was refused

Each connected agent can make 30 calls a minute, with one search or people lookup running at a time. A call over the limit is refused with a note saying when to try again.
