Muapi CLI
Official CLI for muapi.ai — generate images, videos & audio from the terminal. MCP server, 14 AI models, npm + pip installable.
What is Muapi CLI?
Muapi CLI is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to official cli for muapi.ai — generate images, videos & audio from the terminal. mcp server, 14 ai models, npm + pip installable.
Official CLI for muapi.ai — generate images, videos & audio from the terminal. MCP server, 14 AI models, npm + pip installable.
This server falls under the Analytics category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Official CLI for muapi.ai — generate images, videos & audio
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx muapi-cliConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Muapi CLI
The Muapi CLI is the official command-line interface and MCP server for muapi.ai, a generative media platform that provides access to 14+ AI models for image generation, video creation, audio synthesis, and media enhancement. It exposes 19 MCP tools covering text-to-image, text-to-video, music generation, face swap, background removal, upscaling, and more — all accessible from the terminal or through any MCP-compatible AI assistant. Developers and creative teams use it to integrate AI media generation directly into automated workflows, AI coding environments, or conversational AI pipelines.
Prerequisites
- Node.js 18+ or Python 3.8+ (CLI supports both npm and pip installation)
- A muapi.ai account with an active API key (MUAPI_API_KEY)
- An MCP client such as Claude Desktop, Cursor, or Windsurf
- Credits loaded in your muapi.ai account for paid generation operations
Install the Muapi CLI
Install the CLI globally via npm for the fastest setup. Alternatively use npx for one-off runs without a global install.
npm install -g muapi-cli
# or run without installing:
npx muapi-cli --helpSet your API key
Export your muapi.ai API key as an environment variable. You can find your API key in the muapi.ai dashboard under Account Settings.
export MUAPI_API_KEY=your_api_key_hereVerify the CLI works
Test your API key and connection by checking your account balance.
muapi-cli account balanceConfigure your MCP client
Add the Muapi CLI MCP server to your Claude Desktop or Cursor configuration so AI assistants can invoke the 19 media generation tools.
{
"mcpServers": {
"muapi": {
"command": "npx",
"args": ["muapi-cli"],
"env": {
"MUAPI_API_KEY": "your_api_key_here"
}
}
}
}Generate media from the terminal or through AI
Use the CLI directly for media generation, or let your connected AI assistant invoke tools on your behalf. Long-running jobs return a request_id for async polling.
# Generate an image
muapi-cli image generate "a cyberpunk city at sunset"
# Generate a video asynchronously
REQUEST_ID=$(muapi-cli video generate "ocean waves crashing" --no-wait --output-json | jq -r '.request_id')
muapi-cli predict wait "$REQUEST_ID" --download ./outputsMuapi CLI Examples
Client configuration
MCP configuration for Claude Desktop using the Muapi CLI with your API key injected via environment variable.
{
"mcpServers": {
"muapi": {
"command": "npx",
"args": ["muapi-cli"],
"env": {
"MUAPI_API_KEY": "your_api_key_here"
}
}
}
}Prompts to try
Example prompts for Claude once Muapi CLI MCP is connected, covering image, video, audio, and enhancement capabilities.
- "Generate an image of a serene Japanese garden at dawn"
- "Create a short video of a campfire with crackling flames"
- "Generate background music in a lo-fi hip hop style using Suno"
- "Remove the background from this product photo"
- "Upscale this image to 4x resolution"Troubleshooting Muapi CLI
API key authentication error (401 Unauthorized)
Ensure MUAPI_API_KEY is set correctly. Run 'echo $MUAPI_API_KEY' to verify it is exported. Keys are found in your muapi.ai dashboard under Account > API Keys.
Generation job times out or hangs
Video and audio generation can take 30-120 seconds. Use the --no-wait flag to get a request_id immediately, then poll with 'muapi-cli predict wait <request_id>' until the job completes.
Insufficient credits error during generation
Check your balance with 'muapi-cli account balance'. Top up credits via the muapi.ai dashboard or use 'muapi-cli account topup' if supported by your plan.
Frequently Asked Questions about Muapi CLI
What is Muapi CLI?
Muapi CLI is a Model Context Protocol (MCP) server that official cli for muapi.ai — generate images, videos & audio from the terminal. mcp server, 14 ai models, npm + pip installable. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Muapi CLI?
Follow the installation instructions on the Muapi CLI GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Muapi CLI?
Muapi CLI works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Muapi CLI free to use?
Yes, Muapi CLI is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Muapi CLI Alternatives — Similar Analytics Servers
Looking for alternatives to Muapi CLI? Here are other popular analytics servers you can use with Claude, Cursor, and VS Code.
OpenMetadata
★ 14.0kOpenMetadata is a unified metadata platform for data discovery, data observability, and data governance powered by a central metadata repository, in-depth column level lineage, and seamless team collaboration.
Superset
★ 10.9kAn MCP server that provides AI assistants with full access to Apache Superset instances, enabling interaction with dashboards, charts, datasets, databases, and SQL execution capabilities.
Horizon
★ 4.4k📡 Your own AI-powered news radar. Generates daily briefings in English & Chinese. | 用 AI 构建你专属的新闻雷达
MCP Server Chart
★ 4.1kEnables generation of 25+ types of charts and data visualizations using AntV, including bar charts, line charts, maps, mind maps, and specialized diagrams like fishbone and sankey charts. Supports both statistical charts and geographic visualizations
Weather MCP Server
★ 907Weather Data Fetcher MCP server built with Node.js, MCP SDK, and Zod. Provides weather details like temperature and forecast for cities such as Noida and Delhi via a registered tool. Simplifies API integration, enabling structured responses for clien
AI Treasure Box
★ 806🤖 Automatically collected AI repos, tools, websites, papers & tutorials. 实用AI百宝箱 💎
Browse More Analytics MCP Servers
Explore all analytics servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Muapi CLI in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Muapi CLI?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.