Help center

Help center

Powered by
All collectionsAI Assistant (MCP)Connecting Cursor

Connecting Cursor

Add Leadform to Cursor as an MCP server by pasting a short snippet into Cursor's settings file.

Before you start

Create a key (see Creating an AI assistant key). Keep Account > AI Access open, with Connect your assistant expanded and Cursor selected: it shows the snippet to paste, with your new key already in it.

Add the server

  1. In Cursor, open Customize, then MCPs.

  2. Click New MCP Server, then Add a Custom MCP Server. Cursor opens its settings file for you (~/.cursor/mcp.json).

  3. Paste in the snippet from Leadform and save. It looks like this, with your key in place of lf_mcp_your_key_here:

JSON
{
  "mcpServers": {
    "leadform": {
      "url": "https://app.leadform.io/api/mcp",
      "headers": {
        "Authorization": "Bearer lf_mcp_your_key_here"
      }
    }
  }
}

Leadform then appears under Connected, with its tools enabled. Ask Cursor to list your Leadform forms to check it works.

Connecting another computer later

Once you leave the page, the snippet shows lf_mcp_your_key_here instead of your key, because a key is only shown once. Create a new key for the other computer, and the snippet is filled in again.

Prefer to watch?

This short video walks through the same steps:

Did this answer your question?
😞
😐
😁