
apinetwork/piapi-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
apinetwork/piapi-mcp-server は [https://github.com/apinetwork/piapi-mcp-server.] からインポートされた MCP サーバーの候補です
概要
apinetwork/piapi-mcp-server は [https://github.com/apinetwork/piapi-mcp-server.] からインポートされた MCP サーバーの候補です
概要(AI 翻訳)
PiAPI の API と統合するモデルコンテキストプロトコル (MCP) サーバの TypeScript 実装。 PiAPI は、Claude またはその他の MCP 互換アプリから直接、Midjourney/Flux/Kling/LumaLabs/Udio/Chrip/Trellis を使用してメディアコンテンツを生成できます。
特長(近日公開)
Note: Claudeのタイムアウト制限により、ビデオ生成などの時間消費ツールは完了できません
- [x]ベースイメージツールキット
- [x]ベースビデオツールキット
- [x] テキスト/画像プロンプトからイメージ生成を変化させる
- [x] Hunyuan テキスト/画像プロンプトからのビデオ生成
- [x] スカイリール イメージプロンプトからのビデオ生成
- [x] テキスト/画像プロンプトからワンビデオ生成
- [x] ビデオからMMAudio音楽生成
- [x] TTSゼロショットボイス生成
- [ ] ミッドジャーニー イメージ生成
- [x] 想像
- [ ] その他
- [x]Klingビデオとエフェクト生成
- [x] Luma Dream Machineビデオ生成
- [x] サンオ音楽生成
- [ ] Suno Lyricsの生成
- [ ] Udio 音楽と歌詞の生成
- [x] 画像からトレリス3Dモデル生成
- [ ] LLM内のワークフロー計画
Claudeデスクトップの例で動作する
前提条件
- Node.js 16.x以上
- npmかヤーン
- PiAPI API キー (piapi.ai で 1 つを 1 つ取得)
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
piapi-mcp-server
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/LumaLabs/Udio/Chrip/Trellis directly from Claude or any other MCP-compatible apps.
Features (more coming soon)
Note: Time-consuming tools like video generation may not complete due to Claude’s timeout limitations
- [x] Base Image toolkit
- [x] Base Video toolkit
- [x] Flux Image generation from text/image prompt
- [x] Hunyuan Video generation from text/image prompt
- [x] Skyreels Video generation from image prompt
- [x] Wan Video generation from text/image prompt
- [x] MMAudio Music generation from video
- [x] TTS Zero-Shot voice generation
- [ ] Midjourney Image generation
- [x] imagine
- [ ] other
- [x] Kling Video and Effects generation
- [x] Luma Dream Machine video generation
- [x] Suno Music generation
- [ ] Suno Lyrics generation
- [ ] Udio Music and Lyrics generation
- [x] Trellis 3D model generation from image
- [ ] Workflow planning inside LLMs
Working with Claude Desktop Example
Prerequisites
- Node.js 16.x or higher
- npm or yarn
- A PiAPI API key (get one at piapi.ai)
Installation
Installing via Smithery
To install PiAPI MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install piapi-mcp-server --client claude
Manual Installation
- Clone the repository:
git clone https://github.com/apinetwork/piapi-mcp-server
cd piapi-mcp-server
- Install dependencies:
npm install
- Build the project:
npm run build
After building, a dist/index.js file will be generated. You can then configure this file with Claude Desktop and other applications. For detailed configuration instructions, please refer to the Usage section.
- (Optional) Test server with MCP Inspector:
First, create a .env file in the project root directory with your API key:
PIAPI_API_KEY=your_api_key_here
Then run the following command to start the MCP Inspector:
npm run inspect
インストール
npx -y @smithery/cli install piapi-mcp-server --client claude設定
{
"mcpServers": {
"piapi": {
"command": "node",
"args": ["/absolute/path/to/piapi-mcp-server/dist/index.js"],
"env": {
"PIAPI_API_KEY": "your_api_key_here"
}
}
}
}