Ship it in Claude Code, then post about it from the same session
Add Margin to Claude Code with one command and sign in once in your browser. Then ask for the launch post the way you ask for code: Claude Code reads the PR or changelog, designs editable frames on your Margin canvas from your brand board, and schedules them. Posting right away always asks you first.
Turn this PR's changelog into a 6-slide LinkedIn carousel in our brand style and schedule it for Thursday at 9:00.
- Read the PR description and the v2.4 changelog entry
- Designed 6 editable slides at 1200 × 1500 from your brand board
- Scheduled the post for Thursday, 9:00 in your Margin calendar
The carousel is on your v2.4 Launch canvas, one feature per slide. It goes out Thursday at 9:00; edit or cancel it in Margin before then.
01 · Just ask
Start with a normal sentence.
Describe what you want to share. Your assistant handles the layout, sizing, and draft scheduling.
“Write an X thread for v2.4 from CHANGELOG.md, with a cover card for the first post, and save it as a draft.”
Designs the cover on your canvas, splits the notes into a thread and leaves it as a draft you can edit in Margin.
“Upload the screenshots in docs/launch and build an Instagram post and a Story announcing the new dashboard.”
Brings the images from your machine into Margin and lays out both formats at each network's size.
“Plan launch week: one post a day on LinkedIn and Bluesky about this milestone's features, at our best times.”
Checks when your audience is around and fills the calendar with scheduled posts you can edit or cancel before they go out.
02 · How it works
From setup to scheduled post.
One terminal command and one browser sign-in, with no API keys. Or paste a single prompt and Claude Code sets Margin up by itself.
- 01
Add the MCP server to Claude Code
Run claude mcp add --scope user --transport http margin https://margin.design/mcp. Or paste "Set up Margin for me. Fetch https://margin.design/get-started.md and follow it." and Claude Code runs the setup itself.
- 02
Sign in with /mcp
Type /mcp, pick margin and sign in to Margin in the browser. Choose which organizations Claude Code may open, then press Allow.
- 03
Ask from the repo
Ask for the post in the session that shipped the code. Frames land on your Margin canvas, and scheduled posts wait in your calendar until they go out.
03 · Why Margin
Design, review, and publish together.
Every graphic Claude Code makes stays editable on your brand canvas, so your team always has the final word.
It already knows what shipped
Claude Code has your repo open, so it writes from the real diff, changelog and docs instead of a summary you retype into a chat.
Slides you can fix by hand
Each slide is an editable HTML frame on your Margin canvas. Change a version number or a headline yourself in seconds, without asking for a new image.
Your brand board, every time
Colors, fonts and components live on a brand board on the canvas. Claude Code designs from it, so launch posts look like the rest of your brand.
Already added on claude.ai? It's here too
When you log in to Claude Code with your claude.ai account, the connectors you added on claude.ai load in Claude Code on their own, so Margin added there needs no second setup.
Add Margin to Claude Code in one command
Then type /mcp in Claude Code, pick margin and sign in in your browser. --scope user keeps Margin in every project, not only the folder you're in. In your config the server is named margin. The full playbook for agents is get-started.md.
claude mcp add --scope user --transport http margin https://margin.design/mcpBring 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.
Do I need an API key to add Margin to Claude Code?
No. Claude Code signs in to Margin with OAuth in your browser through /mcp: you choose which organizations it may open and press Allow, and no key or token is pasted anywhere.
Will Claude Code post to my accounts without asking?
No. Posting right away always asks you first: Claude Code shows exactly what each account will get and waits for your yes. Scheduled posts and drafts wait in your Margin calendar, where you can edit or cancel them before they go out.
Does it work in headless runs like claude -p?
Only after you've signed in once. A claude -p run has no /mcp panel, so it can't open the browser sign-in; do that in an interactive session first, and later runs use the stored sign-in.
More AI assistant & channel guides
View all connectorsPopular social size guides
All 9 network sizesLinkedIn post & banner sizes
Feed graphics, profile and company covers, and document carousels.
X image & header sizes
Header banners, uncropped single images, 4-image posts, and video.
Instagram carousel size
Multi-slide decks up to 20 slides, cropped to slide 1's shape.