> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oleander.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Cursor

> Configure the oleander MCP server in Cursor

## Overview

Use the remote oleander MCP server in Cursor to connect your assistant workflows directly to oleander.

<img src="https://mintcdn.com/oleander/dR2FmDT3M2RfaFg0/images/mcp-cursor.png?fit=max&auto=format&n=dR2FmDT3M2RfaFg0&q=85&s=af45bc8cf8aefe18126f43006f8a6083" alt="Cursor MCP configuration" width="1920" height="1080" data-path="images/mcp-cursor.png" />

> Beta: MCP integration docs and workflow may change.

## Prerequisites

* Cursor installed

## Add the MCP server

Add the server in your workspace or global config (`.cursor/mcp.json` or `~/.cursor/mcp.json`):

```json theme={null}
{
  "mcpServers": {
    "oleander": {
      "name": "oleander",
      "transport": "streamable-http",
      "url": "https://oleander.dev/mcp"
    }
  }
}
```

If you already have other MCP servers configured, add only the `oleander` entry under `mcpServers`.

## Authenticate

Complete the OAuth flow to authorize access with your oleander account:

```bash theme={null}
agent mcp login oleander
```

## Verify

List configured MCP servers to confirm `oleander` was added:

```bash theme={null}
agent mcp list
```

## Reset authentication

Cursor caches the OAuth access token and refresh token in `.mcp-auth`.

If you want to authenticate with a different org, remove the cached tokens and run the MCP command again:

```bash theme={null}
rm -rf .mcp-auth
```
