Post to Threads with Gemini CLI

Connect Gemini CLI to dopost to post to your Threads account and manage your calendar.

Connect Gemini CLI to dopost

Set up the connection

Recommended

Add the hosted server and authenticate with /mcp auth

Sign in to dopost to connect your accounts. No API key is needed.

.gemini/settings.json
{
  "mcpServers": {
    "dopost": { "httpUrl": "https://mcp.dopost.co/mcp" }
  }
}
  1. 1Add dopost under mcpServers in .gemini/settings.json.
  2. 2Start Gemini CLI and run /mcp auth dopost to sign in.
  3. 3Ask Gemini to list your connected accounts.
Full Gemini CLI guide

Requirements for posting to Threads

  • A Threads account connected in dopost
  • Up to 500 characters per post.
  • Up to 10 images or videos per post. Several files become a carousel.
  • Each post in a thread is checked against the limit.
dopost Threads scheduler

Threads formats

Check the formats and media supported by this connection.

FormatMedia per postMedia requiredWith Gemini CLI
Post or thread10No

What you can ask Gemini CLI

Schedule a post

Schedule this post on Threads for tomorrow at 10am.

Check the calendar

What posts do I have scheduled on Threads for next week?

Reschedule posts

Move Friday’s Threads posts to Monday, keeping the same times.

Threads performance

Check the available metrics for your posts.

Compare the performance of my Threads posts this month.

Threads with other agents

Gemini CLI and Threads questions

Can Gemini CLI post to Threads?

Yes. Connect your Threads account in dopost and follow the Gemini CLI setup guide.

Can Gemini CLI post a thread on Threads?

Yes. Gemini CLI sends the first post with up to 20 follow-ups, and dopost publishes them in order.

Do I need a Meta developer app or API key?

No. You connect Threads once in dopost and Gemini CLI uses that connection. There is no developer account, review or token to manage.

Can I check my Threads results?

Yes. You can check the available metrics for your Threads accounts and posts.

Can I review content before scheduling?

You can ask the agent to show you the content before scheduling it.

Start posting to Threads with Gemini CLI

Create your dopost account and connect your social accounts.

See plans and pricing