FoPost for Gemini CLI
Register the FoPost MCP server with gemini mcp add and the CLI can draft, schedule, and verify posts across your connected accounts. Every tool call is shown for approval before it runs.
gemini mcp add fopost -e FOPOST_API_KEY=your-api-key npx -y @fopost/mcpCLI or settings
Use gemini mcp add, or add mcpServers to settings.json.
Approval first
Gemini CLI asks before running a tool. The server never publishes on its own.
14 tools
Posts, deliveries, accounts, workspaces, and AI rewriting.
Registered in the shell, live in the next session
Create an API key in the FoPost dashboard and run the add command, or paste the JSON block into ~/.gemini/settings.json. Run /mcp inside Gemini CLI to confirm the server and its tools are listed.
Set up Gemini CLI{
"mcpServers": {
"fopost": {
"command": "npx",
"args": ["-y", "@fopost/mcp"],
"env": { "FOPOST_API_KEY": "your-api-key" }
}
}
}Scoped key
Limit the key to the scopes the CLI needs.
Workspace per key
One key reaches one workspace only.
Verify with /mcp
Confirm the server connected before relying on it.
Announce the release from the terminal that built it
Gemini CLI has the repo in context. Ask for a post per network and a time; it drafts with rewrite_for_platforms, schedules with schedule_post, and prints the post ids.
Try it on your next release
rewrite_for_platforms
Per-network lengths from one draft.
repurpose_url
A changelog page becomes a series of posts.
schedule_post
Named times or the next open slot.
Verify delivery from the same prompt
Ask whether the post landed. The CLI reads deliveries per network, flags accounts that need a reconnect, and reports remaining AI credits on request.
Get your API key> Did this morning's post go out everywhere?
Gemini: list_post_deliveries → 3 of 3 delivered.list_posts
Recent posts with status and filters.
get_account_health
Which tokens need a reconnect.
get_ai_credits
Balance before a long run.
Gemini CLI questions, answered
How do I install it?
Will it post without asking?
Does it need Node?
Does it use my AI credits?
Can it read analytics?
Can I use it for several clients?
Run FoPost from Gemini CLI
Starting is free and the MCP server is included. Create a key, add the server, and schedule your first post from your agent.
Get your API key