Manage & Post to Social Media from Gemini CLI
Equip Google Gemini with real-time social media publishing tools. Brainstorm multi-channel strategies and schedule posts with automated video formatting.
Configuration Snippet
Paste into your Gemini CLI configuration file
~/.gemini/mcp.json{
"mcpServers": {
"autoposter": {
"url": "https://agent.autoposter.ai/mcp",
"headers": {
"Authorization": "Bearer YOUR_AUTOPOSTER_API_KEY"
}
}
}
}How to Setup Gemini CLI
Generate an AutoPoster Workspace API Key
Open your Workspace Settings and click Create API Key. Copy the secret key (it begins with ap_live_...).
Edit Gemini CLI Configuration
Open ~/.gemini/mcp.json in your code editor and paste the MCP server configuration block shown above. Replace YOUR_AUTOPOSTER_API_KEY with your real key.
Restart & Prompt
Restart Gemini CLI. You will now see AutoPoster tools (autoposter_draft_post, autoposter_list_accounts, etc.) ready in your chat context.
Ready-to-Use Prompts for Gemini CLI
Copy and paste these prompts into your chat session to get started immediately:
"Analyze this product screenshot and draft tailored captions for Instagram and LinkedIn."
"Schedule video post with tags for Friday afternoon."
"List all connected social profiles."