Best for
- Creative professionals who need to generate various media quickly
- Developers who want to integrate media generation into automated workflows
- Users of Claude Desktop or Cursor who need media generation capabilities
This server integrates multiple media generation capabilities via MCP, offering a rich feature set but with potential timeout issues and reliance on a third-party service. It is suitable for users who do not require real-time generation.
PiAPI MCP Server is a TypeScript implementation of an MCP server that integrates with PiAPI's API, enabling users to generate images, videos, music, and 3D models using models like Midjourney, Flux, Kling, Luma, Udio, Suno, and Trellis directly from Claude or other MCP-compatible applications.
Clone the repository, install dependencies, build the project, configure MCP settings in Claude Desktop or Cursor, and set the PIAPI_API_KEY environment variable to your PiAPI API key.
{
"mcpServers": {
"piapi": {
"command": "node",
"args": ["/absolute/path/to/piapi-mcp-server/dist/index.js"],
"env": {
"PIAPI_API_KEY": "your_api_key_here"
}
}
}
}