# DunSocial Developers: API, CLI and MCP for social media > Build social publishing workflows with the DunSocial REST API, automate them from a terminal with the CLI, or let an AI assistant operate them through the hosted MCP server. All three surfaces use the same DunSocial workspace, connected social accounts, content calendar, drafts, media and brand memory. ## REST API For products, backends and event-driven workflows. JSON endpoints cover posts, drafts, media, memory, accounts, workspaces and signed webhooks. - Overview: https://www.dunsocial.com/api (Markdown: https://www.dunsocial.com/api.md) - Reference: https://www.dunsocial.com/docs/api ## CLI For terminals, CI and local coding agents. Install with `npm install -g dunsocial`; every command supports JSON output and meaningful exit codes. - Overview: https://www.dunsocial.com/cli (Markdown: https://www.dunsocial.com/cli.md) - Guides: https://www.dunsocial.com/docs/cli ## MCP server For Claude, ChatGPT, Cursor and compatible assistants. The hosted server exposes 39 tools and connects through OAuth with workspace-scoped permissions. - Overview: https://www.dunsocial.com/mcp (Markdown: https://www.dunsocial.com/mcp.md) - Tool docs: https://www.dunsocial.com/docs/mcp ## Start here - API authentication: https://www.dunsocial.com/docs/api/getting-started/authentication - API errors and rate limits: https://www.dunsocial.com/docs/api/getting-started/errors-and-rate-limits - Schedule and publish: https://www.dunsocial.com/docs/api/posts/schedule-and-publish - Webhooks: https://www.dunsocial.com/docs/api/webhooks - Install the CLI: https://www.dunsocial.com/docs/cli/getting-started/install-and-sign-in - Connect an MCP assistant: https://www.dunsocial.com/docs/mcp/connect/connect-your-assistant ## About this document This is the Markdown representation of https://www.dunsocial.com/developers. The HTML version of the same page is at the same URL. You can also request Markdown from any page by sending `Accept: text/markdown`. Machine-readable summary of the whole site: https://www.dunsocial.com/llms.txt ## Company - Product: DunSocial, https://www.dunsocial.com - Legal entity: THISUX PRIVATE LIMITED, Chennai, Tamil Nadu, India - Support: support@dunsocial.com - Open the app: https://app.dunsocial.com/login