经 AI Skill Hub 精选评估,MCP工具 获评「强烈推荐」。已获得 1.0k 颗 GitHub Star,这款MCP工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.0 分,适合有一定技术背景的用户使用。
MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/SamurAIGPT/muapi-cli
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"mcp--": {
"command": "npx",
"args": ["-y", "muapi-cli"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 MCP工具 执行以下任务... Claude: [自动调用 MCP工具 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"mcp__": {
"command": "npx",
"args": ["-y", "muapi-cli"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
```bash
npx muapi-cli --help ```
```bash
```bash
| Command | Description |
|---|---|
muapi config set <key> <value> | Set a persistent default |
muapi config get <key> | Read a config value |
muapi config list | Show all config |
Useful keys: output (json/human), model.image, model.video, no_color (true/false)
| Flag | Description |
|---|---|
--wait / --no-wait | Poll until done (default: --wait) |
--output-json / -j | Print raw JSON response |
--jq <expr> | Filter JSON output (e.g. '.outputs[0]') |
--download <dir> / -d | Auto-download outputs to directory |
--no-color | Disable colored output |
| Variable | Description |
|---|---|
MUAPI_API_KEY | API key (overrides keychain/config) |
MUAPI_BASE_URL | Override API base URL |
NO_COLOR | Disable colored output |
The hosted MCP server at https://api.muapi.ai/mcp uses the standard Streamable HTTP transport. Any MCP client can connect with just your API key — no CLI install needed.
Claude Code:
claude mcp add --transport http muapi \
https://api.muapi.ai/mcp \
--header "Authorization: Bearer YOUR_MUAPI_KEY"
Cursor — add to mcp.json (Cmd+Shift+P → Open MCP settings):
{
"mcpServers": {
"muapi": {
"url": "https://api.muapi.ai/mcp",
"headers": { "Authorization": "Bearer YOUR_MUAPI_KEY" }
}
}
}
Windsurf — open Settings → MCP:
{
"mcpServers": {
"muapi": {
"serverUrl": "https://api.muapi.ai/mcp",
"headers": { "Authorization": "Bearer YOUR_MUAPI_KEY" }
}
}
}
Run the CLI as a local stdio MCP server. Requires the CLI to be installed.
muapi mcp serve
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"muapi": {
"command": "muapi",
"args": ["mcp", "serve"],
"env": { "MUAPI_API_KEY": "your-key-here" }
}
}
}
Any stdio-compatible client — use the command + args pattern above, substituting your client's config format.
For more details on the self-hosted MCP server see muapi-mcp-server.
Official command-line interface for muapi.ai — generate images, videos, and audio directly from your terminal.
Agent-first design — every command works for both humans (colored output, tables) and AI agents (--output-json, --jq filtering, semantic exit codes, MCP server mode).
muapi auth configure --api-key "YOUR_KEY"
muapi run flux-dev-image -p "a cyberpunk city at night" muapi run seedance-2-text-to-video -p "drone shot over snowy peaks" -i duration=5 muapi run <model> -h # introspects the live OpenAPI schema
| Command | Description |
|---|---|
muapi auth register --email x --password y | Create a new account (sends OTP) |
muapi auth verify --email x --otp 123456 | Verify email after registration |
muapi auth login --email x --password y | Log in and save API key automatically |
muapi auth forgot-password --email x | Send password reset OTP |
muapi auth reset-password --email x --otp y --password z | Reset password |
muapi auth configure | Manually save an API key |
muapi auth whoami | Show current API key (masked) |
muapi auth logout | Remove stored API key |
| Command | Description |
|---|---|
muapi account balance | Show current credit balance |
muapi account topup --amount 20 | Add credits via Stripe checkout |
| Command | Description |
|---|---|
muapi keys list | List all API keys on your account |
muapi keys create --name label | Create a new API key (shown once) |
muapi keys delete <id> | Delete an API key by ID |
| Command | Description |
|---|---|
muapi image generate <prompt> | Text-to-image generation |
muapi image edit <prompt> --image <url> | Image-to-image editing |
muapi image models | List available models |
Models: flux-dev, flux-schnell, flux-kontext-dev/pro/max, hidream-fast/dev/full, wan2.1, reve, gpt4o, midjourney, seedream, qwen
| Command | Description |
|---|---|
muapi video generate <prompt> | Text-to-video generation |
muapi video from-image <prompt> --image <url> | Image-to-video animation |
muapi video models | List available models |
Models: veo3, veo3-fast, kling-master, kling-std, kling-pro, wan2.1/2.2, seedance-pro/lite, hunyuan, runway, pixverse, vidu, minimax-std/pro
| Command | Description |
|---|---|
muapi audio create <prompt> | Create music with Suno |
muapi audio remix <song-id> | Remix an existing Suno song |
muapi audio extend <song-id> | Extend a Suno song |
muapi audio from-text <prompt> | Generate audio with MMAudio |
muapi audio from-video <video-url> | Add AI audio to a video |
| Command | Description |
|---|---|
muapi enhance upscale <url> | AI image upscaling |
muapi enhance bg-remove <url> | Remove background |
muapi enhance face-swap --source <url> --target <url> | Face swap image/video |
muapi enhance skin <url> | Skin enhancement |
muapi enhance colorize <url> | Colorize B&W photo |
muapi enhance ghibli <url> | Ghibli anime style |
muapi enhance anime <url> | Anime style conversion |
muapi enhance extend <url> | Outpaint/extend image |
muapi enhance product-shot <url> | Professional product photo |
muapi enhance erase <url> --mask <url> | Object removal |
| Command | Description |
|---|---|
muapi edit effects --video <url> --effect <name> | AI video/image effects |
muapi edit lipsync --video <url> --audio <url> | Lip sync to audio |
muapi edit dance --image <url> --video <url> | Make person dance |
muapi edit dress --image <url> | Change clothing |
muapi edit clipping <video-url> | AI highlight extraction |
Reaches any model in the muapi.ai catalog by endpoint name, even ones not covered by the curated image / video / audio / enhance / edit verbs. The input schema is fetched from the live OpenAPI spec, so muapi run <model> -h always reflects the real, current parameters.
| Command | Description |
|---|---|
muapi run <model> -h | Print model-specific inputs from the live OpenAPI schema |
muapi run <model> -p "..." | Run with a prompt |
muapi run <model> -p "..." -i k=v -i k=v | Pass arbitrary inputs (JSON-parsed when valid) |
muapi run <model> --input-file inputs.json | Inputs from a JSON file |
muapi run <model> ... --dry-run | Show the request body without sending |
<model> accepts either a real endpoint slug (flux-dev-image, nano-banana-2, seedance-2-text-to-video) or a short alias from the curated tables (flux-dev, seedream, kling-master).
Merge order for inputs (later wins): --input-file → -i k=v → -p prompt.
```bash
| Command | Description |
|---|---|
muapi predict result <id> | Fetch current status (no polling) |
muapi predict wait <id> | Wait until complete |
| Command | Description |
|---|---|
muapi upload file <path> | Upload a local file → get hosted URL |
| Command | Description |
|---|---|
muapi models list | List all models |
muapi models list --category video | Filter by category |
| Command | Description |
|---|---|
muapi docs openapi | Fetch the full OpenAPI spec |
muapi docs open | Open Swagger UI in browser |
| Command | Description |
|---|---|
muapi mcp serve | Start MCP server (stdio) for AI agents |
NEW_KEY=$(muapi keys create --name "ci-$(date +%Y%m%d)" --output-json --jq '.api_key' | tr -d '"') OLD_ID=$(muapi keys list --output-json --jq '.[0].id') muapi keys delete "$OLD_ID" --yes
muapi docs openapi --jq '.paths | keys[]' ```
该工具未明确声明开源协议,商业使用前请联系原作者确认授权范围,避免侵权风险。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
AI Skill Hub 点评:MCP工具 的核心功能完整,质量优秀。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | muapi-cli |
| 原始描述 | 开源MCP工具:Official CLI for muapi.ai — generate images, videos & audio from the terminal. M。⭐1.0k · Python |
| Topics | aicligenerative-ai |
| GitHub | https://github.com/SamurAIGPT/muapi-cli |
| 语言 | Python |
收录时间:2026-06-14 · 更新时间:2026-06-14 · License:未公布 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端