Post to LinkedIn with Gemini CLI

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

  • A LinkedIn profile, or admin access to a company page
  • Up to 3,000 characters per post.
  • Up to 9 images per post.
  • The account you pick decides whether it posts as you or as the page.
dopost LinkedIn scheduler

LinkedIn formats

Check the formats and media supported by this connection.

FormatMedia per postMedia requiredWith Gemini CLI
Post with text, images or video9No

What you can ask Gemini CLI

Schedule a post

Schedule this post on LinkedIn for tomorrow at 10am.

Check the calendar

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

Reschedule posts

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

LinkedIn performance

Check the available metrics for your posts.

Compare the performance of my LinkedIn posts this month.

LinkedIn with other agents

Gemini CLI and LinkedIn questions

Can Gemini CLI post to LinkedIn?

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

Can Gemini CLI post to a LinkedIn company page?

Yes, if you are an admin of the page. Connect it in dopost and Gemini CLI lists it next to your profile.

Do I need a LinkedIn developer app or API key?

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

Can I check my LinkedIn results?

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

Create your dopost account and connect your social accounts.

See plans and pricing