apinetwork_piapi-mcp-server

apinetwork_piapi-mcp-server

0

piapi-mcp-server is a TypeScript-based Model Context Protocol server designed to integrate with PiAPI's API for media content generation. It supports generating images, videos, songs, and 3D models via MCP-compatible apps.

piapi-mcp-server

A TypeScript implementation of a Model Context Protocol (MCP) server that integrates with PiAPI's API.

Features

  • Flux Image generation from text descriptions
  • Upcoming features: Flux Image with image prompt, Midjourney Image generation, Kling video generation, Luma Dream Machine video generation, Udio AI song generation, Trellis 3D model generation, Workflow planning inside LLMs

Prerequisites

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

Installation

  1. Clone the repository
  2. Install dependencies
  3. Create a .env file with your PiAPI API Key
  4. Build the project

Usage

Running the Server

  • Start the server using npm

Development

Project Structure