PiAPI MCP
Generates media via Midjourney, Flux, Kling, Hunyuan, Udio, and Trellis through a single PiAPI account.
Delv Safety Grade: C
Score 58/100 · assessed 2026-04-28
PiAPI MCP is a community-maintained aggregator that routes generative media requests to six commercial APIs (Midjourney, Flux, Kling, Hunyuan, Udio, Trellis) through a single PiAPI account. The maintainer 'API Network' appears to be a small commercial entity rather than an established vendor, with limited public track record. The server itself is scoped: it makes outbound API calls and returns media URLs, requiring only a PIAPI_KEY environment variable. No filesystem or shell access is requested. Supply chain is standard npm distribution but the package is new and lightly reviewed. Transparency is moderate: the repository is open source with basic documentation, but lacks detailed changelog or active issue discussion. The core risk is dependency on PiAPI as a middleman: you trust them with your API key, they handle credentials for six downstream services, and any PiAPI outage or policy change affects all models. No known security incidents, but the trust surface is broad.
Lethal Trifecta (prompt-injection exposure)
ONE OF THREEImage generation passthrough.
Green flags
- Narrow scope: outbound API calls only, no filesystem or shell access
- Standard npm distribution with versioned package
- Open source repository with visible code for review
- Single environment variable (PIAPI_KEY) reduces credential sprawl
- No known security incidents or takedowns
Red flags
- Middleman architecture: PiAPI holds keys to six downstream generative APIs
- Maintainer 'API Network' has minimal public track record or verification
- New package with limited community review or adoption signals
- Dependency on PiAPI service availability for all six models
- No evidence of security audit or credential handling transparency
Permissions requested
Install
npx -y @smithery/cli install piapi-mcp-server --client claude
PIAPI_KEYReview
Install this if you're building apps that need image, video, and music generation and you'd rather manage one account than six. Skip it if you only use one provider or if you want full control over API versioning and fallback logic. It's a sensible aggregator, not a miracle.
Good at
- One authentication flow for six generative media APIs saves setup time.
- Useful for prototyping multi-modal apps without juggling separate accounts.
- Works with Claude Desktop, Claude Code, and Cursor out of the box.
- Straightforward install via Smithery CLI with minimal configuration.
Watch out
- You're locked into PiAPI's pricing and uptime, with no direct fallback to the underlying providers.
- No documented rate limits or per-call costs in the MCP repo, so budget planning requires digging into PiAPI's own docs.
- Thin middleware means you still need to understand each provider's prompt syntax and output constraints.
- Community-maintained, so updates depend on a single author rather than official support.
Use cases
- Midjourney image generation
- Kling video creation
- Udio music generation
- multi-provider creative apps
Getting started
Works with
Similar MCPs
- MobbinReference 621,500+ real app screens from inside Claude, Cursor, and other AI tools. Mobbin's design library exposed as MCP so agents can work from real UI patterns instead of guessing.
- Discogs MCPSearches the Discogs music catalogue for releases, artists, labels, and marketplace listings.
- Unsplash MCPSearches Unsplash for high-quality stock photos with filters for orientation, colour, and size.
- OP.GG MCPProvides gaming data for League of Legends, TFT, and Valorant including champion analytics, esports schedules, and meta comps.