Skip to main content
Gemini CLI is Google’s command-line AI assistant. You can connect it to TryPost’s MCP server to manage your social media scheduling with natural language.

Prerequisites

  • Gemini CLI installed
  • A TryPost API key

Setup

1

Open the settings file

Edit your Gemini CLI settings at ~/.gemini/settings.json:
{
  "mcpServers": {
    "trypost": {
      "httpUrl": "https://app.trypost.it/mcp/trypost",
      "headers": {
        "Authorization": "Bearer tp_your_api_key_here"
      }
    }
  }
}
Replace tp_your_api_key_here with your actual API key from the TryPost dashboard.
For project-level configuration, create .gemini/settings.json in your project root instead.
2

Restart Gemini CLI

Close and reopen Gemini CLI to load the new configuration.
3

Verify the connection

Ask Gemini to interact with your TryPost account:
List all my TryPost posts
Gemini CLI uses "httpUrl" for HTTP streaming servers (not "url"). The "url" field is used for SSE transport only.

Example prompts

Create a new hashtag group called "Growth Hacking"
What workspace am I connected to?
Show me all my labels