How to schedule a social media post from Claude Code

Written by

in

If you already use Claude Code for development work, you can also use it to draft and schedule social posts in GPTpost. Setup takes a few minutes. This guide walks through it step by step.

Step 1: create an API key

Sign in to GPTpost as a workspace owner or admin and open Settings > API & Agents. Choose Create API key, give it a name you will recognise later (for example “claude-code-laptop”), pick scopes and an expiry. For drafting and scheduling you need accounts:read, posts:read and posts:write. Copy the key straight away: it starts with gpk_ and is shown only once.

Step 2: add the MCP server

In your terminal, run:

claude mcp add --transport http gptpost https://app.oraglegpt.org/mcp --header "Authorization: Bearer <YOUR_API_KEY>"

Then start Claude Code and run /mcp. You should see the GPTpost tools, such as list_accounts, create_post and schedule_post.

Step 3: ask for what you want

Start with something small: “List my connected accounts, then schedule a draft for tomorrow at 9:00 announcing our new release, with a shorter version for Bluesky.” Claude will look up the accounts and create the post with a version per network.

Step 4: check the calendar

Open the GPTpost calendar. The post appears like any other. If your workspace requires approval, it waits for sign-off. If a version is over a network’s limit, the API rejects it with a clear error, and Claude can shorten it and try again.

Tips

  • Use one key per machine or agent so you can revoke them separately.
  • Give keys an expiry date.
  • Keep approvals on while you get used to the workflow.

The API and MCP server are included in every plan and the 14-day free trial, no card required. Full guide: schedule social media posts with Claude and ChatGPT.

https://oraglegpt.org/blog/schedule-social-media-posts-with-claude-and-chatgpt/?utm_source=facebook&utm_medium=social&utm_campaign=organic90

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *