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 Codex CLI
Run (we ran this with Codex CLI 0.172.0, and codex mcp list then showed it enabled with “Bearer token” auth):
codex mcp add groundsocial --url "https://api.groundsocial.dev/mcp?platforms=reddit,youtube,hackernews" \
--bearer-token-env-var GROUNDSOCIAL_API_KEYThat writes this to ~/.codex/config.toml, which you can also edit by hand:
[mcp_servers.groundsocial]
url = "https://api.groundsocial.dev/mcp?platforms=reddit,youtube,hackernews"
bearer_token_env_var = "GROUNDSOCIAL_API_KEY"
tool_timeout_sec = 120
# enabled_tools = ["reddit_search_posts", "reddit_post_get", "estimate_cost"]In the Codex TUI, /mcp lists the active servers.
Add your API key
bearer_token_env_var reads GROUNDSOCIAL_API_KEY when Codex starts, so the key never sits in the file. To sign in instead, add the server without that flag and run codex mcp login groundsocial (--no-browser prints a URL for remote machines).
Load fewer tools
The full server lists 593 tools, one per endpoint. Codex 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.
https://api.groundsocial.dev/mcp?platforms=reddit,youtube,hackernewsThat 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.
enabled_tools is an allowlist and disabled_tools a denylist applied after it.
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
Tool calls time out
The default tool_timeout_sec is 60. Set 120 for transcript and multi-platform search calls.
Startup times out
startup_timeout_sec defaults to 10. The full tool list takes about a second to load; filter by platform if your network is slow.
401 Unauthorized
GROUNDSOCIAL_API_KEY is not set in the shell that started Codex.
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.