Schedule Social Media Posts from Any AI Agent with the CLI
- Install it with npm install -g postemi
- JSON output and a SKILL.md your agent can read
- 20 platforms, including X, LinkedIn, Instagram and TikTok
How do I connect Postemi to AI Agents CLI?
Add Postemi to AI Agents CLI
auth:login opens the browser, where you approve the device. On a server, set POSTEMI_API_KEY instead.
npm install -g postemipostemi auth:loginThen just ask AI Agents CLI
Once connected, AI Agents CLI calls the Postemi tools. Scheduled posts go out on time, even after you close the chat.
Done. I found your X and LinkedIn accounts and scheduled both posts for 9:00 tomorrow. Want me to save a version for Instagram as a draft too?
- List my connected channels
- Plan a week of posts about our launch
- Save this as a draft instead
- 1
Connect your social accounts in Postemi
Sign in to Postemi and connect the accounts your agent may post to.
- 2
Install and sign in
auth:login opens the browser, where you approve the device. On a server, set POSTEMI_API_KEY instead.
- 3
Point your agent at the skill
The npm package includes SKILL.md, a reference written for agents. Copy it to your agent's skills folder, or tell the agent to read it.
- 4
Ask your agent
It runs the commands and reads the JSON they print.
postemi integrations:listpostemi posts:create -c "Hello" -i "<id>" \ -s "2026-11-02 09:00" --timezone Europe/LondonOne AI Agents CLI connection powers every channel you run
Connect your accounts in Postemi once. From then on AI Agents CLI can post to any of them, 20 platforms today, without a separate setup per network.
- Each account keeps its own rules and character limit, and AI Agents CLI reads them first.
- One request can go to several platforms, with the text adapted to each.
- New accounts you connect in Postemi show up for AI Agents CLI at once.
The CLI or the MCP server?
- Setup
- npm install -g postemi, then postemi auth:login
- Needs
- Node.js and a shell
- Sign-in
- Browser device sign-in, or POSTEMI_API_KEY
- Best for
- Scripts, cron, CI and analytics
- Setup
- Add https://mcp.postemi.com/mcp to your agent
- Needs
- An MCP client
- Sign-in
- Your Postemi account in the browser, no key
- Best for
- Chat apps and agents without a shell
What can AI Agents CLI do with Postemi?
Create posts
posts:create makes a draft, a scheduled post or publishes now. Repeat -c for a thread.
Read and fix the calendar
posts:list, posts:find-slot, posts:status and posts:delete keep the plan in order.
Know the channels
integrations:list gives the ids; integrations:settings gives each channel's rules and limits.
Upload media
postemi upload sends a file and returns the URL that -m needs.
Read analytics
analytics:platform and analytics:post show how a channel and a post performed.
Built for agents
JSON on stdout, status and errors on stderr, a non-zero exit code on failure.
What is the Postemi MCP?
MCP (Model Context Protocol) is the other way in. Postemi runs a hosted MCP server at https://mcp.postemi.com/mcp, for agents that cannot run commands, like ChatGPT or Claude on the web.
The CLI and the MCP server use the same account and the same calendar. You can let a coding agent use the CLI and a chat app use MCP at the same time.
How AI Agents CLI uses Postemi
Once Postemi is connected, AI Agents CLI finds the tools by itself and calls them when you ask for a post.
- Reads your connected accounts and each one's rules
- Checks the calendar and your time zone before it picks a time
- Can show a preview per account before it creates a post
- Saves a draft, schedules, or publishes now, as you asked
- Adds images and video from a link, or from an upload link you open
https://mcp.postemi.com/mcp
---name: postemidescription: Postemi schedules and publishes social posts from the command line.--- Rule 1: Authenticate before anything.Rule 2: Every file passed to -m must first gothrough postemi upload. # Tools it gets:# list_integrations connected accounts# get_integration_schema rules and limits# list_posts the calendar# preview_post what would go out# create_post draft, schedule, publish# delete_post remove an unpublished post# upload_media_from_url add an image or video# create_upload_link upload from your computerYour AI agent can run your social calendar
AI Agents CLI schedules your next post
create_postChatGPT, Claude, Cursor and Codex sign in with your Postemi account. Manus, DeepSeek Harness and NanoClaw use an MCP key.
What can you ask AI Agents CLI to post?
Read CHANGELOG.md and write a post about the latest release. Schedule it on X and LinkedIn for tomorrow at 9:00, as drafts.
When this release job passes, run postemi posts:create to schedule the release note on X and LinkedIn for 9:00 tomorrow, as a draft.
Turn this blog post into a five part thread on X and schedule it for Tuesday at 17:00.
Use postemi analytics:platform for my LinkedIn account and tell me which posts did best last week.
Which platforms can AI Agents CLI post to?
Do I need the CLI if my agent supports MCP?
- What it is
- Commands your agent runs in a shell
- How Postemi connects
- npm install -g postemi
- Best for
- Scripts, CI and analytics
- What it is
- A hosted server your agent connects to
- How Postemi connects
- A URL and a sign-in
- Best for
- Posting from chat apps
Other AI agents that post through Postemi
ChatGPTThe Posty plugin from ChatGPT's directory, or a custom MCP server.
OpenAI dotsChatGPT's always-on agents, through the plugins in your ChatGPT account.
ClaudeA custom connector on claude.ai, or the Posty plugin from the Claude directory.
Claude CoworkCowork's longer tasks, with the Postemi connector or the Posty plugin.
Claude CodeOne claude mcp add command, or the CLI with its skill.
Codexcodex mcp add in the terminal, or the postemi CLI from a codex exec script.
CursorOne click with Cursor's install link, or a line in mcp.json.
GeminiA custom app in the Gemini app, or the MCP server in Gemini CLI and Antigravity CLI.
OpenClawYour always-on OpenClaw agent, with the Postemi MCP server in its config.
Hermes AgentNous Research's open agent, with Postemi in its config.yaml.
Grok BotAsk your Bot to add the Postemi MCP server, then give it the posting.
Grok Buildgrok mcp add in the terminal, then a sign-in from /mcps.
DeepSeekThrough DeepSeek Harness, with an MCP key. The chat app cannot connect.
Kimi K3Kimi Code CLI's mcp.json, or a plugin made in Kimi Work.
MuseA custom connector in the Muse app, or the MCP server in Muse Code.
ManusA custom MCP server in Manus settings, with an MCP key.
Perplexity ComputerA remote MCP connector in Perplexity, with an OAuth sign-in.
NanoClawA remote MCP server for your NanoClaw agent group, with the key in the vault.PaperclipA connector for your Paperclip company, with per-action approval.
MCP ServerOne URL for any MCP client: OAuth sign-in or a Bearer key.
Frequently asked questions about AI Agents CLI and Postemi
Give your agent a command for every post
Install the Postemi CLI, sign in, and let your agent read the skill.
Install the CLIGrow your audience,not your workload
Postemi brings your social accounts together in one calendar, so you can spend more time on your leads and your business. Don't let managing your accounts take up ten hours a week.