Give your agent a calendar to write into.
Connect Claude Code, Codex, Cursor or any MCP client in one line. Your agent writes the posts and puts them on the calendar; Staqly publishes them on time and asks for more when a collection runs dry.
# you: "Announce v1.4 on every channel tomorrow at 9"list_channelscreate_post {"collection":"Product updates","title":"v1.4", "content":"v1.4 is out: ...","targets":[...]}preview_post {"post_id":"post_..."} → every target okschedule_post {"post_id":"post_...","publish_at":"...T09:00:00Z"}→ on the calendar, Thu 09:00Just ask
Talk to your agent like you would to a social media manager.
- “Draft five posts about the new release into Product updates, one per weekday morning.
- “What is scheduled this week, and which day is empty?
- “Make the X version shorter and publish it now.
No agent? The dashboard has an assistant of its own that does the same, and asks before every change.
Install
One line per agent.
Create a workspace, copy its API key into STAQLY_API_KEY and add one line to your agent.
$ claude mcp add --transport http staqly https://app.staqly.ai/mcp \ --header "Authorization: Bearer $STAQLY_API_KEY"Running Staqly Community Edition? Point it at localhost:3333/mcp with the access token Staqly prints when it starts. Full guide
Not an MCP agent? Use the REST API, n8n, the CLI or the TypeScript and Python SDKs.
How it runs
Write, preview, schedule, refill.
- 1The agent writes: create_post with the text, the media and one target per channel.
- 2It checks: preview_post says what each platform objects to; update_post fixes it.
- 3It schedules: schedule_post for a time, or leaves a draft for the collection’s schedule.
- 4It refills: list_requested_work shows a schedule out of posts; the agent writes the next batch.
Writing is not publishing
Decide which agent may press the button.
- A drafting agent
posts:write - Writes and edits posts and fills collections. Its drafts wait for a schedule, or for you, to go out.
- A publishing agent
posts:publish - May also schedule, publish now and cancel. Give it to the agent you trust to press the button.
On Staqly Cloud every API key carries its own scopes. In the self-hosted Community Edition the access token has full access. Keys and scopes
What the agent gets
100 tools. These are the ones that matter.
| create_post | Write a post into a collection: text, media, one target per channel with its own text or settings |
| preview_post | See the text each channel will carry and what its platform objects to before publishing |
| schedule_post | Put a post on the calendar; publish_post sends it now, cancel_post takes it off |
| list_requested_work | See what the workspace asks of the agent: schedules out of posts, targets waiting for a result |
| create_schedule | Weekday mornings, every six hours or once: which posts, which channels, what to do when nothing waits |
| list_channels | The connected accounts with their status; connect_channel adds a token platform |
| report_publish_result | Close a target on your own automation with the published link or an error |
See what people build with it.
A week of posts from one prompt, one post in every channel’s length, publishing through n8n, feeding a schedule from your own endpoint.