# How to schedule social media posts from Claude Code

https://postmoderno.io/blog/schedule-social-media-posts-from-claude-code · published 2026-11-24 · by Artem Senenko

Claude Code can read your git log, draft a week of posts from it and schedule them through Postmoderno, without leaving the terminal. The request, the preview our own run showed before it scheduled anything, and how to take a post back.

TL;DR:

- One command adds Postmoderno to Claude Code, and you sign in from /mcp. On a machine without a browser it takes a key in a header instead.
- We asked for five LinkedIn posts from one week of commits. Claude Code read 115 commits and our saved writing notes, then saved five drafts.
- A preview changes nothing. It gives each time in your timezone and in UTC, where LinkedIn will fold the text, what the post counts against, and anything that blocks it.
- A canceled post keeps its text and its time and can be scheduled again. A deleted one is gone.
- Claude Code's permission rules can let it read and preview without asking, while everything else, scheduling and deleting included, still waits for you.

Your week is already written down in `git log`. Claude Code can read it, pick the changes a user would notice, draft a post for each and schedule them through Postmoderno, from the terminal you already have open.

We ran this on Postmoderno's own repository on 24 November 2026, in Claude Code 2.1.331. The preview and the calendar below are from that run.

## Connect Postmoderno once

```
claude mcp add --transport http postmoderno https://mcp.postmoderno.io/mcp
```

Then run `/mcp` inside Claude Code, pick `postmoderno` and press **Authenticate**. Your browser opens Postmoderno, where you sign in and choose what Claude Code may do. Deleting posts starts switched off. Switch it on if you want Claude Code to clean up after itself, as it does further down.

The command adds the server for you, in the project you are in. Add `--scope user` to have it in every project of yours. To see whether it is connected, run `claude mcp get postmoderno`:

```
postmoderno:
  Scope: Local config (private to you in this project)
  Status: ✔ Connected
  Type: http
  URL: https://mcp.postmoderno.io/mcp
```

You also need a Postmoderno account with a social account connected. [The setup guide](/blog/schedule-posts-from-chatgpt-or-claude) covers both.

## The request

This is what we asked for, as one request you can paste:

```
Read this repository's commits from the last 7 days:
git log --since="7 days ago" --no-merges --format="%ad %s" --date=short

Pick the five changes a user would notice. For each one, draft a LinkedIn
post in my saved voice, using only facts from the commits.

Save them as drafts in Postmoderno. Preview one per weekday next week at
09:00 and show me the previews. Do not schedule anything until I say so.
```

The last line is the one to keep when you change the rest. Postmoderno refuses to schedule a post that was not previewed first, so the preview you are shown is the thing you approve.

## What Claude Code did with it

Our week had 115 commits. A few of the lines it read:

```
2026-11-24 feat(web): serve each blog post as Markdown at its address plus .md
2026-11-24 feat(web): publish an AI catalog that lists the MCP server
2026-11-23 feat(web): write a post in the panel
2026-11-22 feat(web): drop the three.js scene from every page
2026-11-21 feat(web): Team across workspaces
```

Before it wrote anything, it read the writing notes we keep in Postmoderno. Ours say no hashtags, and that a LinkedIn post of ours that did well used sentence case, dash bullets and no emoji. Then it saved five drafts. This is Wednesday's:

> If AI agents read your site, give them something better than HTML. Three things we added to postmoderno.io this week:
>
> - Every blog post is also served as Markdown: add .md to its address
> - An AI catalog at /.well-known/ai-catalog.json lists our MCP server
> - The free tools are offered to browser agents through WebMCP
>
> None of it changes what a person sees.

Every fact in it comes from a commit. It also says "this week" about changes made the week before it goes out, which is the kind of line to fix when you read the preview. A draft is only saved text, and nothing is on the calendar yet.

## The preview it shows first

Claude Code previewed each draft at its time and came back with this:

| When, our time | UTC | Post | Characters | LinkedIn shows before "see more" |
|---|---|---|---|---|
| Mon 30 Nov, 09:00 | 07:00 | The composer in the app | 462 | The first paragraph and one more line |
| Tue 1 Dec, 09:00 | 07:00 | The LinkedIn formatter | 338 | Up to the second bullet |
| Wed 2 Dec, 09:00 | 07:00 | Markdown posts and the AI catalog | 357 | Into the second bullet |
| Thu 3 Dec, 09:00 | 07:00 | Several workspaces at once | 278 | Up to the second bullet |
| Fri 4 Dec, 09:00 | 07:00 | Dropping three.js | 304 | The first two paragraphs |

Under the table it said the rest of what the preview holds: one LinkedIn account, one post each with no replies, one post off the month's allowance for each, nothing blocking and no warnings.

**A preview changes nothing. It answers what would happen if you said yes: the time in your timezone and in UTC, where the feed will cut the text, what the post counts against, and whether anything is in the way.**

The fold column is the useful one for editing. If the line that carries the point sits below the fold, move it up and ask for the preview again. Postmoderno marks the fold as an estimate.

## Say yes, and it is on the calendar

After a yes, each post went from draft to scheduled, and the calendar in the app showed the week:

<figure class="post-shot">
<img src="/shots/schedule-social-media-posts-from-claude-code/calendar.webp" width="672" height="138" alt="The Postmoderno calendar for 30 November to 6 December 2026, with one post at 09:00 on each weekday in the LinkedIn account's row." loading="lazy" decoding="async">
<figcaption>The same week in the app, a minute later.</figcaption>
</figure>

If a draft changes after its preview, the schedule is refused and Claude Code has to preview it again. You cannot approve one text and get another.

Claude Code does not have to stay open. Postmoderno publishes each post at its time from its own servers.

## Take a post back

We asked it to cancel Friday's post, then to delete all five.

Canceling stops a post going out and keeps it. Friday's post became canceled with its text and its time still on it, the calendar stopped showing it, and scheduling it again would have brought it back.

Deleting removes a post for good, and a scheduled one is called off and deleted in one step.

Afterwards the calendar showed none of the five, and our usage counts matched what they were before the run.

## Let it read without asking

By default Claude Code asks before it runs a tool from an MCP server. That is right for scheduling and a nuisance for reading, and its permission rules can tell the two apart. In `.claude/settings.local.json`, which is yours alone in that project:

```json
{
  "permissions": {
    "allow": [
      "mcp__postmoderno__get_briefing",
      "mcp__postmoderno__get_context",
      "mcp__postmoderno__list_accounts",
      "mcp__postmoderno__list_posts",
      "mcp__postmoderno__preview_schedule"
    ]
  }
}
```

A preview is on the list because it changes nothing. Everything that is not on it still asks first, and that includes `schedule_post`, `cancel_post` and `delete_post`. [Claude Code's permissions page](https://code.claude.com/docs/en/permissions) has the full rule syntax.

## What a post costs

Each post to each account counts as one against your plan's monthly posts, and the preview says how many that leaves. X is the exception: X charges for every post, so posts to X draw from a prepaid wallet as well. [What an X API post costs](/blog/what-an-x-api-post-costs) explains why, and the preview states the cost before you agree to anything.

## Without a browser, and in Cursor

On a server or in a container there is no browser to sign in with. In the app, open **Agents**, pick **Claude Code** under **Takes a key** and make a key. The app writes it into this command for you:

```
claude mcp add --transport http postmoderno https://mcp.postmoderno.io/mcp \
  --header "Authorization: Bearer YOUR_TOKEN"
```

Cursor takes a key in its `mcp.json` in the same way. The setup guide has [the block to paste](/blog/schedule-posts-from-chatgpt-or-claude).

## Where to go next

If you use ChatGPT or claude.ai as well, [the setup guide](/blog/schedule-posts-from-chatgpt-or-claude) connects them to the same account, so the drafts Claude Code saved are there too. For help writing the posts, [the free skills for X and LinkedIn posts](/blog/free-skills-for-writing-x-and-linkedin-posts) install into Claude Code. [What an MCP post scheduler is](/blog/what-is-an-mcp-post-scheduler) explains the model behind all of it.

A link that starts with / is on https://postmoderno.io.
