Schedule Social Posts from NanoClaw
NanoClaw is an open-source, container-isolated personal AI agent. You message it from WhatsApp, Telegram, or Slack, and it runs Claude Code in a Docker sandbox to act for you. Drop PostFast's MCP server into the group's .mcp.json and your agent can schedule Instagram Reels, TikTok videos, LinkedIn posts, and YouTube Shorts without ever holding your API keys outside the container.
Last updated

What You Can Do
Quick Setup
Use NanoClaw's /customize skill
NanoClaw ships a /customize skill for adding MCP integrations. In your NanoClaw clone, run claude, then /customize, and paste the prompt below. It will update src/index.ts (the mcpServers object) and the relevant groups/*/CLAUDE.md so the agent knows when to use the new tools.
Prefer to do it by hand? Three steps:
- Step 1. Get your PostFast API key. Log in to your PostFast dashboard, open the API section in the sidebar, and generate a key.
- Step 2. Register PostFast in
src/index.ts. NanoClaw configures MCP servers in themcpServersobject passed to the agent. Either use/customize(recommended) or add this block manually:{ "mcpServers": { "postfast": { "type": "stdio", "command": "npx", "args": ["-y", "postfast-mcp"], "env": { "POSTFAST_API_KEY": "your-api-key-here" } } } }Export the key in your shell profile so it never lands in committed files:
export POSTFAST_API_KEY="your-api-key-here"
Append a short usage note to
groups/marketing/CLAUDE.md(or whichever group) so the agent knows what PostFast can do. - Step 3. Rebuild and message your agent. Rebuild TypeScript and restart the NanoClaw service so the new MCP server is picked up. From WhatsApp, Telegram, or whichever channel that group uses, ping the agent and ask it to schedule a post. The Docker Sandbox spawns, Claude Code calls PostFast, and the agent replies in chat with the scheduled time.
Because every NanoClaw group runs in its own Docker Sandbox, the API key only lives where you put it. If you manage multiple clients, each one gets their own container, their own PostFast key, their own isolated history.
Available Tools
Eleven MCP tools ship with the PostFast server, ready to call from any NanoClaw group.
| Tool | Description |
|---|---|
list_accounts | List connected social media accounts |
list_posts | List posts with filters (platform, status, date range) |
create_posts | Create and schedule posts, batch up to 15 |
delete_post | Delete a post by ID |
upload_media | Upload a local file and get a media key (full flow) |
get_upload_urls | Get signed URLs for a manual upload flow |
list_pinterest_boards | List Pinterest boards for a connected account |
list_youtube_playlists | List YouTube playlists for a connected account |
list_gbp_locations | List Google Business Profile locations |
generate_connect_link | Generate a shareable link for external clients to connect their own accounts |
get_post_analytics | Impressions, reach, likes, comments, shares for published posts |
Example Messages That Work
Schedule a single post from your phone
Recurring scheduled task
Cross-post with platform-specific controls
Analytics pulled into chat
Platform-Specific Controls
The create_posts tool accepts a controls parameter, so your NanoClaw agent can tune every platform's nuances from a single chat message. Tell Andy “post this as a TikTok draft so I can edit the music later” and it passes tiktokIsDraft: true automatically.
| Platform | Controls |
|---|---|
| X (Twitter) | xCommunityId, xQuoteTweetUrl, xRetweetUrl |
| instagramPublishType (TIMELINE/STORY/REEL), instagramPostToGrid, instagramCollaborators | |
| facebookContentType (POST/REEL/STORY), facebookAllowComments, facebookPrivacy, facebookReelsCollaborators | |
| TikTok | tiktokPrivacy, tiktokIsDraft, tiktokAllowComments, tiktokAllowDuet, tiktokAllowStitch, tiktokBrandOrganic, tiktokBrandContent, tiktokAutoAddMusic, tiktokIsAigc |
| YouTube | youtubeTitle, youtubePrivacy, youtubeTags, youtubeCategoryId, youtubeIsShort, youtubeMadeForKids, youtubePlaylistId, youtubeThumbnailKey |
| pinterestBoardId (required), pinterestLink | |
| linkedinAttachmentKey, linkedinAttachmentTitle | |
| Google Business Profile | gbpLocationId (required), gbpTopicType, gbpCallToActionType, gbpCallToActionUrl, event + offer fields |
Supported Platforms
Why NanoClaw Specifically
NanoClaw is for people who want their AI to live in chat, not in their terminal. Claude Code is great if you already spend your day in a CLI. NanoClaw is better if you want to message your agent from your phone, let it run 24/7 on a small server, and keep credentials isolated per group. Agencies use it to run one NanoClaw group per client, each in its own Docker Sandbox with only that client's API keys mounted. Container isolation is not a buzzword here, it is the whole point.
CLI-first walkthrough: Claude Code integration. Protocol-neutral view: PostFast MCP Server. Compare all options on the API integrations hub. ClawHub-based alternative: OpenClaw. Related reading: Best OpenClaw skills for social media marketing, Build a posting automation with the PostFast API.
Example Workflows
Agency per-client isolation
One NanoClaw group per client, each in its own Docker Sandbox with only that client's PostFast API key mounted. Schedule from Slack by mentioning the group's agent. Client data never mixes, even though it all runs on one Node process.
Personal content OS
Message Andy on WhatsApp: "Every weekday at 8am, read my Obsidian vault's /ideas folder and draft 1 LinkedIn post from the most promising idea." Andy runs the scheduled task, queues the post via PostFast, messages you back when it is ready to review.
Team-chat scheduler
Drop Andy into your founding team's Slack. Anyone can say "@Andy schedule a post about our new pricing" and Andy drafts, asks for confirmation in the thread, then schedules it. The whole team edits in Slack, no dashboard needed.
Docker Sandboxes: MicroVM isolation by default
On March 13, 2026, NanoClaw partnered with Docker to ship inside Docker Sandboxes on macOS and Windows (Linux falls back to plain Docker containers; macOS can also use Apple Container). Agents run in MicroVM-based, disposable isolation zones. If one attempts a container escape via a zero-day, it still stays contained. Credentials route through OneCLI's Agent Vault, so raw API keys never enter the container in the first place. Combined with NanoClaw's minimal attack surface (one Node.js process, a handful of source files) and auditable codebase, the integrated stack is built to meet enterprise security scrutiny.
Frequently Asked Questions
What is NanoClaw?
NanoClaw is an open-source personal AI agent built on the Claude Agent SDK. It runs in containers for security and is designed to be messaged from chat apps like WhatsApp, Telegram, Slack, Discord, and Gmail. Created by Gavriel Cohen (NanoCo), 27,300+ GitHub stars as of April 2026.
What are Docker Sandboxes and how does NanoClaw use them?
On March 13, 2026, NanoClaw partnered with Docker to ship inside Docker Sandboxes, MicroVM-based disposable isolation zones. Even if an agent hits a zero-day container escape, it stays contained. Combined with NanoClaw's auditable codebase, this gives enterprise security teams the isolation story they need for running AI agents on production infrastructure.
Is PostFast safe to run inside NanoClaw?
Yes. NanoClaw sandboxes every group in its own Docker Sandbox (or Apple Container on macOS) with only the files you mount explicitly. NanoClaw also routes outbound credentials through OneCLI's Agent Vault, which injects API keys at request time and enforces per-agent rate limits and access policies, so the raw PostFast key never enters the container. If you manage several clients, each group has its own key and its own isolated history.
Do I need to know how to code to set this up?
No. NanoClaw's setup is guided by Claude Code. Clone the repo, run claude, run /setup, then ask Claude Code to add PostFast to a group and it will edit the config, restart the container, and message you when the agent can use the new tools.
What chat apps work with NanoClaw + PostFast?
WhatsApp, Telegram, Discord, Slack, and Gmail. Channels are added via NanoClaw skills like /add-whatsapp, /add-telegram, /add-slack, /add-discord, and /add-gmail (type them inside the claude CLI prompt in your NanoClaw fork). Once a channel is wired to a group, PostFast is available to that group's agent. Signal is on NanoClaw's Request for Skills list but not shipped yet.
How is this different from using Claude Code with PostFast?
Claude Code is an IDE workflow: you open it, you type, your agent acts in the same session. NanoClaw is a persistent service: it sits in chat, runs 24/7, and can schedule recurring tasks. The underlying MCP server is the same, so you can use both and switch based on whether you are at your desk or on your phone. See the Claude Code integration for the IDE-first setup.
Do I need a paid NanoClaw or PostFast plan?
NanoClaw is free and open-source (MIT). PostFast has a 7-day free trial, no credit card required, then plans start at 12 EUR per month. The MCP server is also MIT licensed.
Can I test this without publishing real posts?
Yes. Run POSTFAST_API_KEY=your-key npx @modelcontextprotocol/inspector npx postfast-mcp on the host (outside the NanoClaw container) to dry-run every tool in a browser UI before giving the agent live access.
Where's the source code?
NanoClaw: github.com/qwibitai/nanoclaw. PostFast MCP server: github.com/peturgeorgievv-factory/postfast-mcp. Both MIT licensed.
Run your social scheduler from chat
Free 7-day trial. No credit card. Your first connected account works in under a minute.