ViewMax Studio MCP
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., "@ViewMax Studio MCPCreate a viral hook about morning routines"
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.
ViewMax Studio MCP
A Model Context Protocol (MCP) server that enables Claude to generate AI videos using ViewMax Studio's powerful video generation tools.
Features
✅ Generate Video Prompts & Scripts - Create detailed prompts for AI video generation with correlated narrative scripts, all within 2000 character limits
✅ Smart Model Selection - Automatically selects the best AI model (Seedance, Kling, Runway, etc.) based on your video format
✅ Cost Preview - See credit costs before submitting, with automatic validation and approval flow
✅ Task Status Tracking - Check video generation progress with task IDs
✅ 7 Video Formats - Optimized guidelines for storytelling, viral hooks, trending, memes, POV/roleplay, reactions, and shoppable videos
✅ Character Limit Enforcement - Validates that prompts and scripts don't exceed ViewMax's 2000 character limit
Related MCP server: MCP Veo 3 Video Generation Server
Quick Start
1. Install
pip install -r requirements.txt2. Configure
Copy .env.example to .env and add your ViewMax API key:
cp .env.example .env
# Edit .env and add your API key3. Run
python viewmax_mcp.py4. Use with Claude
Ask Claude to generate a video:
"Give me a prompt for a cute animals video with a sad story"Claude will:
Ask which format you want (if not specified)
Generate a detailed prompt + narrative script
Show you the character counts
Ask for approval
Submit to ViewMax and show the task ID
Let you check status manually
Workflow Example
User: "Create a viral hook about coffee shops"
Claude: Which format would you prefer?
- Viral Hook (fast-paced, eye-catching)
- Trending (universal appeal)
- etc.
User: "Viral Hook"
Claude: Here's your prompt and script:
PROMPT:
[Detailed visual description with camera work, cuts, mood...]
SCRIPT:
[Snappy narration designed for voiceover...]
Prompt: 1,247/2000 characters
Script: 892/2000 characters
Ready to submit? I'll show the credit cost first.
User: "Yes, submit it"
Claude: This will cost 75 credits. Confirm?
User: "Confirm"
Claude: ✅ Video generation started!
Task ID: abc123def456
Model: Grok Imagine
Check status manually in your ViewMax dashboard, or ask me to check with the task ID.Tools
1. Generate Prompt & Script
Creates a detailed video prompt and narrative script based on your idea and format.
Input:
idea(required): Your video conceptformat(optional): One of 7 formats below
Output:
Detailed prompt (≤2000 chars) - for AI video generator
Narrative script (≤2000 chars) - for voiceover/text-to-speech
Character counts for both
Formats:
Storytelling - Narrative with emotional arc
Viral Hook - Fast-paced, eye-catching opener
Trending - Current trending format
Meme - Comedic, funny content
POV & Roleplay - Immersive, character-driven
Reaction - Fast emotional response
Shoppable Video - Product showcase
2. Submit Video
Submits approved prompt and script to ViewMax for generation. Shows cost and requires confirmation before submission.
Input:
prompt(required): Detailed video prompt (≤2000 chars)script(required): Narrative script (≤2000 chars)model(optional): AI model (auto-selected if omitted)format(optional): Video format (helps with model selection)approved(required): Set to true to confirm submission
Output:
Task ID for status checking
Credit cost
Selected AI model
Confirmation message
3. Check Task Status
Polls the status of a video generation task.
Input:
task_id(required): Task ID from submission
Output:
Status: pending, processing, success, failed, or canceled
Video URL (if ready)
Error details (if failed)
AI Models
The MCP automatically selects the best model for each format:
Format | Best Model | Why |
Storytelling | Seedance 1.5 Pro | Audio-visual sync + film-grade camera |
Viral Hook | Grok Imagine | Fast, cheap, eye-catching |
Trending | Kling 2.6 | Versatile, good quality |
Meme | Grok Imagine | Comedic potential, fast |
POV & Roleplay | Seedance 1.5 Pro | Cinematic, immersive |
Reaction | Gemini Omni Flash | Ultra-fast (4-10s) |
Shoppable Video | Runway | Cinematic product focus |
Available Models:
Seedance 1.5 Pro (7-60 credits)
Seedance 2.0 (95-1200 credits)
Seedance 2.0 Fast (80-495 credits)
Kling 2.6 (55-220 credits)
Grok Imagine (10-90 credits)
Runway (12-30 credits)
Gemini Omni Flash (45-180 credits)
Veo 3.1 (225-285 credits)
Veo 3.1 Fast (30-100 credits)
Veo 3.1 Lite (15 credits)
Configuration
Environment Variables
VIEWMAX_API_KEY=your-api-key-here # Required
PORT=8000 # Optional, for HTTP transport
LOG_LEVEL=info # OptionalDefault Settings
Edit viewmax_mcp.py to change:
DURATION = 10 # Video duration in seconds
ASPECT_RATIO = "9:16" # YouTube Shorts format
QUALITY = "standard" # or "high"
GENERATE_AUDIO = True # Enable audio/voiceoverCharacter Limits
ViewMax enforces 2000 character maximums:
Prompt: 2000 characters (visual descriptions, camera work, mood, style)
Script: 2000 characters (narrative, dialogue, voiceover text)
The MCP validates these automatically and prevents submission if exceeded.
Cost Information
Credits are consumed based on:
AI Model - Different models cost different amounts
Video Duration - Longer videos cost more
Aspect Ratio - Some ratios cost more than others
The MCP shows you the exact cost before submission, so you know exactly what you're paying.
Error Handling
The MCP provides clear error messages for:
Invalid API key
Rate limits exceeded
Character limit exceeded
Network timeouts
Invalid input formats
Missing environment variables
Troubleshooting
API Key Issues
# Set API key as environment variable
export VIEWMAX_API_KEY="your-key-here"
# Or create .env file
echo "VIEWMAX_API_KEY=your-key-here" > .envCharacter Limit Exceeded
The MCP will tell you the exact character count. Condense your content:
Use shorter sentences
Remove redundant descriptions
Focus on the most important details
Video Not Generated
Check task ID is correct
Wait a few minutes (videos take 1-5 minutes)
Check for error messages in task status
Verify API key is still valid
Rate Limiting
If you hit rate limits:
Wait 5-10 minutes before trying again
Space out video submissions
Consider using cheaper models (Grok Imagine, Veo 3.1 Lite)
Project Structure
viewmax_mcp/
├── viewmax_mcp.py # Main MCP server
├── requirements.txt # Python dependencies
├── .env.example # Configuration template
├── SETUP.md # Detailed setup guide
└── README.md # This fileDevelopment
Running Tests
# Verify server starts
python viewmax_mcp.py --help
# Test API connectivity
python -c "
import asyncio
from viewmax_mcp import _make_api_request
asyncio.run(_make_api_request('test'))
"Adding Custom Models
Edit the AIModel enum in viewmax_mcp.py:
class AIModel(str, Enum):
YOUR_NEW_MODEL = "your-new-model-name"Then add format guidance in FORMAT_GUIDELINES.
Integrating with Cowork
To use this MCP in Anthropic's Cowork mode:
Place files in your Cowork plugins directory
Set
VIEWMAX_API_KEYenvironment variableThe MCP will automatically appear in Claude conversations
API Reference
For complete ViewMax API documentation, visit: https://viewmax.studio/docs/api
Support
ViewMax Support: support@viewmax.studio
API Documentation: https://viewmax.studio/docs
ViewMax Website: https://viewmax.studio/
License
This MCP server is provided as-is for use with ViewMax Studio.
Changelog
v1.0.0 (Initial Release)
Generate video prompts and scripts
Submit videos to ViewMax
Check task status
Smart model selection
Character limit validation
Cost preview before submission
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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/jcmach01/viexmax_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server