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

# Cursor

> Connect Cursor to MagicPost via MCP.

Cursor 0.46+ ships with native MCP support. Both **stdio** and **streamable
HTTP** transports are supported, so you have two options.

## Option A — Native HTTP (recommended)

**1. Open Cursor Settings**

Cursor → Settings → **Features** → **MCP** → **+ Add new MCP server**.

**2. Fill the form**

| Field | Value |
| - | - |
| **Name** | `magicpost` |
| **Type** | `streamable-http` |
| **URL** | `https://mcp.magicpost.in/mcp` |
| **Headers** | `Authorization: Bearer mp_YOUR_TOKEN` |

**3. Save and reload**

Cursor connects on save. You can see "38 tools loaded" in the server row.

## Option B — stdio bridge (Cursor \< 0.46)

Same `mcp-remote` flow as [Claude Desktop](https://dev.magicpost.in/mcp/setup-claude-desktop.md) — edit
`~/.cursor/mcp.json`:

```json theme={null}
{
  "mcpServers": {
    "magicpost": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.magicpost.in/mcp",
        "--header",
        "Authorization:Bearer mp_YOUR_TOKEN"
      ]
    }
  }
}
```

## Use it from the chat

Open the Cursor chat (`Cmd+L`), make sure **Composer + agent mode** is
enabled, and ask:

```
Summarize my MagicPost LinkedIn analytics for the last 30 days
```

Cursor will prompt to approve the `get_metrics_summary` tool call (you can
auto-approve from the same Settings panel if you want).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.