100 free credits. No credit card required. Get a key

Connect Groundsocial to Gemini CLI

Type
CLI
Sign-in
OAuth via /mcp auth, or a header
Config
~/.gemini/settings.json or .gemini/settings.json
Checked

Groundsocial’s hosted MCP server is https://api.groundsocial.dev/mcp (Streamable HTTP). It signs in with OAuth or takes your API key as a Bearer token. Get a key if you want one: it starts with gs_live_ and comes with free credits.

Set it up in Gemini CLI

Run (we ran this with Gemini CLI 0.71.1; --scope user writes ~/.gemini/settings.json, the default project writes .gemini/settings.json):

bash
gemini mcp add --transport http --scope user groundsocial "https://api.groundsocial.dev/mcp?platforms=reddit,youtube,hackernews"

Then in a session run /mcp auth groundsocial to sign in, and /mcp to see the connection and its tools. The OAuth flow needs a local browser, so it won’t work over plain SSH.

Add your API key

Or edit settings.json. String values expand $VAR and ${VAR}, so the key can stay in your environment:

json
{
  "mcpServers": {
    "groundsocial": {
      "type": "http",
      "url": "https://api.groundsocial.dev/mcp?platforms=reddit,youtube,hackernews",
      "headers": {
        "Authorization": "Bearer ${GROUNDSOCIAL_API_KEY}"
      },
      "timeout": 60000,
      "includeTools": [
        "reddit_search_posts",
        "reddit_post_get",
        "estimate_cost"
      ]
    }
  }
}

The CLI writes url with "type": "http"; Google’s reference also documents httpUrl for the same thing. Plain url with no type means SSE.

Load fewer tools

The full server lists 593 tools, one per endpoint. Gemini CLI loads every tool’s schema up front, so connect only the platforms you use: add ?platforms= with ids from the platform list, comma-separated.

text
https://api.groundsocial.dev/mcp?platforms=reddit,youtube,hackernews

That URL lists 67 tools: Reddit, YouTube and Hacker News plus the free helpers (list_endpoints, estimate_cost, account_balance, agent_signup). OAuth sign-in and keys work the same with or without the filter.

includeTools is an allowlist and excludeTools a blocklist (it wins when both name a tool). Leave both out to load everything the URL lists.

First prompt to try

  • “Before you start, use estimate_cost and tell me what this will cost.”
  • “Search Reddit, Hacker News and YouTube for what developers say about Bun in 2026, and give me the three strongest arguments for and against.”
  • “Get the 25 newest posts on r/startups and table them: title, score, comments, one-line summary.”

Troubleshooting

Policies don’t match my server

Don’t use underscores in the server name. groundsocial is fine.

No tools discovered

Run /mcp to see the state, and check type is http (or use httpUrl).

Which Gemini plan?

Google’s docs note that unpaid-tier and Google One users moved from Gemini CLI to Antigravity CLI on 18 June 2026. MCP setup is the same idea there.

Check what the server lists without a key: curl -s https://api.groundsocial.dev/mcp -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'. Every error says what to do next; codes are in Errors.

Sources

Checked 27 Nov 2026. Follow the links for the latest.

Reddit, X and every other platform named here are trademarks of their owners. We are not affiliated with or endorsed by any of them.