MuAPI Claude Code MCP Server
Click on "Deploy 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., "@MuAPI Claude Code MCP Server Generate an image of a futuristic city at sunset"
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.
MuAPI – Claude Code Plugin
A Claude Code plugin that gives Claude the power to generate images, create videos, edit visuals, and more — all powered by MuAPI.
Simply install the plugin and start asking Claude to generate media for you.
Related Projects
MuAPI — Unified API for image, video, and audio generation across hundreds of AI models. Install agent skills, connect through MCP, or create access keys.
muapi-cli — Run the same generation workflows from a terminal or MCP client.
Related MCP server: ComfyMCP
✨ What It Can Do
Tool | Description |
| Generate images from text prompts |
| Generate videos from text prompts |
| Edit an existing image with instructions |
| Convert a still image into a video |
| Upload files to MuAPI for processing |
| Browse available model categories |
| Get details about a specific model |
| Track the status of an async prediction |
| Check your MuAPI account balance |
🚀 Installation
Install as a Claude Code Plugin
claude plugin add muapiOr install directly from GitHub:
claude plugin add https://github.com/SamurAIGPT/muapi-claude-code.gitConfigure Your API Key
Set your MuAPI API key:
claude config set plugins.muapi.env.MUAPI_API_KEY your_api_key_hereGet your API key from muapi.ai.
💡 Usage
Once installed, just ask Claude naturally:
Image Generation
Generate an image of a futuristic city at sunsetVideo Generation
Generate a cinematic drone shot over mountainsImage Editing
Edit this image to add a rainbow in the skyImage to Video
Convert this image into a slow zoom-in video🔧 Slash Commands
After installing, you can invoke skills directly:
Command | What it does |
| Generate an image from a text prompt |
| Generate a video from a text prompt |
| Edit an existing image |
| Animate a still image into a video |
| Explore available models and get recommendations |
🛠 Development
If you want to run the plugin locally for development:
git clone https://github.com/SamurAIGPT/muapi-claude-code.git
cd muapi-claude-code
npm installCreate a .env file:
MUAPI_API_KEY=your_api_key_hereRun the MCP server directly:
node src/index.js📁 Project Structure
muapi-claude-code/
├── .claude-plugin/
│ └── plugin.json # Claude Code plugin manifest
├── src/
│ ├── index.js # MCP server entry point
│ └── tools/
│ ├── generateImage.js # Image generation
│ ├── generateVideo.js # Video generation
│ ├── editImage.js # Image editing
│ ├── imageToVideo.js # Image-to-video conversion
│ ├── uploadFile.js # File upload
│ ├── listModels.js # Model listing
│ ├── modelDetails.js # Model details
│ ├── getPrediction.js # Prediction tracking
│ └── accountBalance.js # Account balance
├── .mcp.json # MCP server config
├── package.json
└── .env # API key (not committed)📄 License
ISC
Available Tools
9 toolsaccount_balanceB
Get MuAPI account balance
Inputs: no named parameters.
edit_imageC
Edit an image using MuAPI
Inputs: image (required), prompt (required).
generate_imageC
Generate an image using MuAPI
Inputs: prompt (required).
generate_videoC
Generate a video using MuAPI
Inputs: prompt (required).
get_predictionC
Get prediction result by request ID
Inputs: request_id (required).
image_to_videoC
Convert an image into a video
Inputs: image (required), prompt (required).
list_modelsA
List available MuAPI model categories
Inputs: no named parameters.
model_detailsC
Get details about a specific model
Inputs: model (required).
upload_fileC
Upload a file to MuAPI
Inputs: filepath (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool targets a distinct resource and action. While generate_video and image_to_video both produce videos, one is a general generation and the other explicitly converts an image, making them clearly separable. get_prediction, account_balance, list_models, model_details, upload_file, and edit_image each serve a unique purpose.
Most tools follow a verb_noun pattern (generate_image, get_prediction, list_models, edit_image, upload_file). However, account_balance and model_details are noun phrases without a verb, and image_to_video uses a noun_to_noun structure, which are minor deviations from the dominant convention.
The server has 9 tools, which is well within the ideal 3-15 range for a domain-specific MCP server. Each tool covers a necessary aspect of MuAPI's image/video generation workflow without being redundant or excessive.
The tools cover core workflows: account access, model exploration, file upload, image generation and editing, video generation and conversion, and result retrieval. Minor gaps exist, such as no listing of past predictions or cancellation of in-progress tasks, but these are not critical for the server's primary purpose.
Related MCP Connectors
Generate images and video from Claude with one API key.
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
Generate and edit images and create short videos inside Claude. Prepaid credits, no subscription.
Turn Claude into a creative studio: DNA-locked characters, images, video, voiceover — 55 tools.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables Claude Code to generate, edit, blend, and create variations of images using BytePlus SeeDream AI models, with streaming and Firebase sync.6MIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude to generate images via ComfyUI from natural language requests, automating workflow construction and execution.1MIT
- AlicenseAqualityBmaintenanceConnects Claude Code to image generation models (OpenAI GPT Image 2, Google Nano Banana) for generating, editing, and converting images via natural language.638 npmMIT
- AlicenseAqualityBmaintenanceEnables Claude Code and Claude desktop to generate AI videos and images through Dare, with credit cost estimation, reference uploads, and generation management billed to the user's Dare credits.1315 npm1MIT