Muapi CLI

v1.0.0Analyticsstable

Official CLI for muapi.ai — generate images, videos & audio from the terminal. MCP server, 14 AI models, npm + pip installable.

aicligenerative-aiimage-generationmcp
Share:
997
Stars
0
Downloads
0
Weekly
0/5

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

Image, video, and audio generation from terminal
14 AI models with npm/pip integration
SamurAIGPT

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedMay 20, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx muapi-cli

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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 --help
2

Set 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_here
3

Verify the CLI works

Test your API key and connection by checking your account balance.

muapi-cli account balance
4

Configure 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"
      }
    }
  }
}
5

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 ./outputs

Muapi 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.

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.

Quick Config Preview

{ "mcpServers": { "muapi-cli": { "command": "npx", "args": ["-y", "muapi-cli"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides