# Cursor

Add it for every project in `~/.cursor/mcp.json`, or for one project in `.cursor/mcp.json`:

```json title="~/.cursor/mcp.json"
{
  "mcpServers": {
    "postflow": {
      "url": "https://postflow.biz.id/api/mcp",
      "headers": { "Authorization": "Bearer ${env:POSTFLOW_API_KEY}" }
    }
  }
}
```

Cursor reads `POSTFLOW_API_KEY` from your environment. Leave out `headers` to sign in with OAuth instead: Cursor shows a
**Login** button next to the server in **Settings → MCP**. Check the server shows its tools there, then use it from the
agent chat.