Home/AI Agents/Gemini CLI
AutoPoster AI
Google AI

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

File location:~/.gemini/mcp.json
{
  "mcpServers": {
    "autoposter": {
      "url": "https://agent.autoposter.ai/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_AUTOPOSTER_API_KEY"
      }
    }
  }
}

How to Setup Gemini CLI

1

Generate an AutoPoster Workspace API Key

Open your Workspace Settings and click Create API Key. Copy the secret key (it begins with ap_live_...).

2

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.

3

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

Capabilities with Gemini CLI

✓
Multimodal analysis integration
✓
Automated hashtag generation
✓
Universal scheduling API
✓
Multi-account management

Explore Other Supported Assistants