Generate images, video, music, speech, and 3D models through PiAPI from MCP-compatible clients.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent ā or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag ā we're steadily working through the catalog.
š” Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Piapi MCP Server.
apinetwork/piapi-mcp-server MCP server connects MCP-compatible clients to PiAPI's media-generation API. It provides tools for creating several kinds of content, including images, videos, music, speech, and 3D models. The repository describes support for Flux image generation, Hunyuan, Skyreels, Wan, Kling, and Luma video generation, along with Suno music, MMAudio generation from video, zero-shot text-to-speech, and Trellis 3D model generation from an image.
The project also includes base image and base video toolkits. Midjourney's imagine capability is listed as implemented, while other Midjourney functions are not complete. Suno lyrics, Udio music and lyrics, and workflow planning are listed as unfinished.
The server is implemented in TypeScript and communicates with PiAPI using the PIAPI_API_KEY environment variable. MCP clients invoke the exposed tools, which submit requests to PiAPI for the selected model or task. The repository registers contract-backed tools using deterministic names based on a model and task type, while retaining hand-written convenience tools for selected workflows.
The contract-backed surface is generated from a committed catalog of PiAPI capabilities. A synchronization process compares that catalog with PiAPI Manager's versioned API contract and can report new APIs, deprecated APIs, parameter changes, and description changes. The sync process is separate from normal client use and includes offline tests and commands for creating or accepting a baseline.
To build apinetwork/piapi-mcp-server MCP server locally, use Node.js 16 or newer, clone the repository, install dependencies with npm or yarn, and run the project's build command. The build creates dist/index.js, which can then be registered as a local MCP process.
Claude Desktop and Cursor configurations shown by the project start Node with the built dist/index.js file and pass PIAPI_API_KEY through the server environment. The API key must be obtained from PiAPI. After changing a client configuration, restart or refresh the MCP entry as appropriate.
The repository also documents installation through Smithery for Claude Desktop. MCP Inspector can be used for local testing after setting the API key, with a configurable timeout for longer operations.
Supported or listed capabilities include:
imagine operation.apinetwork/piapi-mcp-server MCP server depends on a PiAPI API key and the availability of the corresponding PiAPI capabilities. The README warns that video generation and other time-consuming operations may not finish before Claude's timeout. Several listed functions remain incomplete, including additional Midjourney operations, Suno lyrics, Udio music and lyrics, and workflow planning.
The synchronization commands fetch or compare PiAPI Manager contract data. They are intended for maintaining the server's tool catalog rather than for ordinary MCP client configuration. A private Manager repository may require the separate MCP_SYNC_GITHUB_TOKEN secret for synchronization tasks.
Factual signals from GitHub, npm, and our automated checks ā not a rating.
No reviews yet ā be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/apinetwork-piapi-mcp-server)<a href="https://allmcps.com/mcp/apinetwork-piapi-mcp-server"><img src="https://allmcps.com/api/badge/apinetwork-piapi-mcp-server?style=directory" alt="Piapi MCP Server on AllMCPs" /></a>