piapi-mcp-server

piapi-mcp-server

45

The piapi-mcp-server is a TypeScript-based server that implements the Model Context Protocol (MCP), integrated with the PiAPI's API to facilitate media content generation. It supports a range of tools for image, video, and music creation and is compatible with applications like Claude Desktop.

piapi-mcp-server

A TypeScript implementation of a Model Context Protocol (MCP) server with integration for PiAPI's API. It enables media content generation using tools like Midjourney, Flux, Kling, and more, connecting to Claude and other MCP-compatible applications.

Features

  • Image and Video toolkits
  • Image generation with Flux and Midjourney
  • Video generation with Hunyuan, Skyreels, Wan
  • Music and Lyrics generation with MMAudio, Suno, Udio
  • 3D Model generation with Trellis

Prerequisites

  • Node.js 16.x
  • npm or yarn
  • PiAPI API key

Installation

  1. Clone the repository
  2. Install dependencies
  3. Build the project

Usage

  • Connect to Claude Desktop or Cursor for functionality
  • Utilize MCP Inspector for testing and debugging

Development

  • Organized project structure including TypeScript setup and essential assets.