Autopilots MCP Server
Connect Claude AI to Autopilots by Dania.ai — publish, schedule, and manage your social media with AI.
MCP (Model Context Protocol) server that exposes 155+ social media automation tools to Claude. Manage Instagram, Facebook, LinkedIn, TikTok, and YouTube directly from a conversation.
Features
- Publish & Schedule — Create posts across all platforms instantly or schedule for later
- Analytics — View engagement metrics, best posting times, and performance insights
- Campaigns — Create multi-post, multi-platform campaigns
- AI Media — Generate images and videos with AI for your posts
- DMs & Comments — Read and reply to direct messages and comments
- Autopilot Agents — Manage your AI agents that auto-publish content
Quick Start
1. Get your API Key
- Go to autopilots.dania.ai/settings
- Click the API tab
- Click Create API Key
- Copy the key (starts with
dania_...)
2. Configure Claude
Add the MCP server in your Claude settings (~/.claude/settings.json or project .mcp.json):
{
"mcpServers": {
"autopilots": {
"type": "http",
"url": "https://mcp.dania.ai/autopilots",
"headers": {
"X-API-Key": "dania_your_key_here"
}
}
}
}
3. Start using it
Tell Claude things like:
- "Publish on Instagram and LinkedIn: 'New article about AI in marketing...'"
- "Schedule a post for Friday at 10am on LinkedIn"
- "Show me analytics for the last 30 days"
- "Generate an image for my marketing automation post"
- "Create a launch campaign for next month"
Available Tools
Core Tools (20)
| Tool | Description |
|---|---|
create_post | Publish a post immediately |
schedule_post | Schedule for a future date |
list_posts | View published/scheduled posts |
get_post_analytics | Engagement metrics per post |
get_account_analytics | Global account analytics |
get_best_posting_times | Optimal posting times |
suggest_hashtags | AI hashtag suggestions |
create_campaign | Multi-channel campaigns |
list_campaigns | View campaigns |
generate_image | AI image generation |
generate_video | AI video generation |
list_dms | View direct messages |
send_dm | Send a direct message |
list_comments | View comments |
reply_comment | Reply to a comment |
list_autopilot_agents | View AI agents |
toggle_autopilot_agent | Enable/disable agents |
list_brands | View brands/accounts |
list_connected_platforms | View connected networks |
get_media_gallery | Browse media assets |
Extended Access
Use list_tools to discover all 155+ available tools and call_tool to invoke any of them.
Self-Hosting
If you want to run your own instance of the MCP server:
# Clone the repo
git clone https://github.com/carlosdania/autopilots-mcp.git
cd autopilots-mcp/server
# Install dependencies
npm install
# Start the server
PORT=3000 npm start
Environment Variables
| Variable | Required | Description |
|---|---|---|
PORT | No | Server port (default: 3000) |
SERVER_SECRET | No | Secret for request validation |
Deploy
The server runs on any Node.js 18+ host. See scripts/ for deployment helpers:
- Replit —
scripts/deploy-replit.sh - Railway —
scripts/deploy-railway.sh - Docker —
Dockerfileincluded
Project Structure
autopilots-mcp/
├── server/ # Node.js MCP server (Express + MCP SDK)
├── plugin/ # Claude plugin config, commands & skills
├── sdk/python/ # Python CLI client & auth utilities
├── examples/ # Usage examples
├── scripts/ # Deployment scripts
├── docs/ # Documentation
└── .github/ # CI/CD workflows
Python SDK
A standalone Python CLI client is included in sdk/python/:
# Publish a post
python3 sdk/python/autopilots.py publicar --plataforma instagram --texto "Hello world!"
# View analytics
python3 sdk/python/autopilots.py analytics --dias 30
# List brands
python3 sdk/python/autopilots.py marcas
See sdk/python/auth.py for API key management (supports macOS Keychain, env vars, and .env files).
Credits System
| Action | Credits |
|---|---|
| Publish a post | 1-5 |
| Generate image | 50 |
| Generate video | 200-1000 |
Check your balance anytime by asking Claude: "How many credits do I have?"
Support
- Web: autopilots.dania.ai
- Email: soporte@dania.ai
- Issues: github.com/carlosdania/autopilots-mcp/issues
License
MIT — Built by Dania.ai