---
title: Cursor | FLORA API
description: Add FLORA MCP to Cursor via config file or one-click install.
---

## One-click install

[Install in Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=FLORA\&config=eyJ1cmwiOiJodHRwczovL2FnZW50cy5mbG9yYS5haS9tY3AifQ==)

Opens Cursor and prompts you to add the FLORA server. After install, restart Cursor if prompted, then sign in with FLORA on the first tool call.

## Option A — Config file (recommended)

Add FLORA to your global Cursor MCP config so it’s available in every project.

**Edit `~/.cursor/mcp.json`** (create the file if it doesn’t exist):

```
{
  "mcpServers": {
    "flora": {
      "url": "https://agents.flora.ai/mcp"
    }
  }
}
```

Restart Cursor. Open **Cursor Settings** → **MCP** — `flora` should be listed with a green status dot. Click **Connect** to start the OAuth flow.

## Option B — Project-only

For a Cursor MCP config scoped to one repo, use `.cursor/mcp.json` at the project root instead. Commit it so teammates pick it up automatically.

```
{
  "mcpServers": {
    "flora": {
      "url": "https://agents.flora.ai/mcp"
    }
  }
}
```

## Authorize

The first time a Cursor agent calls a FLORA tool, Cursor opens a browser for the OAuth flow. Sign in with your FLORA account and approve. The token is stored in Cursor’s secure credential store.

## Verify

In a Cursor chat, ask:

> List my FLORA Techniques.

Cursor’s agent will request permission to call the `execute` tool. Approve once; subsequent calls remember the choice.

## Remove

Delete the `flora` entry from `~/.cursor/mcp.json` (or the project’s `.cursor/mcp.json`), restart Cursor, then revoke the token in FLORA → Settings → Connected apps.

## Troubleshooting

- **Status dot is red** — usually the URL is wrong or your network blocks `agents.flora.ai`. Double-check the URL is exactly `https://agents.flora.ai/mcp`.
- **OAuth doesn’t open** — Cursor sometimes needs a manual click. Look for a notification toast with an authorization link.
- **Tools don’t appear in the agent** — toggle the `flora` server off and on in **Settings** → **MCP**. Some Cursor versions require a refresh after the first connection.

## Next

- [Authentication details](/mcp/authentication/index.md)
- [Tools reference](/mcp/tools/index.md)
