Piapi MCP Server

MCP Server for PiAPI image generation

Local serverstdioTypeScript

What is the Piapi MCP Server?

Piapi becomes available to MCP clients through the piapi mcp server. MCP Server for PiAPI image generation.

What Piapi does

A TypeScript implementation of a Model Context Protocol (MCP) server that integrates with PiAPI's API. PiAPI makes user able to generate media content with Midjourney/Flux/Kling/LumaLabs/Udio/Chrip/Trellis directly from Claude or any other MCP-compatible apps.

Key capabilities

  • Base Image toolkit
  • Base Video toolkit
  • Flux Image generation from text/image prompt
  • Hunyuan Video generation from text/image prompt
  • Skyreels Video generation from image prompt
  • Wan Video generation from text/image prompt
  • MMAudio Music generation from video
  • TTS Zero-Shot voice generation

Requirements

  • Node.js 16.x or higher - npm or yarn - A PiAPI API key (get one at piapi.ai)

Practical notes

  • Maintained by apinetwork, written in TypeScript.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Piapi MCP Server

{
  "mcpServers": {
    "piapi": {
      "command": "node",
      "args": [
        "/absolute/path/to/piapi-mcp-server/dist/index.js"
      ],
      "env": {
        "PIAPI_API_KEY": "YOUR_PIAPI_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Node.js 16.x or higher - npm or yarn - A PiAPI API key (get one at piapi.ai)
VariableDescriptionRequired
PIAPI_API_KEYDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Piapi to Commands.”
  • “Use Piapi to Automation.”

Frequently asked questions

MCP Server for PiAPI image generation Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.