Claude Code for social media
Updated 08.11.2026
Claude Code can publish to social media when it is connected to an MCP server that holds the platform tokens. The agent plans, writes and creates media, the server validates and publishes, and the owner approves before anything goes out.
This guide is the setup we use ourselves: one MCP endpoint, one skill file, five minutes of work.
What Claude Code does in a social media workflow
- Reads the website and turns it into a 30-day plan with topics, formats and hooks.
- Writes captions and calls the carousel or video tool to make the media.
- Validates each post against the limits of VK, Telegram and TikTok.
- Sends drafts for approval instead of publishing blindly.
- Publishes approved posts through official APIs.
- Reads views, comments and clicks and adjusts the next batch.
Step 1. Create an API key
Sign in to Postmately, open the workspace settings and create an API key. The key belongs to one workspace and sees only its channels.
Step 2. Add the MCP server
claude mcp add --transport http postmately https://api.postmately.com/mcp \
--header "Authorization: Bearer YOUR_API_KEY" For Cursor, Codex or any JSON config, the server entry is:
{
"mcpServers": {
"postmately": {
"type": "http",
"url": "https://api.postmately.com/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
} Step 3. Load the skill file
The server exposes the tools, the skill file explains the workflow: postmately.com/skills/postmately/SKILL.md. It lists the tool order, the limits of each network, the approval rules and the cases where the agent must stop and ask.
Without the skill file the agent knows what it can call but not what makes a good post. With it, the output is closer to a content lead than to a text generator.
Step 4. Ask for a plan, not a post
A prompt that works:
You are the content lead for a detailing studio.
Read https://example.com and build a 30-day plan for VK and Telegram.
30 posts in total: 8 carousels, 4 short videos, 18 text posts.
Show the hook, the format and the call to action for each post.
Do not publish. Send the drafts to Telegram for approval. The agent calls the planning and carousel tools, validates the posts and sends them for approval. Nothing is published until the owner taps approve.
Step 5. Approve and publish
Drafts arrive in Telegram or email a day before their date. The owner can approve, edit or skip. The server publishes approved posts through official APIs. Every post keeps its URL and timestamp, so the agent can read the result later.
Common mistakes
- Giving the agent a password instead of a server. The token belongs on the server, not in the prompt.
- Publishing without approval. It feels faster until the first wrong price or missing disclaimer.
- Connecting every channel on day one. Start with two, get the format right, then add the rest.
- Asking for “best performing posts”. Ask for saves and replies, otherwise the agent returns the posts with the most reach, not the ones that sell.
What Claude Code cannot do
It cannot bypass platform review. LinkedIn is not available for publishing until LinkedIn approves the app. It cannot publish to a channel that is not connected. And it should not invent prices, guarantees or customer results: the skill file tells it to stop and ask.
Next: the MCP for social media guide, the Telegram scheduler or the AI social media autopilot.