10 DAYS ONLY · $500 VALUE Top 100 Viral Hooks + Repurpose Engine (Claude Skills) Start free → Start free →
Claude Code

Claude Code Social Media MCP Setup

Claude Code adds a social media MCP server with a single command: claude mcp add --transport http Blotato https://mcp.blotato.com/mcp. Run it, let Claude apply the change, then run /mcp inside the session, select Blotato then Authenticate, approve access, and restart. From then on the terminal agent can publish and schedule to nine platforms.

Endpoint https://mcp.blotato.com/mcp OAuth or header

Updated July 2026

How to connect Claude Code to social media

  1. Connect your social accounts in Blotato.
  2. In a Claude Code session, run: claude mcp add --transport http Blotato https://mcp.blotato.com/mcp
  3. Let Claude apply the change, then run /mcp inside the session.
  4. Select Blotato, then Authenticate, and approve access in your browser.
  5. Restart Claude Code. MCP servers load on startup, so the restart is not optional.
One command in a Claude Code session
claude mcp add --transport http Blotato https://mcp.blotato.com/mcp
Claude Code MCP documentation showing remote server configuration
Claude Code's own MCP documentation, showing where the remote server config goes.

How do I know it worked?

Ask Claude Code to list your connected accounts. It calls blotato_list_accounts and returns your platforms, which confirms both the connection and the authentication in one step. If you see your accounts, setup is done.

First prompt to run
What social media accounts do I have connected?
An AI agent answering "what social accounts do i have connected?" by calling Blotato and listing 10 connected social media accounts across Twitter, Bluesky, Instagram, Threads, LinkedIn, Facebook, YouTube, Pinterest, and TikTok
The reply you are looking for: the agent calls Blotato and lists every connected account. Here it returns 10 accounts across all nine platforms.

Worth knowing before you rely on it: analytics prompts only return data for X, Instagram, Facebook, Threads, and Bluesky. The other four platforms publish normally but report no metrics yet.

What breaks, and how to fix it

The usual Claude Code failure is skipping the restart. The add command writes the config and the /mcp menu will even show the server, but the tools are loaded at startup, so a session that was already running will not see them. The second is authenticating while logged out of Blotato in your default browser, which leaves the connector added but unauthenticated.

What is different about Claude Code

Claude Code is the only client where the whole setup is one command rather than a config file or a form, because the CLI writes the entry itself. It also accepts either OAuth or an API key header, which matters if you are running it headlessly on a server where no browser can complete an OAuth round trip.

Vendor documentation: Claude Code MCP setup. For how a client discovers and calls tools once connected, see the MCP client concepts reference.

Already connected and want the workflow?

This page covers the connection. Our guide to running a full social media workflow from Claude Code covers the stack, the step-by-step workflow, and the limits of unattended posting.

FAQ

Claude Code social media FAQs

01 Can Claude Code post to social media?
Yes. Claude Code cannot reach a social account on its own, because it has no platform credentials. Connecting it to Blotato's hosted MCP server at https://mcp.blotato.com/mcp gives it tools to publish and schedule across nine platforms: X, LinkedIn, Facebook, Instagram, TikTok, YouTube, Threads, Bluesky, and Pinterest. Claude Code authenticates with oauth or header.
02 How do I connect Claude Code to social media?
Claude Code adds a social media MCP server with a single command: claude mcp add --transport http Blotato https://mcp.blotato.com/mcp. Run it, let Claude apply the change, then run /mcp inside the session, select Blotato then Authenticate, approve access, and restart. From then on the terminal agent can publish and schedule to nine platforms.
03 How do I set up Claude Code for social media?
Setting up Claude Code for social media takes one connection. Connect your social accounts in Blotato, then give Claude Code the hosted MCP endpoint https://mcp.blotato.com/mcp and authenticate with oauth or header. For Claude Code specifically that means: one command in a claude code session. Once it loads, Claude Code can publish and schedule to X, LinkedIn, Facebook, Instagram, TikTok, YouTube, Threads, Bluesky, and Pinterest from a plain-language prompt.
04 What is the best way to manage social media with Claude Code?
Let Claude Code do the drafting and decision making, and let a publishing layer hold the accounts and the schedule. The thing that makes this work on Claude Code in particular: Claude Code is the only client where the whole setup is one command rather than a config file or a form, because the CLI writes the entry itself. It also accepts either OAuth or an API key header, which matters if you are running it headlessly on a server where no browser can complete an OAuth round trip.
05 What goes wrong when connecting Claude Code?
The usual Claude Code failure is skipping the restart. The add command writes the config and the /mcp menu will even show the server, but the tools are loaded at startup, so a session that was already running will not see them. The second is authenticating while logged out of Blotato in your default browser, which leaves the connector added but unauthenticated.
06 Does Claude Code need to be running for a scheduled post to go out?
No. Scheduling runs on Blotato rather than inside Claude Code. Once the agent queues a post, it publishes at the scheduled time whether or not Claude Code, your terminal, or your laptop is on. This is the practical difference between an agent that drafts and a system that runs unattended.
07 Do I need a developer app or platform API keys to use Claude Code this way?
No. Blotato holds the platform integrations and manages the OAuth tokens, including refreshes. You connect each social account through a normal login flow instead of registering your own app on every network and waiting for review. Claude Code never handles a platform credential.
08 What can Claude Code not do on social media?
Publishing and scheduling cover all nine platforms, but the rest is uneven and worth knowing before you build against it. Analytics covers X, Instagram, Facebook, Threads, and Bluesky. Comments and direct messages cover Instagram and Facebook. Keyword-triggered DM automation is not available at all. None of that varies by agent: it is the same surface whichever client you connect.
09 How much does it cost to connect Claude Code?
Starter is $29/mo flat for 20 connected accounts, and the price does not scale with posting volume. API and MCP access is not part of the 7-day trial: generating a key activates the paid Starter plan, so plan on subscribing rather than trialing it.

Connecting a different agent?

Same endpoint, same accounts, one setup per client. The AI agents for social media hub covers what all of them share, including every tool your agent can call.