AI agents

Claude Code social media, right from your terminal

Claude Code social media work starts with one command that connects the OnlySocial MCP server to your terminal. Then you can ask Claude Code to read your accounts, draft and schedule posts to 16 networks, or answer the inbox, while anything you mark for approval waits for a person.

One command to connectAdd the OnlySocial MCP server with a single claude mcp add command, sign in, pick a workspace and the tools appear in your session.
Works where you already areDraft launch posts next to the code that shipped, without leaving the terminal or opening another tab to copy text into a scheduler.
Guard rails stay onApprovals, send budgets and the activity log mean Claude Code can draft freely while a person signs off on anything public.

Set up the Claude Code MCP connection

The Claude Code MCP setup takes one line. Run claude mcp add --transport http onlysocial https://app.onlysocial.io/mcp in your terminal. That registers OnlySocial as a remote HTTP server. The first time Claude Code uses it, you sign in to OnlySocial in the browser and choose the workspace the agent should work in.

From then on the OnlySocial tools sit next to the file and shell tools Claude Code already has. Ask which accounts are connected, what is scheduled for next week or which conversations are waiting, and it calls the right tool. The same server powers every MCP app, so the social media MCP server page covers the full tool list and how it treats ChatGPT, Cursor and others.

Post from the terminal without switching windows

If you spend the day in a shell, opening a dashboard to write one post breaks your focus. With the connection in place you can post from the terminal in plain words. Ask Claude Code to write a short LinkedIn post about the bug fix you just merged, show you the draft, then schedule it for tomorrow morning. It uses the same composer rules as the app, so each network gets its own version.

Claude Code social media requests can also be quick checks. Ask what is going out this week, whether anything failed to publish, or which posts still need approval. Because the agent reads your real calendar, the answers match what the social media scheduler shows your team, and any post it creates sits on that calendar ready to edit or move.

Check the calendar before you ask

Start a Claude Code social media session by asking what is already scheduled. The agent reads your calendar and tells you about gaps, clashes or posts still waiting for approval, so new drafts land where the week needs them.

Answer the inbox between builds

The same session can read Salesbot conversations, reply to customers, tag contacts and move pipeline stages. Replies you mark for approval wait for a teammate, so a quick inbox pass never sends anything unchecked.

Schedule posts with Claude Code from your changelog

Release day is where this pays off. Claude Code can already read your repository, so point it at CHANGELOG.md or the latest release notes and ask for launch posts. It picks out the changes users care about, writes a version for each network and schedules posts with Claude Code across the morning, so X, LinkedIn, Bluesky and Mastodon each get the right length and tone.

You stay the editor. Ask for a draft first, read it in the terminal, ask for changes, and only then let it schedule. If your workspace marks publishing for approval, the posts wait on the Home page until someone on the team signs off. For bigger launches, the bulk scheduling tools and the calendar help you see the whole week at once.

A good habit is to keep the brief short and specific. Tell Claude Code which audience each network reaches, which changes to lead with and which to skip, and link to the release page you want people to open. Claude Code social media drafts get better when the prompt names real details from the release, and you can reuse that brief next time.

Claude Code automation with scripts and repeatable prompts

Once a prompt works, save it. A custom slash command in your project, such as a file under .claude/commands, can hold your launch post brief: which networks, what tone, when to schedule and what to leave out. Run it on every release and you get consistent posts without retyping the instructions. This is the simplest form of Claude Code automation, and it lives in your repository where the team can review it.

For hands-off runs, Claude Code can work non-interactively with the -p flag, so a script or CI job can pass it a prompt after a tag is pushed. Keep that kind of Claude Code automation conservative. Let it create drafts and leave publishing to approval, so a person still reads every post before it reaches your audience.

  • Save your launch brief as a slash command in the repository
  • Run the same prompt on every release tag
  • Let scripts draft posts while approval handles publishing
  • Review every agent action in the activity log

Combine the agent with the REST API and webhooks

MCP is the right fit when you want to talk to an agent. For code that runs on its own, the social media API covers the same ground: a Publishing API, a Messaging API and a Link in Bio API on one workspace key with scoped permissions. Webhooks send events for posts, messages, contacts, bookings, payments and store orders to your URL.

Many teams use both. A webhook tells your service that a post was published, your code logs it, and when something needs judgement you open Claude Code and ask it to reply to the comments or draft a follow-up. Claude Code can also help you write the API client itself, reading the reference at api.onlysocial.io while it works on your codebase.

A simple split works well. Let webhooks and your own code handle the predictable parts, such as logging every published post or sending new bookings to a spreadsheet, and keep Claude Code social media sessions for the tasks that need writing or judgement. Both paths use the same workspace, so posts and replies from either one show up in the same calendar and inbox.

# Claude Code
claude mcp add --transport http onlysocial https://app.onlysocial.io/mcp

# Cursor: ~/.cursor/mcp.json
{
  "mcpServers": {
    "onlysocial": { "url": "https://app.onlysocial.io/mcp" }
  }
}

Keep approvals on for Claude Code social media

An agent that can run shell commands and post to your brand accounts needs clear limits. In OnlySocial you choose which actions wait for a person, such as publishing a post or replying to a customer. Those actions sit in the approvals list until someone signs off, so a Claude Code social media session can draft as much as it likes without anything going public by mistake.

Send budgets add a second limit. Each connection gets a cap on how many messages and posts the agent can send, and once it is used up, further sends wait for a person. Every action an agent takes appears in the workspace activity log, so you can see what Claude Code read, created and sent. The same controls protect replies through the AI sales chatbot inbox.

How to start with Claude Code social media

  1. Step 1

    Add the server

    Run claude mcp add --transport http onlysocial https://app.onlysocial.io/mcp in your terminal to register the OnlySocial MCP server with Claude Code.

  2. Step 2

    Sign in and pick a workspace

    When Claude Code first calls OnlySocial, sign in in your browser and choose the workspace the agent should read and act in.

  3. Step 3

    Turn on approvals

    In OnlySocial, mark publishing and customer replies for approval and set a send budget, so drafts wait for a person before going out.

  4. Step 4

    Post from the terminal

    Ask Claude Code to draft posts from your release notes, check the week's calendar or sum up the inbox, then review the results.

What OnlySocial customers say

Rated 4.4 out of 5 from 61 reviews on Trustpilot. Read every review

GOOD

Infinite accounts, API endpoint, all good.

Alessandro SmedileItaly · Apr 2026 on Trustpilot
OnlySocial Software has impressed me

The variety of available integrations is impressive, allowing the consolidation of many services, saving costs, and simplifying management.

Michael HemmersbachGermany · Jul 2024 on Trustpilot
good product

I had issues setting up my comment auto reply using chatgpt, and the support went through the stress of guiding me through every step. … Exceptional service... with lots of features.

Dionne FrazierUnited States · Nov 2024 on Trustpilot

Claude Code social media FAQ

Something else? The help and API docs cover every feature.

How do I set up Claude Code social media posting?

Run claude mcp add --transport http onlysocial https://app.onlysocial.io/mcp, start Claude Code, and sign in to OnlySocial when asked. Pick the workspace you want the agent to use. After that, Claude Code social media requests work in plain words, for example asking it to draft and schedule a post for LinkedIn and X.

What can the Claude Code MCP connection do?

Through the Claude Code MCP connection the agent can read accounts, scheduled posts and the inbox; draft, schedule and publish posts to 16 networks; reply to Salesbot conversations; tag contacts and move pipeline stages; book appointments and start flows. The social media MCP server page lists the tools in more detail.

Can I schedule posts with Claude Code from my changelog?

Yes. Claude Code can read files in your repository, so ask it to turn the newest changelog section or release notes into a post per network and schedule them. Ask for drafts first so you can review the wording, and keep publishing marked for approval in OnlySocial.

Can I post from the terminal without approval?

You decide. If you leave publishing unmarked, Claude Code can post from the terminal straight away within its send budget. Most teams start with approval on for every post and reply, then relax it for low-risk tasks once they trust the prompts they use.

Is Claude Code automation safe in CI?

It can be, if you keep it narrow. Run Claude Code with a fixed prompt, let it create drafts only, and keep approvals and a small send budget on the connection. Every action shows in the activity log, so you can check what each run did.

Should I use MCP or the REST API?

Use MCP when you want to ask an agent for help in plain words. Use the social media API and webhooks for code that runs on its own, such as a service that logs published posts. Both work on the same workspace, and the reference lives at api.onlysocial.io.

Does this work with Cursor or Codex too?

Yes. Every MCP app connects to the same address. See Cursor social media for the mcp.json setup and Codex social media for the Codex config, or connect Claude to social media in the Claude apps.

Bring social media into your terminal

Add the OnlySocial MCP server to Claude Code, keep approvals on and draft your next launch post from the release notes.

Scroll to Top