Piapi MCP Server

Official CLI for the PiAPI platform — call 101 multimodal AI models (image, video, audio, 3D, LLM) from your terminal or AI agent

Local serverstdio

What is the Piapi MCP Server?

Official CLI for the PiAPI platform — call 101 multimodal AI models (image, video, audio, 3D, LLM) from your terminal or AI agent

What you get

piapi — one binary for 97 multimodal AI models

  • Image — — 37 models incl. flux-dev, nano-banana-pro, qwen-image-edit, seedream-5-pro, midjourney, plus tools (remove-bg, upscale, segment, joycaption, faceswap)
  • Video — — 42 models incl. sora2-pro, kling-3, veo3-fast, wanx22, seedance-2, hailuo, luma
  • Audio — — 11 models incl. mmaudio (video→audio), seed-audio, f5-tts, diffrhythm, udio-music, ace-step
  • 3D — — trellis (text→3D), trellis2 (image→3D), pixal3d (image→3D)
  • LLM — — 8 chat models incl. gpt-4o, claude-sonnet-4.6, gpt-5, plus gpt-image-2 for OpenAI-compatible image generation
  • Streaming — — --stream for token-by-token LLM output; SSE-only models (sora2-preview) stream by default

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-1": {
      "command": "npx",
      "args": ["-y", "piapi-cli"],
      "env": {
        "PIAPI_API_KEY": "your-value",
        "PIAPI_BASE_URL": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
PIAPI_API_KEYCredential the server authenticates with.Yes
PIAPI_BASE_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • “Use Piapi to Syntax.”

Frequently asked questions

Official CLI for the PiAPI platform — call 101 multimodal AI models (image, video, audio, 3D, LLM) from your terminal or AI agent Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.