video-studio-mcp
Allows downloading Xiaohongshu videos and images via share links.
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., "@video-studio-mcpgenerate a 15-second AI video of a futuristic city"
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.
Video Studio MCP Server
Video Studio MCP lets AI agents call the cloud AI creation service and local content download tools.
Features
AI video generation with models such as Sora, Grok, and Veo.
AI image generation and editing.
Video content analysis.
Copywriting/chat helper.
Douyin/Xiaohongshu download helpers.
Balance and generation status checks.
Billing receipts after billed calls: generation tools read the cloud balance endpoint and report the current balance and settlement/refund state.
Related MCP server: douyin-mcp-server
Quick Start
Install dependencies:
pip install -r requirements.txtAdd the server to your MCP config:
{
"mcpServers": {
"video-studio": {
"command": "python",
"args": ["/path/to/mcp-server/server.py"]
}
}
}Then ask your agent to log in:
Login to video-studio with username xxx and password xxx.Tools
Tool | Purpose | Costs credits | Billing receipt |
| Log in to the cloud service | No | No |
| Show login and balance status | No | No |
| List available models and supported params | No | No |
| Check remaining credits | No | No |
| Create an AI video | Yes (pre-charge) | Yes; pending settlement |
| Poll video generation progress | No | On terminal settlement/refund |
| Get video download URL | No | No |
| Generate an AI image, with up to 9 reference images | Yes | Yes |
| Edit a local image | Yes | Yes |
| Analyze video content | Yes (dispatch ticket) | Yes |
| Chat/copywriting helper | Yes | Yes |
| Download Douyin/Xiaohongshu content locally | No | No |
Every billed tool uses the cloud billing system; MCP never deducts credits locally. For proxy calls, the cloud creates a recoverable reservation, settles it on clear success, and refunds clear terminal failures. For videos, creation is initially a pre-charge and video_status reports the final outcome.
Billing interfaces
The cloud endpoints used by MCP are:
GET /api/credits/balance: current balance,{ "credits_balance": 80 }.GET /api/credits/costs: default and model-level pricing rules.GET /api/credits/history: auditable credit ledger.POST /api/dispatch/requestandPOST /api/dispatch/report: reservation and settlement for direct-dispatch services such as video analysis.
Generation tools append a 计费回执 section to their normal result. It includes the cloud pricing rule when available, whether the request was settled, pending, or refunded, and a post-call balance snapshot. The balance is a concurrent snapshot; use /api/credits/history for exact attribution when multiple calls run at once.
Example:
生成完成!共 1 张图片:
1. https://cdn.example/image.png
计费回执;规则费用=20积分;本次调用已由云端结算;当前余额=80积分。For the complete lifecycle and troubleshooting guidance, see docs/billing.md in this repository and docs/mcp-and-billing.md in the main repository.
Generation Contract
MCP follows the same client contract as frontend, local backend, and future CLI clients:
Image requests use OpenAI-style fields such as
model,prompt,size,n, andimagesfor reference-image generation (up to 9 references).Before image generation/editing, MCP reads
/api/models/paramsand validates the selected model's live sizes. Common aliases1:1,16:9,9:16,3:2, and2:3are converted to the configured pixel size;autois passed through only when the model advertises it. Unsupported values such as1920x1080or4Kare rejected locally with the available-size list.Local reference images are prepared in memory and never overwrite the source file. Opaque images are compressed as JPEG; images with alpha remain PNG. The MCP caps the prepared image at 7 MiB and 4096 px on the longest edge, keeping it below the cloud's 8 MiB public-reference limit.
Video requests use OpenAI-style fields such as
model,prompt,size,seconds, andinput_reference.Cloud normalizes those fields into canonical routing params and then applies provider
field_mapping.
MCP convenience arguments are converted to the cloud public contract; provider-only fields such as aspect_ratio, image_size, and reference_images are not sent.
Project Structure
mcp-server/
server.py
SKILL.md
requirements.txt
.env.example
output/
downloads/Testing
Run the offline contract test; it does not call the cloud and does not consume credits:
python test_contract.pyLive integration tests consume credits. Use a dedicated test account and set credentials via environment variables; do not commit passwords:
MCP_TEST_USERNAME='test-user' MCP_TEST_PASSWORD='***' python test_all.pyLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
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 Connectors
MCP server for Wan AI video generation
MCP server for ByteDance Seedance AI video generation
MCP server for Hailuo (MiniMax) AI video generation
MCP server for Kling AI video generation
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server enabling AI assistants to search, analyze, and generate content for Xiaohongshu (RedNote), China's leading lifestyle social media platform.69MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables LLMs to automatically upload videos to the Douyin (TikTok China) creator platform with features like automated login, smart upload, SMS verification, and flexible publishing.331MIT
- FlicenseNot gradedqualityBmaintenanceAn MCP server that enables agents to automate Douyin and Xiaohongshu, including login, search, scraping, publishing, and commenting.-
- AlicenseNot gradedqualityCmaintenanceMCP server for parsing Douyin video links, downloading watermark-free videos, and extracting speech transcripts using AI speech recognition.Apache 2.0
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/Joshuayang228/video-studio-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server