Cursor

Connect Cursor to launch cloud AI agents and access your bets from the editor via the local MCP server.

Why connect Cursor?

ProductBet helps you decide what to build. Cursor helps you build it. With Cursor connected, you can go from a product decision to code in two ways: launch cloud AI agents to start working on approved bets, or access your bets and tasks directly from your editor via the local MCP server.

What Cursor provides

  • Cloud agents - launch AI coding agents in the background that work on your bets across your GitHub repositories
  • Local MCP server - access your bets, tasks, and execution plans directly from Cursor's chat

Cloud Agent

The cloud agent runs in the background and works on your codebase without blocking your editor. It reads your bet's execution plan and implements tasks one by one.

How to connect

Go to Settings > Integrations > Cursor and enter your Cursor API key. You can get your API key from the Cursor Dashboard. Click Connect Cursor.

How to use it

  1. Open a bet and go to the Execution tab
  2. Create an execution plan (manually or with AI-generated tasks)
  3. Select a repository and optionally a branch
  4. Click Launch Agent
  5. The agent creates tasks based on your plan, then implements them sequentially
  6. Track the agent's status, view its branch, and open the pull request directly from ProductBet

How it works

When you launch a cloud agent, ProductBet sends your bet's context to Cursor's API. The agent:

  1. Reads the bet title, description, and execution plan
  2. Creates a planning phase where it breaks down the work
  3. Implements each task sequentially, sending follow-up prompts as each task completes
  4. Creates a pull request when finished (if auto-create PR is enabled)

You can monitor the agent's status (Creating, Running, Finished, Stopped, Error) and stop it at any time from the Execution tab.

Local MCP Server

The local MCP server lets you access your ProductBet bets and tasks directly from Cursor's chat, without leaving your editor.

How to install

On the Cursor integration page, click Install in Cursor. This opens Cursor and configures the ProductBet MCP server automatically.

What you can do

Once installed, you can use Cursor's chat to:

  • View your bets and their execution plans
  • Read task details and descriptions
  • Get context about what you're building while you code

Troubleshooting

  • Agent not launching? Make sure your API key is entered and the integration shows as "Connected." Check that you have a valid Cursor subscription with API access.
  • Agent stuck? Use the "Refresh" button to check the agent's latest status. If it's stuck, you can stop it and launch a new one.
  • MCP server not working? Make sure you clicked "Install in Cursor" and that Cursor is running. The MCP server connects to ProductBet via your authenticated session.
  • Wrong repository? The repository list is pulled from your Cursor account. Make sure you have access to the repository you want to use.