TokenToSeaMCP Hub
中文 Console

PiAPI MCP Server

apinetwork

Lets agents generate media through PiAPI with Midjourney, Flux, Kling, Hunyuan, Udio, Trellis and other models.

Setup

Choose your client, copy the config, then fill in any required environment variables.

Add to CursorAdd to VS Code

claude mcp add piapi --env PIAPI_API_KEY='<PIAPI_API_KEY>' -- node /absolute/path/to/piapi-mcp-server/dist/index.js

Environment variables

  • PIAPI_API_KEY

Replace the placeholders with your own credentials and keep them out of version control.