developer guide
How Developers Automate Social Content with Claude Code CLI and MCP Tools
Aman Paudel August 15, 20268 min read
ESER AI · field notes
Learn how developers use Claude Code CLI in terminal sessions to autonomously draft, format, and schedule social media campaigns via MCP.
## Terminal-Driven Social Content Pipelines
With Anthropic's Claude Code CLI and Model Context Protocol (MCP), developers can orchestrate entire social media publishing pipelines without ever leaving the terminal.
```bash
# Add ESER AI MCP server to Claude Code
claude mcp add --transport http ESER https://app.eserai.tech/mcp
# Pass your API key
export ESER_API_KEY="your_api_token_here"
```
### Example Workflow
1. Point Claude Code to a newly merged GitHub feature branch.
2. Ask Claude Code to summarize the changelog and draft an announcement thread for X and LinkedIn.
3. Call `eser_create_post` via MCP to queue the post directly into your staging calendar for human review.
Automate your social strategy with ESER AI
Ingest content sources and generate multi-platform posts automatically.