# Muapi Claude Code

> Claude Code plugin for muapi.ai — generate images, videos & audio with 100+ AI models directly in your IDE. Install with one command.

- **Type:** MCP server
- **Install:** `agentstack add mcp-samuraigpt-muapi-claude-code`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [SamurAIGPT](https://agentstack.voostack.com/s/samuraigpt)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 1.0.1
- **License:** MIT
- **Upstream author:** [SamurAIGPT](https://github.com/SamurAIGPT)
- **Source:** https://github.com/SamurAIGPT/muapi-claude-code

## Install

```sh
agentstack add mcp-samuraigpt-muapi-claude-code
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 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](https://muapi.com).

Simply install the plugin and start asking Claude to generate media for you.

## ✨ What It Can Do

| Tool | Description |
|------|-------------|
| `generate_image` | Generate images from text prompts |
| `generate_video` | Generate videos from text prompts |
| `edit_image` | Edit an existing image with instructions |
| `image_to_video` | Convert a still image into a video |
| `upload_file` | Upload files to MuAPI for processing |
| `list_models` | Browse available model categories |
| `model_details` | Get details about a specific model |
| `get_prediction` | Track the status of an async prediction |
| `account_balance` | Check your MuAPI account balance |

## 🚀 Installation

### Install as a Claude Code Plugin

```bash
claude plugin add muapi
```

Or install directly from GitHub:

```bash
claude plugin add https://github.com/SamurAIGPT/muapi-claude-code.git
```

### Configure Your API Key

Set your MuAPI API key:

```bash
claude config set plugins.muapi.env.MUAPI_API_KEY your_api_key_here
```

Get your API key from [muapi.com](https://muapi.com).

## 💡 Usage

Once installed, just ask Claude naturally:

**Image Generation**
```
Generate an image of a futuristic city at sunset
```

**Video Generation**
```
Generate a cinematic drone shot over mountains
```

**Image Editing**
```
Edit this image to add a rainbow in the sky
```

**Image to Video**
```
Convert this image into a slow zoom-in video
```

## 🔧 Slash Commands

After installing, you can invoke skills directly:

| Command | What it does |
|---------|-------------|
| `/muapi:generate-image ` | Generate an image from a text prompt |
| `/muapi:generate-video ` | Generate a video from a text prompt |
| `/muapi:edit-image ` | Edit an existing image |
| `/muapi:image-to-video ` | Animate a still image into a video |
| `/muapi:media-help` | Explore available models and get recommendations |

## 🛠 Development

If you want to run the plugin locally for development:

```bash
git clone https://github.com/SamurAIGPT/muapi-claude-code.git
cd muapi-claude-code
npm install
```

Create a `.env` file:

```env
MUAPI_API_KEY=your_api_key_here
```

Run the MCP server directly:

```bash
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

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [SamurAIGPT](https://github.com/SamurAIGPT)
- **Source:** [SamurAIGPT/muapi-claude-code](https://github.com/SamurAIGPT/muapi-claude-code)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v1.0.1 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** yes
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **1.0.1** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-samuraigpt-muapi-claude-code
- Seller: https://agentstack.voostack.com/s/samuraigpt
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
