## 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
