ShortsMCP
Enables publishing Reels to Instagram via the Meta Graph API or a browser session, including video validation, caption generation, and performance analytics.
Allows publishing short videos as Video Pins to Pinterest via the Pinterest API v5, including format normalization and analytics.
Allows sending short videos to Telegram through the Bot API, with support for large files, scheduling, and queued publishing.
Provides publishing of short videos to Threads via the Threads Video Publishing API, with platform-tailored metadata and analytics.
Enables publishing short videos to TikTok using the Content Posting API v2 or a browser session, with support for scheduling and engagement analytics.
Allows publishing vertical short videos to YouTube Shorts via the YouTube Data API v3, including metadata optimization, scheduling, and analytics.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ShortsMCPPublish this vertical video to YouTube Shorts and TikTok with optimized metadata."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ShortsMCP
Multi-platform Model Context Protocol (MCP) server for publishing short-form vertical videos across YouTube Shorts, TikTok, Instagram Reels, Telegram, VK Clips, Threads, X (Twitter), and Pinterest.
Features
Multi-Platform Publishing: Cross-post vertical videos (9:16) to 8 social networks in a single call.
Dual Publishing Engine: Supports official API / OAuth2 credentials and interactive browser sessions (Playwright).
Smart Metadata Engine: Adapts titles, descriptions, hashtags, and character limits per platform algorithm.
Video Preflight & Normalization: Validates aspect ratio, duration, and codecs with automated 9:16 vertical formatting via FFmpeg.
Analytics & Performance Metrics: Retrieve views, likes, comments, shares, and engagement rates for published videos or channels.
Encrypted Vault: OWASP-compliant AES encrypted credential storage with strict file permissions (0600).
Queue & Scheduling: Persistent SQLite task queue with anti-flood jitter delays.
Related MCP server: TikVid MCP Server
Supported Platforms
Platform | Integration | Video Constraints |
YouTube Shorts | YouTube Data API v3 (OAuth2) | 9:16 / 1:1, up to 3 min |
TikTok | Content Posting API v2 / Web Session | 9:16, up to 10 min |
Instagram Reels | Meta Graph API / Web Session | 9:16, up to 90 sec |
Telegram | Telegram Bot API (sendVideo) | 9:16 / Any, up to 2 GB |
VK Clips | VK Open API (shortVideos.create) | 9:16, up to 3 min |
Threads | Threads Video Publishing API | 9:16 / 1:1, up to 5 min |
X (Twitter) | X API v2 Chunked Media Upload | 9:16 / 16:9, up to 140 sec |
Pinterest API v5 (Video Pins) | 9:16 / 2:3, up to 15 min |
Prerequisites
Python 3.10 or higher
FFmpeg installed and accessible in system PATH
Installation
git clone git@github.com:ivanchik-byte/ShortsMCP.git
cd ShortsMCP
python3 -m venv .venv
source .venv/bin/activate
pip install -e .Copy the configuration template and set your platform credentials:
cp .env.example .envConnecting to AI Agents & IDEs
ShortsMCP communicates via the standard stdio transport. Follow the tutorial below for your AI assistant of choice.
1. Claude Desktop
Add ShortsMCP to your claude_desktop_config.json:
{
"mcpServers": {
"shortsmcp": {
"command": "/absolute/path/to/ShortsMCP/.venv/bin/python",
"args": [
"-m",
"shortsmcp.server"
],
"env": {
"PYTHONPATH": "/absolute/path/to/ShortsMCP/src"
}
}
}
}Config file location by OS:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Restart Claude Desktop. The hammer icon will appear showing ShortsMCP tools.
2. Cursor IDE
Option A: Project Configuration (Recommended)
Create .cursor/mcp.json in your project root:
{
"mcpServers": {
"shortsmcp": {
"command": "/absolute/path/to/ShortsMCP/.venv/bin/python",
"args": ["-m", "shortsmcp.server"],
"env": {
"PYTHONPATH": "/absolute/path/to/ShortsMCP/src"
}
}
}
}Option B: Global Settings
Open Cursor Settings -> Features -> MCP Servers.
Click "Add New MCP Server".
Set Name to
ShortsMCP, Type tocommand, and Command to:/absolute/path/to/ShortsMCP/.venv/bin/python -m shortsmcp.server
3. Windsurf / Cascade
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"shortsmcp": {
"command": "/absolute/path/to/ShortsMCP/.venv/bin/python",
"args": ["-m", "shortsmcp.server"],
"env": {
"PYTHONPATH": "/absolute/path/to/ShortsMCP/src"
}
}
}
}4. Custom Python AI Agents (LangChain, CrewAI, AutoGen, OpenAI SDK)
You can invoke ShortsMCP programmatically inside any agentic Python workflow using the official mcp client:
import asyncio
from mcp import ClientSession, StdioServerParameters
from mcp.client.stdio import stdio_client
async def run_agent():
server_params = StdioServerParameters(
command="/absolute/path/to/ShortsMCP/.venv/bin/python",
args=["-m", "shortsmcp.server"],
env={"PYTHONPATH": "/absolute/path/to/ShortsMCP/src"}
)
async with stdio_client(server_params) as (read, write):
async with ClientSession(read, write) as session:
await session.initialize()
# List available tools
tools = await session.list_tools()
print("Connected tools:", [t.name for t in tools.tools])
# Example: Request analytics across all channels
stats = await session.call_tool("get_platform_analytics", arguments={})
print("Channel Stats:", stats.content[0].text)
asyncio.run(run_agent())5. Example Prompts for Your AI Agent
Once connected, you can instruct your AI assistant with natural language:
"Check if my YouTube, TikTok, and Instagram accounts are connected and valid."
"Validate
/path/to/video.mp4and convert it to 9:16 vertical format if it's horizontal.""Generate optimized captions and viral hashtags for a short video about 5 Python tips."
"Publish
/path/to/short.mp4to YouTube Shorts, TikTok, and Telegram with title '5 Python Tips'.""Show me analytics (views, likes, comments) for my published videos on YouTube and Instagram."
"Schedule
/path/to/video.mp4to post tomorrow at 18:00 UTC on all platforms."
MCP Tools Reference
Tool | Parameters | Description |
|
| Cross-post a short video to one or all platforms. |
|
| Queue a video for future scheduled publishing. |
|
| Inspect media specs and optionally auto-convert to 9:16. |
|
| Generate platform-tailored titles, captions, and tags. |
| None | Check connection and authentication health for all platforms. |
|
| Run interactive browser or OAuth login for a platform. |
|
| View tasks in the SQLite publishing queue. |
|
| Fetch views, likes, comments, shares, and engagement rate for a short video. |
|
| Fetch overview channel/account stats (views, followers, videos) across platforms. |
CLI Commands
# Check platform credentials health
shortsmcp health
# Interactive login
shortsmcp login tiktok
# Validate video specs
shortsmcp validate /path/to/video.mp4 --normalize
# Fetch performance analytics
shortsmcp stats
shortsmcp stats --platform youtube --video-id <video_id>
# View publishing queue
shortsmcp queue
# Run MCP server manually
shortsmcp serveTesting
pytest tests/ -vContacts
Telegram Channel: https://t.me/ivanchik_byte
Telegram Direct: https://t.me/ivanchikbyte
License
MIT License. See LICENSE for details.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityAmaintenanceEnables AI assistants to schedule and publish social media posts to platforms like Instagram, TikTok, YouTube, LinkedIn, Facebook, X, Threads, and Pinterest using natural language.332783MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with a TikTok-style social video platform, including video upload, live streaming, social interactions, and direct messaging.3AGPL 3.0
- AlicenseNot gradedqualityDmaintenanceEnables publishing content to multiple social media platforms (YouTube, Twitter, Facebook, Instagram, TikTok, Reddit, Blog) through automation agents, with task management and system validation.4MIT
- AlicenseAqualityCmaintenanceEnables AI agents to edit video assemblies from A-roll and B-roll, add captions, and publish to social media platforms.2710MIT
Related MCP Connectors
Clip videos into captioned shorts, add captions, and schedule posts from AI agents.
Create, schedule and publish social posts to TikTok, Instagram, Facebook and YouTube.
Connect any AI agent to 11+ social platforms: schedule, publish & track posts via hosted MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ivanchik-byte/ShortsMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server