PostDovo · AI Agent Integration

How to Schedule Social Media Posts with ChatGPT CLI

Connect ChatGPT CLI to PostDovo and create, schedule, and publish social posts from your terminal.

The command you run is codex. Add PostDovo as a remote MCP server, sign in through your browser, and use simple prompts to manage your social content. No PostDovo access token is needed for browser sign-in.

Starter is $0/month and includes AI agents and full automation; Analytics is excluded.

3 Main StepsAdd, authorize, and check the connection.
Browser Sign-inNo manual token needed for OAuth.
Shared ConfigurationReuse the local setup across supported surfaces.

Quick Setup

Already have ChatGPT CLI installed? Run these commands in your terminal:

Add, sign in, and list servers
codex mcp add postdovo --url https://app.postdovo.com/mcp
codex mcp login postdovo
codex mcp list

Approve access in your browser, start a new codex session, and enter /mcp to check the tools.

Before You Connect

Have ChatGPT CLI installed and signed in, plus a PostDovo account with the social accounts you want to use already connected. Check that the CLI is available:

Check your CLI
codex --version

Your ChatGPT CLI login provides access to the agent. The PostDovo authorization below is a separate connection to your social publishing workspace.

ChatGPT CLI stores user-level MCP settings in ~/.codex/config.toml. This configuration is shared with the IDE extension and local servers managed under Settings → MCP servers in ChatGPT Desktop when they use the same configuration and user environment. A server added here can therefore appear there too. A separate computer, OS user, or WSL environment may use a different file.

For the desktop plugin interface, see the ChatGPT Desktop guide.

How to Connect ChatGPT CLI to PostDovo

01

Add PostDovo to ChatGPT CLI

Run this command in your terminal:

Add the PostDovo MCP server
codex mcp add postdovo --url https://app.postdovo.com/mcp

This saves PostDovo as a remote Streamable HTTP MCP server. If the CLI rejects an option, check your installed version’s help:

Check available options
codex mcp add --help

Already have a PostDovo entry in the shared configuration? Check it with codex mcp list before adding another definition.

02

Sign In to PostDovo and Approve

Start browser authorization:

Sign in to PostDovo
codex mcp login postdovo

Your browser opens PostDovo. Sign in if asked, review the requested permissions, and choose Approve. Return to the terminal and wait for sign-in to complete.

Using a remote terminal or a browser on another computer? Current CLI versions can complete browser authorization without a reachable local callback. Run the command below, open the printed authorization link in your browser, sign in to PostDovo, and choose Approve.

Remote or headless browser authorization
codex mcp login postdovo --no-browser

After approval, copy the full redirect URL from your browser’s address bar and paste it into the terminal when prompted. Paste it even if the callback page cannot load. This method still uses OAuth; a manually created PostDovo token is not required.

If your CLI does not recognize --no-browser, run codex mcp login --help and update to a version that supports it, or use the access-token alternative below.

03

Check the Connection and Available Tools

List your configured servers:

Check configured servers
codex mcp list

Confirm that PostDovo appears, then start a new CLI session:

Start ChatGPT CLI
codex

Inside the session, type:

Inside ChatGPT CLI
/mcp

Look for PostDovo and its tools, then ask:

First connection check
Which social accounts do I have connected in PostDovo?

Confirm that the accounts match your intended workspace. A listed server confirms configuration; a successful account response confirms that the authenticated connection is working.

Optional: Use a PostDovo Access Token

Browser sign-in is the main setup method. If you prefer a token, create one in PostDovo and replace the existing PostDovo server entry in ~/.codex/config.toml with this TOML configuration:

Go to Access Tokens
config.toml · Token alternative
[mcp_servers.postdovo]
url = "https://app.postdovo.com/mcp"
bearer_token_env_var = "POSTDOVO_TOKEN"

The file stores only the variable name. Set the actual token in the terminal from which you launch the CLI:

macOS / Linux
export POSTDOVO_TOKEN="YOUR_POSTDOVO_TOKEN"
Windows · PowerShell
$env:POSTDOVO_TOKEN = "YOUR_POSTDOVO_TOKEN"

Replace the placeholder with your token, then start a new codex session from that terminal. These commands set the variable for the current shell session. Do not paste the token into your article, shared configuration, or chat.

Keep other servers and settings unchanged. Use one [mcp_servers.postdovo] table; do not append a duplicate.

Watch the ChatGPT CLI Setup Tutorial

ChatGPT CLI + PostDovo Video Tutorial

A Simple ChatGPT CLI Prompt to Try

After connecting, copy this request:

Example · Promote Zizta
Using PostDovo, create one post each for Facebook, Instagram, and LinkedIn promoting Zizta at https://app.zizta.com. Save as drafts.

ChatGPT CLI can prepare three platform-specific drafts for Zizta. Review them before publishing. For a schedule, include the exact dates, times, timezone, and target accounts.

What Can You Automate with ChatGPT CLI?

  • Create content: write captions and adapt posts for each platform.
  • Plan campaigns: prepare a series of posts across multiple days.
  • Manage drafts: create, review, and update content before publishing.
  • Schedule and publish: send approved posts to connected accounts at the times you choose.
  • Work with media: schedule and publish posts with images or videos, including media created through your agent workflow.

PostDovo requires a preview and your approval for immediate publishing. Approved scheduled posts can publish automatically at their scheduled times.

Supported Social Media Platforms

PostDovo provides 19 connection options. Available formats and account requirements vary by platform.

Platform or connectionSupported
Facebook✓
Instagram (Facebook Business)✓
Instagram (Standalone)✓
LinkedIn✓
LinkedIn Company Page✓
X (Twitter)✓
TikTok✓
Pinterest✓
YouTube✓
Threads✓
Bluesky✓
Dribbble✓
LINE✓
Nostr✓
Lemmy✓
Tumblr✓
Telegram✓
Discord✓
Mastodon✓

Posting on X requires credits. Connect your social accounts in PostDovo before asking the CLI to use them.

Is ChatGPT CLI Social Media Automation Free?

$0/ month — PostDovo Starter

Starter includes AI-agent connections and full automation for creating content, planning campaigns, saving drafts, scheduling, and publishing. Analytics is excluded.

The plan includes up to five connected social accounts and unlimited Single Post scheduling and publishing. PostDovo AI generation uses credits; agent connectivity itself does not require a paid PostDovo plan. ChatGPT CLI access or model usage may have separate requirements and charges.

There is no announced end date for the $0 Starter price.

Prefer to type the commands yourself? The PostDovo CLI works without an agent.

Troubleshooting the Connection

The CLI rejects –url or another option

Run codex mcp add –help and use the options supported by your installed CLI version.

PostDovo is listed but has no tools

Restart the CLI and run codex mcp login postdovo again if authorization is needed. In the new session, use /mcp to inspect the connection.

Browser approval does not complete

For a remote terminal or a browser on another computer, run codex mcp login postdovo --no-browser. Open the printed link, approve access, then paste the full redirect URL back into the terminal—even if the browser cannot load the callback page. If the option is unavailable, check your CLI version and login help.

The token connection is not authorized

Check that POSTDOVO_TOKEN is set in the same shell that starts codex, that the token is valid, and that the TOML entry names the variable correctly.

No connected accounts are returned

Check the authorized PostDovo workspace and connect your social profiles inside PostDovo first.

Frequently Asked Questions

Do I need a PostDovo access token?

No. Browser OAuth works without manually creating a token. Token authentication is an optional alternative.

Is the command chatgpt or codex?

The terminal command used in this guide is codex, even though the article refers to the product as ChatGPT CLI.

Does this configuration work with the IDE extension and Desktop?

The CLI and IDE extension share local MCP configuration. ChatGPT Desktop’s Settings → MCP servers can use that shared setup in the same local environment. Separate machines or user environments may need their own configuration.

Can I use AI agents on the free Starter plan?

Starter is $0/month and includes AI agents and full automation; Analytics is excluded.

How do I disconnect PostDovo?

You can revoke the connection on PostDovo’s AI Agents page. To clear CLI OAuth credentials, use the logout command below. For token authentication, revoke the token in PostDovo and remove it from your environment.

Clear CLI OAuth credentials
codex mcp logout postdovo

Prepare Your First Social Post from the Terminal

Add PostDovo, approve the browser connection, and check your social accounts. Then ask ChatGPT CLI for a draft or a publishing schedule.

Reference: Official OpenAI MCP documentation.