Post to Mastodon with Gemini CLI

Connect Gemini CLI to dopost to post to your Mastodon 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 Mastodon

  • A Mastodon account on any instance
  • Up to 500 characters per post on most instances.
  • Up to 4 files per post.
  • Works with the instance where your account lives.
dopost Mastodon scheduler

Mastodon formats

Check the formats and media supported by this connection.

FormatMedia per postMedia requiredWith Gemini CLI
Post or thread4No

What you can ask Gemini CLI

Schedule a post

Schedule this post on Mastodon for tomorrow at 10am.

Check the calendar

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

Reschedule posts

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

Mastodon performance

Check the available metrics for your posts.

Compare the performance of my Mastodon posts this month.

Mastodon with other agents

Gemini CLI and Mastodon questions

Can Gemini CLI post to Mastodon?

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

Does Gemini CLI work with my Mastodon instance?

Yes. dopost connects to the instance where your account lives, and Gemini CLI posts through that connection.

Can Gemini CLI post a Mastodon thread?

Yes. Gemini CLI sends the first post with up to 20 follow-ups, and each one replies to the previous post.

Can I check my Mastodon results?

Yes. You can check the available metrics for your Mastodon 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 Mastodon with Gemini CLI

Create your dopost account and connect your social accounts.

See plans and pricing