Octopost + Claude Code
Octopost is a social media MCP server. Add it to Claude Code and your agent can post to X, Bluesky, Mastodon and LinkedIn, write threads, schedule posts and hold them for your approval. Other networks are on the roadmap.
1. Start a plan and connect X
Sign up (7 days for $1, then $29 a month), then connect your X account on the accounts page.
2. Add Octopost to Claude Code and sign in
Run this in your terminal (add --scope user to use Octopost in every project):
claude mcp add --transport http octopost https://octopost.ink/mcp- Run the command below.
- Start Claude Code, run /mcp, pick octopost and choose Authenticate.
- An Octopost page opens: sign in if asked, check the account, and click Allow.
No key to copy: Claude Code signs in to Octopost (OAuth) and stays connected.
Or send an API key instead of signing in:
claude mcp add --transport http octopost https://octopost.ink/mcp --header "Authorization: Bearer op_YOUR_API_KEY"Keys are on the API keys page.
Prefer a plugin? Inside Claude Code run `/plugin marketplace add octopost-ink/octopost-plugin`, then `/plugin install octopost@octopost`, and sign in from /mcp. It adds the server and the Octopost skill.
3. Try it
Ask your agent:
- “List my Octopost accounts.”
- “Queue a post to X about today's release and hold it for my approval.”
- “Turn these release notes into a 3-post X thread and schedule it for 9am tomorrow.”
If it doesn't connect
- The sign-in window didn't open, or it says the app isn't registered: remove the Octopost connector and add the URL again.
- 401 Unauthorized with a key: the key is missing, mistyped, revoked, or not sent as
Authorization: Bearer op_.... The error message names which. - “Your Octopost plan is not active”: finish the $1 trial checkout on the billing page.
- “No twitter account connected”: connect X on the accounts page.
Still stuck? Email hello@greatwork.company; a person answers.
Other clients
- Octopost + claude.ai
- Octopost + Claude Desktop
- Octopost + ChatGPT
- Octopost + Cursor
- Octopost + OpenAI Codex CLI
- Octopost + VS Code
- Octopost + Windsurf
- Octopost + Gemini CLI
Any other MCP client: add https://octopost.ink/mcp as a remote (Streamable HTTP) server and sign in, or send Authorization: Bearer op_.... Full reference: MCP docs.