# DunSocial Developers: API, CLI, SDK and MCP for social media > Build social publishing workflows with the DunSocial REST API or TypeScript SDK, automate them from a terminal with the CLI, or let an AI assistant operate them through the hosted MCP server. All four 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 - OpenAPI: https://api.dunsocial.com/api/openapi.json ## TypeScript SDK For apps and backends written in TypeScript. Install `dunsocial-sdk`, pass a personal access token, then schedule, publish, upload media and verify webhooks. - Guides: https://www.dunsocial.com/docs/sdk - Package: https://www.npmjs.com/package/dunsocial-sdk ## 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 53 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 - Install the TypeScript SDK: https://www.dunsocial.com/docs/sdk/getting-started/install - 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