mcp.film / Model Hubs / PiAPI MCP Server
PiAPI MCP Server
Midjourney in an agent — plus Kling, Luma, Hailuo, Hunyuan, Wan, Suno via PiAPI.
What it does
TypeScript MCP server over PiAPI's unified API, best known as the practical Midjourney route since Midjourney has no public API or official MCP. Also covers FLUX, Kling video and effects, Luma Dream Machine, Hailuo, Hunyuan/Skyreels/Wan video, Trellis 3D, MMAudio scoring and Suno music. Since Jul 2026 it also generates a contract-backed tool for every committed PiAPI (model, task_type) pair, so the exposed surface tracks the upstream catalog instead of only the hand-written convenience tools.
Connect
Connection is set up through the vendor's flow — follow the official connect instructions.
Local install: Multi-step: git clone https://github.com/apinetwork/piapi-mcp-server, npm install, npm run build, then point your client at node /absolute/path/to/dist/index.js with PIAPI_API_KEY in env. Node 16+.
PIAPI_API_KEY — https://piapi.ai/workspace/key
Sample tools
generate_imagemidjourney_imaginegenerate_video_klinggenerate_video_hailuogenerate_video_lumagenerate_video_wangenerate_music_sunogenerate_music_for_videoimage_upscalegenerate_3d_modelpiapi_qubico_flux1_schnell_txt2imgField notes
MIT, 75 stars. main has not moved since the Aug 10 2026 catalog refresh. That refresh came from a drift detector that diffs PiAPI's contract, but its scheduled CI job was switched to manual-only in Jul 2026 and the sync now runs on the maintainer's own machine, so eight quiet weeks mean nobody ran it, not that nothing changed upstream. The maintainers are still working on it: an unmerged branch (codex/mcp-apps-media-preview, pushed Sep 17 2026) adds remote OAuth deployment adapters. Nothing is released from it, so there is no hosted endpoint yet. There is still no published npm package: install is clone plus npm run build, or `npx -y @smithery/cli install piapi-mcp-server --client claude`. Contract tools are named piapi_<model>_<task_type> (e.g. piapi_qubico_flux1_schnell_txt2img) alongside 23 hand-written convenience tools. Caveats: unofficial Midjourney access is a ToS gray area and only `imagine` is implemented, and long video jobs can exceed MCP client timeouts — raise them. Hosted Midjourney alternative: AceDataCloud/MidjourneyMCP.
Also in Model Hubs
Official Runware MCP for image, video, audio, 3D, upscaling, and model search.
Hosted OAuth MCP for 20+ video, image, audio and 3D models, with a credit preview on every call.
One OAuth endpoint onto ImagineArt's video, image and music models — 96 tools, no keys.
Run Veo, Seedance, Kling, Runway, Suno, ElevenLabs, FLUX and more through one local MCP.
Official hosted hub: run any image, video, audio or 3D app, then poll the task.
Browse, price, and run 130+ image, video, audio and voice models through one MCP.
Pairs well with
Hosted MCP for AKOOL face swap, character swap, image-to-video, TTS and avatar lookup.
Studio MCP for talking avatars, locked recurring characters, and batched output.
Official bitHuman CLI server: build avatar agents from a face image and render WAV-driven talking video locally.