# Cursor

Add plnnrly to the Cursor desktop app and sign in from your browser, without a token.

Cursor is a code editor with an AI agent. The Cursor desktop app connects to plnnrly with a small entry in its `mcp.json` file and signs in to plnnrly in your browser. There is no token to copy.

## Before you start

- MCP is switched on for your organisation. It is off in a new organisation until an administrator switches it on. If the **AI** panel (the sparkles icon in the top bar) is missing in plnnrly, ask an administrator; see [For administrators](https://developers.plnnrly.com/en/docs/administration/).
- You have the server URL, `https://<your-url>/mcp/v1`. `<your-url>` is the address you sign in to plnnrly on, such as `acme.plnnrly.com`, or your organisation's own domain. The **AI** panel shows the exact URL.
- You use the Cursor desktop app. Cursor on the web and Cursor Agents cannot sign in to plnnrly yet; see [Other clients](https://developers.plnnrly.com/en/docs/mcp/install/other-clients/).

## Add the server

Add a `plnnrly` entry to `~/.cursor/mcp.json` to use it in all your projects, or to `.cursor/mcp.json` in a project to use it there only:

```json
{
  "mcpServers": {
    "plnnrly": {
      "url": "https://<your-url>/mcp/v1"
    }
  }
}
```

If the file already lists other servers, add the `plnnrly` entry next to them inside `mcpServers`. You can also add and manage servers on Cursor's **Customize** page in the sidebar.

## Sign in

Cursor signs in to servers that ask for it. When it asks you to sign in to plnnrly, a plnnrly window opens in your browser. Sign in if needed, check the details and click **Approve**.

## Check that it works

Open **Customize** in the sidebar and check that plnnrly is switched on. Then ask the agent "Which work items are assigned to me?"

If plnnrly does not answer, open the **Output** panel and choose **MCP Logs** from its dropdown. The log shows the errors Cursor got from plnnrly, and [Troubleshooting](https://developers.plnnrly.com/en/docs/mcp/troubleshooting/) explains them.

## Remove the server

Remove plnnrly under **Customize**, or delete its entry from `mcp.json`. To be sure the sign-in itself is cut, use **Disconnect** in plnnrly; see [Disconnect an app](https://developers.plnnrly.com/en/docs/mcp/#disconnect-an-app).

## Troubleshooting

If plnnrly does not connect, or refuses a request, see [Troubleshooting](https://developers.plnnrly.com/en/docs/mcp/troubleshooting/).
