# Design the launch post in Cursor, next to the code that shipped

[All AI connectors](https://margin.design/agents) · [Agent setup playbook](https://margin.design/get-started.md)

Add Margin to Cursor's mcp.json and sign in once through your browser. Then ask the agent for the post while the feature is still open: it uses your screenshots and brand board, lays out editable frames on your Margin canvas, and schedules them. Posting right away always asks you first.

## Things you can just ask

- **From the diff:** "Look at what changed on this branch and design a "What's new" card for X and LinkedIn." — Turns the change into a short headline and two editable frames, each at its network's size.
- **Tips series:** "Make 3 tip cards for Threads and Instagram from the Getting started section of our README." — Writes one tip per card from your docs and lays them out with your brand fonts and colors.
- **Brand update:** "We changed our accent color. Update the brand board and the 4 launch slides to match." — Edits the existing frames in place on your canvas, so you don't start the designs over.

## How it works

One entry in mcp.json and one sign-in in the browser. No keys go in the file.

01. **Add Margin to Cursor's MCP config:** Merge the margin entry into ~/.cursor/mcp.json, keeping your other servers. The global file loads Margin in every project, in the editor and the CLI.
02. **Log in once:** In Cursor's MCP settings, log in to margin; in the CLI, run agent mcp login margin. Sign in to Margin in the browser, pick your organizations and press Allow.
03. **Ask the agent:** Ask for the post next to the code. Every frame lands editable on your Margin canvas, and scheduled posts wait in your calendar.


## Why teams use Margin

- **Real screenshots, straight from your project:** Cursor can bring images and finished videos from your machine into Margin, so the post shows the UI you just built rather than a stock picture.
- **One brief, nine networks:** Instagram, TikTok, X, YouTube, Facebook, Threads, LinkedIn, Pinterest and Bluesky, each at the size it expects, from the same request.
- **Brand rules in one place:** Your brand board on the canvas holds colors, type and components. Cursor designs from it, and your team edits the result like any other frame.
- **The editor and the CLI share it:** Cursor's CLI uses the same MCP configuration as the editor, so the agent in either one designs on the same Margin canvas and fills the same calendar.

## Add Margin to Cursor with one entry

Merge it into ~/.cursor/mcp.json, keeping your other servers. Then log in to margin from Cursor's MCP settings, or run agent mcp login margin in the CLI, and sign in to Margin.

```json
{
  "mcpServers": {
    "margin": {
      "url": "https://margin.design/mcp"
    }
  }
}
```

## Frequently asked questions

### Should Margin go in the global or the project mcp.json?

The global one. ~/.cursor/mcp.json loads Margin in every project you open in the editor or the CLI; a project's .cursor/mcp.json only covers that repo.

### Will Cursor run Margin's tools without asking?

By default Cursor asks before it uses any MCP tool. On top of that, posting right away always shows you what each account gets and waits for your yes, while scheduled posts and drafts wait in your Margin calendar until they go out.

### Does it work with Cursor's Cloud Agents?

This setup covers Cursor on your machine: the editor and the CLI. Hosted Cloud Agents don't read ~/.cursor/mcp.json; they take their MCP servers from cursor.com/agents instead.

## Next steps

- Get started: https://margin.design/signin
- Full agent setup playbook: https://margin.design/get-started.md
- MCP endpoint: https://margin.design/mcp

## Sources

Checked on 26 Nov 2026.

- [Cursor docs: MCP](https://cursor.com/docs/context/mcp)
- [Cursor docs: MCP in the CLI](https://cursor.com/docs/cli/mcp)

