Connect ReelsFarm to Your AI Agent Workflow — The Full Setup Guide
· MCP & AI Agents · 6 min read
ReelsFarm connects to AI agents through two paths. An MCP server for Claude Code, Cursor, Codex, and any MCP-compatible client. A CLI and TypeScript SDK for terminal-native workflows and custom integrations. Here is how to set up both and start generating content from your agent.
ReelsFarm gives your AI agent two integration paths.
MCP server for protocol-based tool discovery. CLI and SDK for programmatic control.
Here is how to set up both.
Choose Your Path
Use the MCP server if you use Claude Code, Cursor, Codex, or any MCP-compatible AI coding agent. The agent discovers tools automatically. You get 45+ tools for generation, scheduling, publishing, and account management.
Use the CLI and SDK if you are building a custom agent, automating from CI/CD, or prefer terminal commands. The CLI is `reelsfarm`. The SDK is `@reelsfarm/mcp-client`. Both are open source under MIT.
You can use both. The MCP server for agent conversations. The CLI for scripts and automation.
MCP Server Setup
Create an account at reelsfarm.com with a paid plan. MCP server access and Agent SDK are included on all plans.
Go to account settings. Open the MCP tab. Create an API key. Copy it immediately.
Add the ReelsFarm MCP server to your MCP client config file with your API key. The server runs over HTTP. No local process to manage.
Restart your AI coding agent. It discovers ReelsFarm tools through the MCP protocol on startup.
Verify by asking your agent to list your connected social accounts.
CLI Setup
Install the CLI globally or as a project dependency.
```bash npm install -g @reelsfarm/mcp-client ```
Authenticate with your API key.
```bash reelsfarm login --api-key rfmcp_xxx ```
Verify the connection.
```bash reelsfarm whoami ```
The CLI and SDK are open source. The generation infrastructure behind them is paid.
Your First Content
From an MCP-connected agent, ask it to create content.
Describe what you want. The agent uses ReelsFarm tools to generate drafts. You review each draft. You approve. Content publishes or schedules. Every destructive action waits for confirmation.
From the CLI, use commands directly.
```bash reelsfarm avatars generate --prompt "creator selfie style" reelsfarm slideshows prepare --product "Summer Serum" --format tiktok --slides 6 reelsfarm posts list --json ```
Same capability. Different interface.
What Happens Next
Your agent becomes a content creator. It generates UGC, creates slideshows, manages AI characters, and publishes to TikTok, Instagram, YouTube, and Facebook.
You stay in the review layer. The agent executes. You approve. Content goes live.
No dashboard. No compose box. No context switching. Social media content creation from the same environment you write code in.
Related tools
If you want to turn this topic into something usable right now, start with these tools.
Content Angle Generator
Generate content angles you can turn into hooks, captions, slideshows, or scripts.
Instagram Caption Generator
Create Instagram caption drafts for stories, lessons, launch posts, and offers.
CTA Generator
Create call-to-action lines for captions, carousels, videos, and offer-led posts.
Related reading
- How to Connect Claude Code to ReelsFarm MCP
Connect Claude Code to ReelsFarm MCP in a few steps. Generate UGC, create slideshows, schedule posts, and publish to social media from your terminal.
- What Is an MCP Server? A Complete Guide for Developers
MCP servers give AI agents standardized access to tools and APIs. Here is what they are, how they work, and why they matter.
- What Is a Social Media CLI? A Developer's Guide
A social media CLI turns posting and content creation into terminal commands. Here is what they are, how they work, and why AI agents use them.
- How to Add ReelsFarm as a Claude Code Skill
Claude Code skills make MCP servers easy to add. ReelsFarm as a skill means one command to start generating UGC and publishing to social media.
- How to Connect Codex CLI to ReelsFarm MCP
Codex CLI works with MCP servers like ReelsFarm. Generate UGC content and publish to social media from Codex in a few steps.
- ReelsFarm MCP + OpenAI Agents SDK Integration Guide
The OpenAI Agents SDK supports MCP servers. Connect ReelsFarm to give OpenAI agents UGC generation and social media publishing capabilities.
- Social Media CLI for AI Agent Builders — Infrastructure for Content Automation
If you are building an AI agent, ReelsFarm CLI gives you content generation and publishing as infrastructure. Typed SDK, open source, MIT license.
Related comparisons
- Best AI UGC Video Tools for Short-Form Content
A buying guide to AI UGC video tools, with ReelsFarm positioned for complete short-form content workflows.
- Best TikTok Automation Tools for Content Teams
A guide to TikTok automation tools for teams that need content creation, scheduling, publishing, and creative control.
- Best AI Slideshow Makers for TikTok
A guide to AI slideshow makers for TikTok, with ReelsFarm positioned for repeatable slideshow automation.
Turn one idea into a week of content.
Create, schedule, and publish AI-powered posts from one workflow built for consistent social growth.
Start for free