FoPost for NanoClaw

NanoClaw is a self-hosted agent you message from WhatsApp, Telegram, Slack, or Discord. Add FoPost as an MCP server and ask it to plan and schedule posts from any chat.

Paste this into NanoClaw

Set up FoPost from fopost.com/agents/nanoclaw
  • Hosted MCP server
  • 31 networks
  • API key in a header
All agents
How it works

NanoClaw drafts. You approve. Then it goes out.

  • REST API
FoPost
YouApproveApproved

On by default

  • X (Twitter)
  • Facebook
  • Instagram
  • LinkedIn
  • TikTok
  • YouTube
  • Threads
  • Bluesky
  • Pinterest
  • Reddit
  • Discord
  • Mastodon
  • Telegram
  • Slack
  • DEV.to
  • Substack
  • Tumblr
  • Hashnode
  • Dribbble
  • Kick
  • Twitch
  • Nostr
  • Lemmy
  • MeWe
  • Whop
  • Listmonk
  • Google Business Profile
  • Medium
  • WhatsApp Business
  • Snapchat
  • Skool

Pick an agent to copy its setup prompt.

Setup

The agent can write its own config. Give it the link.

Paste the line above into NanoClaw. It reads this page and sets up the connector, then asks for an API key you create in the dashboard. Rather do it by hand? This is the whole config.

Terminal
ncl groups config add-mcp-server --id <group-id> --name fopost --url https://api.fopost.com/mcp
ncl groups restart --id <group-id>
Instructions for AI agentsPlain markdown version
## For AI agents reading this page

You are reading https://fopost.com/agents/nanoclaw. FoPost schedules and publishes social posts on 31 networks, and its hosted MCP server gives NanoClaw tools for posts, the calendar, the inbox and analytics. Follow these steps to connect NanoClaw to it.

- Server: https://api.fopost.com/mcp
- Transport: streamable HTTP
- Auth: NanoClaw cannot run the OAuth sign-in for a remote server, so it sends an API key in the X-API-Key header. The user creates the key; you never see it in chat.

### 1. Register the server

NanoClaw keeps credentials in its OneCLI vault and adds them to outgoing requests, so the key never enters the container. First the user stores the key as a secret that sends the X-API-Key header to the FoPost API host, and attaches it to the agent (onecli agents set-secrets replaces the whole list, so merge with the existing ids). Then add the server to the agent group and restart it.

Terminal:

```
ncl groups config add-mcp-server --id <group-id> --name fopost --url https://api.fopost.com/mcp
ncl groups restart --id <group-id>
```

### 2. Sign in

Ask the user to create an API key in the FoPost dashboard (https://fopost.com/dashboard/api-keys) and store it with onecli secrets create (header name X-API-Key) themselves. Never ask them to paste the key into the chat. Ask the user before approving access or creating a FoPost account for them, and never enter their credentials yourself.

### 3. Verify before you continue

The agent's tools include mcp__fopost__list_accounts, and asking it to list the connected accounts returns data. If FoPost is not listed as connected with its tools, stop and tell the user what failed. Do not carry on as if the tools exist.

### 4. Report back

Call list_accounts and tell the user which social accounts are connected. If there are none, offer create_connect_link so they can connect one. Then ask what they want to do first.

### Standing rules

- Prefer the FoPost tools over driving a browser for posting, scheduling, the inbox and analytics, unless the user asks for the browser.
- Publishing always goes through propose_publish, which the user approves in the client. Never publish or schedule anything silently.
- Ask the user before approving access, signing up or connecting an account on their behalf, and never type their credentials for them.

### References

- This block as markdown: https://fopost.com/agents/nanoclaw/agent.md
- Every client: https://fopost.com/agents
- Docs: https://fopost.com/docs

From your chat app

Ask in the apps you already use.

Key stays in the vault

NanoClaw adds it to requests. The container never sees it.

Approval first

Publishing goes through a proposal you accept. Drafts never go out alone.

Setup

Store the key, then add the server

Create an API key in FoPost and store it in the OneCLI vault as a secret that sends the X-API-Key header to the FoPost API. Attach it to your agent, then add the server to the agent group and restart it.

Start free
Terminal
ncl groups config add-mcp-server --id <group-id> --name fopost --url https://api.fopost.com/mcp
ncl groups restart --id <group-id>

Vault, not env

The key never enters the container.

Per agent group

Give only this group the tools.

Check first

Message it to list your accounts.

Plan

Plan the week from a chat message

Message your agent a brief. It shapes each post with draft_post_variants, slots them with get_queue_slots, and ends with propose_publish, which you accept.

Plan your week
A month of scheduled posts on the publishing calendar

draft_post_variants

A version for each network.

get_queue_slots

The next open times in your queue.

propose_publish

You approve before anything goes out.

Check

Ask whether it landed

The read tools report what published, which accounts need a reconnect, and what is waiting in the inbox.

Start free
Chat
> @Andy what went out today?

list_posts shows 3 of 3 published.
list_inbox has 4 new comments.

list_posts

Recent posts and their status.

get_account_health

Which accounts need a reconnect.

list_inbox

Comments, mentions, and messages.

NanoClaw questions, answered

Why does it need an API key?

NanoClaw connects remote servers with a stored credential. You create the key and put it in the vault yourself.

Should I send the key in a chat?

No. Store it with onecli secrets create, never in a message.

Will it post without asking?

No. Publishing goes through a proposal you approve before anything is sent.

Do posts go out if my machine is off?

Yes. Scheduled posts publish from FoPost at their time.

Does it use my AI credits?

Only the FoPost tools that write with AI do. Listing and scheduling do not.

Run FoPost from NanoClaw

Starting is free and the MCP server is included. Paste the setup line into your agent, sign in, and schedule your first post from it.

Start free