piapi-mcp-server logo

piapi-mcp-server

by MCP-Mirror

A TypeScript implementation of a Model Context Protocol (MCP) server that integrates with PiAPI's API. It allows users to generate media content with various AI services directly from Claude or any other MCP-compatible apps.

View on GitHub

Last updated: N/A

What is piapi-mcp-server?

piapi-mcp-server is a Model Context Protocol (MCP) server built with TypeScript that connects Claude or other MCP-compatible applications to PiAPI. This enables users to generate media content using AI services like Midjourney, Flux, Kling, LumaLabs, Udio, Chrip, and Trellis directly from their chat interface.

How to use piapi-mcp-server?

To use the server, clone the repository, install dependencies, configure the .env file with your PiAPI API key, build the project, and run the server. Then, configure your Claude Desktop application to connect to the server by adding the server configuration to the claude_desktop_config.json file, providing the path to the server's index.js file and your API key.

Key features of piapi-mcp-server

  • Flux Image generation from text descriptions

  • Midjourney Image generation

  • Kling video generation

  • Luma Dream Machine video generation

  • Suno/Udio ai song generation

  • Trellis 3D model generation

  • Workflow planning inside LLMs

Use cases of piapi-mcp-server

  • Generating images from text prompts within Claude

  • Creating videos using AI models directly from a chat interface

  • Generating AI music from text descriptions

  • Creating 3D models using AI

  • Integrating AI media generation into existing workflows

FAQ from piapi-mcp-server

What is PiAPI?

PiAPI is a service that provides an API for accessing various AI media generation models.

What is MCP?

MCP stands for Model Context Protocol, a protocol that allows applications like Claude to interact with external AI models.

How do I get a PiAPI API key?

You can obtain a PiAPI API key by signing up at piapi.ai/workspace/key.

What AI models are supported?

Currently, the server supports Flux, Midjourney, Kling, Luma Dream Machine, Suno/Udio, and Trellis.

Where can I find more documentation?

More documentation can be found at piapi.ai/docs