Enterprise DNA
M MCP Servers Developer low

apinetwork/piapi-mcp-server

by Various

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/Lu

A

MCP

apinetwork/piapi-mcp-server

Added 1 June 2026

Overview

A TypeScript Model Context Protocol (MCP) server that connects to the PiAPI service. It lets users generate media from tools like Midjourney, Flux, Kling, LumaLabs, Udio, Chirp, and Trellis directly from Claude or any MCP-compatible application. The server exposes PiAPI's capabilities through the standardized MCP interface.

Best for

Best for
Developers building MCP-compatible workflows who need to invoke multiple media generation APIs from a single interface

Use cases

  • Generate images via Midjourney from Claude or other MCP hosts
  • Create audio content using Udio or Chirp within MCP-compatible workflows
  • Integrate Flux or LumaLabs media generation into custom MCP-based tools

How to use

Install

npx -y @smithery/cli install piapi-mcp-server --client claude

Tested with

Claude Desktop, Cursor

Example client config

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

Notes

A TypeScript Model Context Protocol (MCP) server that connects to the PiAPI service. It lets users generate media from tools like Midjourney, Flux, Kling, LumaLabs, Udio, Chirp, and Trellis directly from Claude or any MCP-compatible application. The server exposes PiAPI’s capabilities through the standardized MCP interface.

69 stars on GitHub. Last updated 2025-08-15. Licensed MIT.

Use cases

  • Generate images via Midjourney from Claude or other MCP hosts
  • Create audio content using Udio or Chirp within MCP-compatible workflows
  • Integrate Flux or LumaLabs media generation into custom MCP-based tools

Pros

  • Supports multiple popular media generation services through a single MCP server
  • Standard MCP interface makes integration with Claude and other clients straightforward
  • Open source TypeScript codebase allows for inspection and customization

Cons

  • Requires a PiAPI account and API key for each service used
  • Dependent on external third-party APIs for actual media generation
  • Small community with 69 stars, limited documentation beyond the repository

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Supports multiple popular media generation services through a single MCP server
  • Standard MCP interface makes integration with Claude and other clients straightforward
  • Open source TypeScript codebase allows for inspection and customization

Cons

  • Requires a PiAPI account and API key for each service used
  • Dependent on external third-party APIs for actual media generation
  • Small community with 69 stars, limited documentation beyond the repository

Pairs with

Other entries in the index that connect to this one. Click through to see the chain.

Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks