NanoClawNanoClaw agent

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

NanoClaw agent scheduling a LinkedIn post from a WhatsApp chat on a phone sitting beside a small home server

What You Can Do

Message your NanoClaw agent on WhatsApp, Telegram, Slack, Discord, or Gmail and have it schedule social posts
Schedule to 11 platforms (Facebook, Instagram, X, TikTok, LinkedIn, YouTube, BlueSky, Threads, Pinterest, Telegram, Google Business Profile)
Each NanoClaw group runs in its own Docker Sandbox, so client A's API keys never touch client B's workspace
Natural-language commands, no dashboards, no context switching
Use NanoClaw scheduled tasks to batch posts ("every Monday at 8am, read my product log and draft 3 LinkedIn posts")
Pull performance metrics ("which posts got the most engagement last week?") and get the reply in your chat
Bulk-schedule up to 15 posts from a single message or markdown file

Quick Setup

NanoClaw

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.

Add the PostFast MCP server to the @marketing group. Service: PostFast (social media scheduling) Command: npx -y postfast-mcp Transport: stdio Env: POSTFAST_API_KEY (I will set this before restart) Update src/index.ts mcpServers, then append a short usage note to groups/marketing/CLAUDE.md explaining PostFast can schedule posts across 11 social platforms. Reference the docs at https://postfa.st/api-integrations/nanoclaw.

Prefer to do it by hand? Three steps:

  1. Step 1. Get your PostFast API key. Log in to your PostFast dashboard, open the API section in the sidebar, and generate a key.
  2. Step 2. Register PostFast in src/index.ts. NanoClaw configures MCP servers in the mcpServers object 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.

  3. 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.

ToolDescription
list_accountsList connected social media accounts
list_postsList posts with filters (platform, status, date range)
create_postsCreate and schedule posts, batch up to 15
delete_postDelete a post by ID
upload_mediaUpload a local file and get a media key (full flow)
get_upload_urlsGet signed URLs for a manual upload flow
list_pinterest_boardsList Pinterest boards for a connected account
list_youtube_playlistsList YouTube playlists for a connected account
list_gbp_locationsList Google Business Profile locations
generate_connect_linkGenerate a shareable link for external clients to connect their own accounts
get_post_analyticsImpressions, reach, likes, comments, shares for published posts

Example Messages That Work

Schedule a single post from your phone

You (WhatsApp)
@Andy schedule a LinkedIn post for tomorrow 9am about 3 lessons from shipping our help center.
Andy
Drafting... Scheduled for Tue Apr 16 09:00 EEST on PostFast (LinkedIn / @postfast). Caption and 2 hashtag variants attached for review.

Recurring scheduled task

You
@Andy every Monday at 8am, read the team standup notes, pick the three most interesting updates, and schedule LinkedIn posts for Tue-Thu at 10am.
Andy
Scheduled task created. First run next Monday 08:00. I'll message you when each post is queued.

Cross-post with platform-specific controls

You
@Andy post the reel-final.mp4 I attached to Instagram Reels and TikTok tonight at 8pm. TikTok as draft so I can edit music.
Andy
Uploaded. Instagram Reel scheduled 20:00. TikTok created as draft (tiktokIsDraft=true) for editing in the app.

Analytics pulled into chat

You
@Andy which LinkedIn post got the most engagement last week?
Andy
"4 MCP gotchas": 2,340 impressions, 47 reactions, 8 comments. Next best: CI/CD thread, 1,890 / 31 / 5.

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.

PlatformControls
X (Twitter)xCommunityId, xQuoteTweetUrl, xRetweetUrl
InstagraminstagramPublishType (TIMELINE/STORY/REEL), instagramPostToGrid, instagramCollaborators
FacebookfacebookContentType (POST/REEL/STORY), facebookAllowComments, facebookPrivacy, facebookReelsCollaborators
TikToktiktokPrivacy, tiktokIsDraft, tiktokAllowComments, tiktokAllowDuet, tiktokAllowStitch, tiktokBrandOrganic, tiktokBrandContent, tiktokAutoAddMusic, tiktokIsAigc
YouTubeyoutubeTitle, youtubePrivacy, youtubeTags, youtubeCategoryId, youtubeIsShort, youtubeMadeForKids, youtubePlaylistId, youtubeThumbnailKey
PinterestpinterestBoardId (required), pinterestLink
LinkedInlinkedinAttachmentKey, linkedinAttachmentTitle
Google Business ProfilegbpLocationId (required), gbpTopicType, gbpCallToActionType, gbpCallToActionUrl, event + offer fields

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.