Skip to content
DunSocial Docs

What is the CLI

Post and schedule from your terminal, local agents, or CI.

The DunSocial CLI lets you post and schedule from a terminal. Install the dunsocial package from npm, then use the dun command on your machine, in a coding agent, or in CI.

What it is

  • A small command-line tool that talks to your DunSocial workspace.
  • Works on your laptop, with local AI coding agents, and in GitHub Actions or other CI.
  • Uses the same workspaces, accounts, and posts you see in the app.

CLI vs MCP

DunSocial has two ways for tools to act for you:

TopicCLIMCP
Best forTerminal, local agents, and CIChatGPT, Claude in the browser, and Cursor
How you use itCommands like dun posts scheduleChat with your assistant
AuthSign in once, or a personal access tokenOAuth in your assistant (paste the MCP URL)

Same workspace either way. Prefer MCP when you are chatting in a remote assistant. Prefer the CLI when you want scripts, CI, or a local terminal.

Why use it

  • Schedule or publish a post without opening the dashboard.
  • Announce a release from CI when you ship.
  • Let a local coding agent draft and schedule for you.

How to get started

  1. Install and sign in
  2. Choose a workspace and account
  3. Schedule or publish a post

For automation, see CI and tokens.