n8n MCP Client Tool

n8n workflows that design and schedule your social posts

Add Margin to an n8n AI Agent with the MCP Client Tool node and one OAuth sign-in. A schedule, a new RSS item or a form submission becomes an on-brand post, carousel or story on your Margin canvas, scheduled for your accounts and waiting in your calendar for a last look.

n8n · Blog to socialRSS Feed Trigger → AI Agent
Example
You06:00

New article: "How we cut onboarding to 5 minutes". Make a 5-slide Instagram carousel, a LinkedIn post and a Facebook post from it and schedule them for tomorrow at 10:00.

Assistant + Margin06:02
  • Read the article and your brand board
  • Designed 5 slides at 1080 × 1350, plus LinkedIn and Facebook cards
  • Scheduled all three posts for tomorrow, 10:00

All three posts are on the Blog canvas and scheduled. Edit or cancel them in Margin's calendar before 10:00.

INSTAGRAM · LINKEDIN · FACEBOOKOnboarding in 5 minutes.From RSS · 3 posts · tomorrow 10:00

01 · Just ask

Start with a normal sentence.

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

Chat Trigger

“Make three Threads and Bluesky posts from this product update and schedule them across next week.”

Designs each image on your Margin canvas and puts the posts in your calendar, one day apart.

Batch

“Make one scheduled post for each row of this sheet, at the date and time in its row.”

Creates up to 30 scheduled posts or drafts in one call, each visible in your Margin calendar.

Reporting

“Summarize last week's numbers for each network in Margin, in five lines.”

Reads per-network numbers and hands the summary to your next node, such as Slack or email.

02 · How it works

From setup to scheduled post.

n8n reaches Margin through the MCP Client Tool node on an AI Agent, and signs in once with an MCP OAuth2 credential: no API keys. Posting right away always needs a person's yes, so workflows schedule posts or save drafts, which wait in your Margin calendar.

  1. 01

    Add the MCP Client Tool to your AI Agent

    On your workflow's AI Agent node, add a tool and choose MCP Client Tool. Set Endpoint to https://margin.design/mcp and Server Transport to HTTP Streamable.

  2. 02

    Sign in with MCP OAuth2

    Set Authentication to MCP OAuth2 and create a credential, leaving automatic client registration on. Press Connect my account, sign in to Margin, pick the organizations and press Allow.

  3. 03

    Write the job and pick a trigger

    Put the job in the AI Agent's prompt and start it with a Schedule, RSS or Form trigger. Raise Max Iterations from its default of 10: a design takes several tool calls.

03 · Leave it running

Set it up once, then let it work.

An n8n workflow runs on its trigger, with no chat open. Paste one of these and it designs and schedules on its own; every post still lands on your canvas and calendar.

RSS Feed Trigger

New article → Instagram carousel

Prompt
A new article was published: {{ $json.title }} ({{ $json.link }}). Turn it into a 5-slide 1080 × 1350 Instagram carousel on the Blog canvas in Margin, using our brand board. Write a caption and schedule the post for 10:00 tomorrow, our time.
Schedule Trigger · weekdays 8:00

A LinkedIn post on quiet days

Prompt
Read today's Margin calendar. If nothing is scheduled on LinkedIn, pick the topic that did best on LinkedIn this month, design one 1200 × 1500 card on our brand board on the Daily canvas, and schedule it for 12:00 today. Otherwise do nothing.
Form Trigger

Event form → promo set

Prompt
A teammate sent the event form: {{ $json['Event name'] }} on {{ $json['Date'] }}. {{ $json['Details'] }}. Design an Instagram post, a 1080 × 1920 Story and a LinkedIn post for it on the Events canvas with our brand board, and save all three as drafts in Margin.

04 · Why Margin

Design, review, and publish together.

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

01

Real designs, not only captions

Through Margin, the agent in your workflow builds editable frames at each network's exact size on a canvas your team can open, comment on and fix.

02

Automated, still in sight

Scheduled posts and drafts wait in your Margin calendar, where anyone can edit or cancel them before they go out. Posting right away always waits for a person's yes.

03

A month of posts in one call

Margin makes up to 30 scheduled posts or drafts at once, and reads each network's numbers and best times so the next run can do better.

04

Your model, your bill

The chat model you connect in n8n writes and designs. Margin doesn't sell AI credit packs; your assistant's own plan does the thinking. One workflow can feed Instagram, LinkedIn, Facebook, Pinterest and the rest of your accounts.

Setup

Margin's settings for the MCP Client Tool

Set these on the node, then press Connect my account in the new MCP OAuth2 credential and sign in to Margin in the window that opens: pick the organizations n8n may open and press Allow. In your config the server is named margin. The full playbook for agents is get-started.md.

MCP Client Tool
Endpoint:          https://margin.design/mcp
Server Transport:  HTTP Streamable
Authentication:    MCP OAuth2
Tools to Include:  All

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.

05 · FAQ

Common questions.

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

Can an n8n workflow post to Instagram right away?

Not without a person. Posting right away always asks the person first, so an unattended workflow schedules posts or saves drafts. They wait in your Margin calendar, where anyone can edit or cancel them before they go out. TikTok direct posts always need a person's answers and yes.

Is this the same as n8n's own MCP server?

No. n8n's MCP server lets other agents run your workflows. Here n8n is the MCP client: the MCP Client Tool gives your AI Agent Margin's design and posting tools.

Does it work on n8n Cloud and self-hosted n8n?

Yes, with an MCP Client Tool node that offers HTTP Streamable and MCP OAuth2; if yours shows an SSE Endpoint field, add a new one. Self-hosted n8n needs an https address or localhost, the only places Margin sends a sign-in back to.

Sources · checked 26 Nov 2026