# Social media automation for developers > Direct answers to specific developer questions: MCP, CLI & API automation for social media, & how to connect an AI agent safely. ## [CLI vs API vs MCP: which one should you use for social media automation?](https://www.dunsocial.com/hub/social-media-automation-for-developers/cli-vs-api-vs-mcp-which-one-should-you-use.md) How to choose between a CLI, a REST API, & an MCP server for automating social media posting, based on where the automation actually runs. ## [What is MCP & why does it matter for social media?](https://www.dunsocial.com/hub/social-media-automation-for-developers/what-is-mcp-and-why-does-it-matter-for-social-media.md) What the Model Context Protocol actually is, & why it matters for connecting an AI assistant to a social media account without a custom integration. ## [Can ChatGPT or Claude post directly to social media?](https://www.dunsocial.com/hub/social-media-automation-for-developers/can-chatgpt-or-claude-post-directly-to-social-media.md) Whether ChatGPT or Claude can post directly to social media accounts, what actually connects them, & what still needs a person to approve. ## [How to schedule social media posts from the command line](https://www.dunsocial.com/hub/social-media-automation-for-developers/how-to-schedule-social-media-posts-from-the-command-line.md) How CLI-based social media scheduling actually works: auth, the basic command shape, & where it fits alongside a web dashboard. ## [What can you automate with a social media API?](https://www.dunsocial.com/hub/social-media-automation-for-developers/what-can-you-automate-with-a-social-media-api.md) What a social media management API actually lets you automate: drafting, scheduling, media, & what stays a manual, human decision. ## [How to connect an AI agent to your social media accounts safely](https://www.dunsocial.com/hub/social-media-automation-for-developers/how-to-connect-an-ai-agent-to-your-social-media-accounts-safely.md) How to give an AI agent access to social media accounts without handing over unreviewed publishing power: scoped auth, review steps & audit trails. ## [What are webhooks for social media posting, & when do you need them?](https://www.dunsocial.com/hub/social-media-automation-for-developers/what-are-webhooks-for-social-media-posting.md) What a social media webhook actually notifies you about, the events worth subscribing to, & when polling the API is simpler instead. ## [What is a personal access token, & how does it secure API access?](https://www.dunsocial.com/hub/social-media-automation-for-developers/what-is-a-personal-access-token-and-how-does-it-secure-api-access.md) What a personal access token actually is, why it is safer than a shared password for automation, & how to handle one securely. ## [How to automate social media posting in a CI/CD pipeline](https://www.dunsocial.com/hub/social-media-automation-for-developers/how-to-automate-social-media-posting-in-a-ci-cd-pipeline.md) A practical pattern for posting a release announcement automatically from CI: authentication, what to post, & why review still matters. ## About this document This is the Markdown representation of https://www.dunsocial.com/hub/social-media-automation-for-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