Cursor MCP

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

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.

Cursor · New editor launchBrand board loaded
Example
You18:20

Use the screenshots in public/launch to make a 5-slide Instagram carousel for the new editor and a Story, then schedule both for Monday at 8:00.

Assistant + Margin18:23
  • Uploaded 5 screenshots from public/launch to Margin
  • Designed 5 editable 4:5 slides and a 9:16 Story
  • Scheduled both posts for Monday, 8:00

The carousel and the Story are on your Editor Launch canvas and in your calendar for Monday. Tweak any slide there first if you like.

CAROUSEL + STORY · SCHEDULEDMeet the new editorInstagram 4:5 · Story 9:16

01 · Just ask

Start with a normal sentence.

Describe what you want to share. Your assistant handles the layout, sizing, and draft scheduling.

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.

02 · How it works

From setup to scheduled post.

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

  1. 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.

  2. 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.

  3. 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.

03 · Why Margin

Design, review, and publish together.

Every graphic Cursor makes stays editable on your brand canvas, so your team always has the final word.

01

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.

02

One brief, nine networks

Instagram, TikTok, X, YouTube, Facebook, Threads, LinkedIn, Pinterest and Bluesky, each at the size it expects, from the same request.

03

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.

04

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.

Setup

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. In your config the server is named margin. The full playbook for agents is get-started.md.

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

Bring your own assistant

From idea to published post.

Keep your brand board, editable designs, team review, and 9-network scheduling in one workspace, powered by the assistant you already use.

04 · FAQ

Common questions.

Quick answers on connecting your assistant, editing designs, and staying in control before publishing.

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.

Sources · checked 26 Nov 2026