Setup & AssistantsDecember 3, 2026 · By Thomas Luzio

Draft a Week of Social Posts From Claude Code or Codex CLI

Connect Claude Code or Codex CLI to SwiftXEO over hosted OAuth MCP to turn one changelog or commit into a week of channel-native drafts waiting for your approval.

Terminal workflow diagram showing Claude Code and Codex CLI connected to SwiftXEO over hosted OAuth MCP, queuing a week of drafts for human approval
Direct Answer

You can connect Claude Code, Codex CLI, or any Model Context Protocol (MCP) client to SwiftXEO using the hosted OAuth endpoint at swiftxeo.com/api/mcp with no local server or API keys to rotate. In one terminal session, the agent reads your connected channels, Brand voice profile, and platform guidelines, then queues a full week of native drafts into your SwiftXEO Queue where nothing publishes until you tap Approve.

If you spend your day inside Claude Code, Codex CLI, or Cursor, switching to a browser tab to rewrite your release notes for X, LinkedIn, and Facebook breaks focus. I built SwiftXEO around a hosted Model Context Protocol (MCP) endpoint so your coding assistant can draft directly from your repository context while every post still waits in your Queue for a human tap on Approve.

Step 1: Add the hosted SwiftXEO MCP endpoint

SwiftXEO runs a hosted Streamable HTTP MCP server at https://www.swiftxeo.com/api/mcp with standard OAuth 2.1 authentication. You do not need to clone a local repository, manage Node versions, or paste long-lived API keys into dot-files.

For Claude Code, register the remote server once from your shell:

claude mcp add --transport http swiftxeo https://www.swiftxeo.com/api/mcp

For Codex CLI or MCP-compatible editors that read a JSON config file, add this server entry:

{ "mcpServers": { "swiftxeo": { "url": "https://www.swiftxeo.com/api/mcp" } } }

The first time your client calls a SwiftXEO tool, it opens a browser sign-in prompt and stores a scoped OAuth token for your workspace.

Step 2: How the agent inspects your workspace before writing

Four-step MCP workflow from git diff to SwiftXEO Queue: inspect brand profile, draft channel-native posts, attach Studio media, and review in Queue
Four-step terminal workflow: read Brand voice and channels over MCP, draft native posts, attach media, and sign off in the Queue.

Before generating a single draft, a well-behaved agent pulls three pieces of context through read-only MCP tools.

Check connected channels and platform limits

Calling list_channels returns your connected X, LinkedIn, Facebook, Instagram, YouTube, or TikTok targets along with their channel IDs. Calling get_platform_guidelines returns the current character caps, media aspect ratios, and formatting constraints for each network so the agent does not truncate an X post or send a landscape frame where a vertical clip belongs.

Read your shared Brand voice profile

Calling get_brand_profile loads your saved voice rules, banned words, claim guardrails, and writing samples. Because the profile lives in your SwiftXEO workspace rather than inside one chat thread, Claude Code, Codex CLI, ChatGPT, and Gemini all follow the same tone rules without repeating a long system prompt every week.

Inspect reusable visual Seeds and media

If your week of posts needs matching screenshots or generated visuals, list_seeds shows your saved Seeds (reusable reference images tagged with @handles), and list_media shows images or video clips already uploaded to your workspace library. You can also ask the agent to call generate_image or generate_video through Studio for image and video generation when a post needs a custom visual.

Step 3: Turn one build or commit range into five queued drafts

Once the MCP connection is active, point your coding assistant at the work you shipped this week. For example, run a prompt inside your project folder that reads the last seven days of git history and asks for a structured content week:

Read git log --since="7 days ago" --oneline. Call list_channels and get_brand_profile on SwiftXEO. Draft five native posts for next week (Monday to Friday at 09:15 CET) tailored to each connected channel: one release highlight, one behind-the-scenes architecture note, one practical tip, one short FAQ answer, and one weekend recap. Queue each post with create_post so I can review them in my SwiftXEO Queue.

Notice what happens during that run. Instead of dumping five generic paragraphs into your terminal for you to copy and paste, the agent calls create_post once per scheduled slot with channel-specific text for X, LinkedIn, and Facebook. Each call runs through the workspace Brand voice linter, which flags filler words or banned claims before the draft even reaches your screen.

What the agent can and cannot do over MCP

ActionExposed over SwiftXEO MCPWhere it happens
Read channels, Brand voice, Seeds, and guidelinesYes (read-only tools)Terminal or chat client
Generate images or short clips in StudioYes (generate_image, generate_video)SwiftXEO Studio
Create, edit, or cancel queued draftsYes (create_post, update_post, cancel_post)SwiftXEO Queue (unapproved)
Approve or publish a post liveNo (omitted from MCP server)Human tap on Approve in web app

Because no publish or approve tool exists on the MCP server, a runaway loop or misread git commit cannot send an unreviewed post to your audience. Every draft returns a direct review link where you can edit a sentence, swap a visual, reschedule the time, or tap Approve.

Practical tips for cleaner weekly batches

Keep your source context concrete. Point the agent at a real changelog, pull request summary, or customer question rather than asking it to invent industry hot takes. When you edit a queued draft inside SwiftXEO before tapping Approve, those edits stay in your workspace history so you can refine your Brand voice profile over time. On the Free plan, you can connect up to 2 channels with no post cap and use the hosted MCP endpoint right away; Solo ($19/month) expands to 5 channels and 1,000 monthly Studio credits, and Creator ($39/month) covers 15 channels and 2,500 monthly credits.

Frequently asked questions

Does SwiftXEO require a local MCP server or Docker container for Claude Code?
No. SwiftXEO hosts a remote Streamable HTTP MCP endpoint at https://www.swiftxeo.com/api/mcp with OAuth 2.1 sign-in, so you add one URL in Claude Code or Codex CLI with no local server to run.
Can Claude Code or Codex CLI publish posts to X or LinkedIn without my review?
No. The SwiftXEO MCP tool table intentionally omits approve and publish endpoints. Agents can create, update, or cancel drafts in your Queue, and a person must tap Approve in the SwiftXEO app before anything schedules or publishes.
Is the hosted MCP endpoint available on the SwiftXEO Free plan?
Yes. The hosted MCP server and Brand voice profile are included on every plan, including the Free tier (up to 2 channels with unlimited posting and a 7-day trial with 100 Studio credits).
Sources & References
Written by

Thomas Luzio — Founder of SwiftXEO, Inc. Read more on the About page · LinkedIn · GitHub · Facebook.

Explore SwiftXEO

MCP Server · Human-approved publishing · SwiftXEO vs. Buffer · SwiftXEO vs. Blotato · Pricing & credits

Draft a Week of Social Posts From Claude Code or Codex CLI · SwiftXEO