@felores/kie-ai-mcp-server 3.1.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -46
- package/dist/index.js +324 -325
- package/dist/kie-ai-client.d.ts +3 -3
- package/dist/kie-ai-client.js +114 -111
- package/dist/types.d.ts +189 -131
- package/dist/types.js +118 -89
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Kie.ai offers **30-50% lower cost** than competitors with 99.9% uptime and 24/7
|
|
|
6
6
|
|
|
7
7
|
## 📚 Documentation
|
|
8
8
|
|
|
9
|
-
- **[Complete Tool Reference](docs/TOOLS.md)** - Detailed documentation for all
|
|
9
|
+
- **[Complete Tool Reference](docs/TOOLS.md)** - Detailed documentation for all 24 AI tools
|
|
10
10
|
- **[Database & Task Management](docs/DATABASE.md)** - SQLite database and task lifecycle
|
|
11
11
|
- **[Administrator Configuration](docs/ADMIN.md)** - Deployment guides and environment setup
|
|
12
12
|
- **[Intelligent Features](docs/INTELLIGENCE.md)** - Smart mode detection and cost optimization
|
|
@@ -33,10 +33,9 @@ The easiest way to use this server is to add it to your MCP client configuration
|
|
|
33
33
|
|
|
34
34
|
**That's it!** No callback URL setup required - the server handles it automatically.
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
<summary><strong>🎛️ Filter Tools (optional - click to expand)</strong></summary>
|
|
36
|
+
### 🎛️ Enable Only the Tools You Need
|
|
38
37
|
|
|
39
|
-
Reduce cognitive load by enabling only the
|
|
38
|
+
25 tools is a lot. Reduce cognitive load by enabling only what you use. Add the env var to the config above:
|
|
40
39
|
|
|
41
40
|
**Whitelist (enable specific tools only):**
|
|
42
41
|
```json
|
|
@@ -47,48 +46,26 @@ Reduce cognitive load by enabling only the tools you need:
|
|
|
47
46
|
"args": ["-y", "@felores/kie-ai-mcp-server"],
|
|
48
47
|
"env": {
|
|
49
48
|
"KIE_AI_API_KEY": "your-api-key-here",
|
|
50
|
-
"KIE_AI_ENABLED_TOOLS": "
|
|
49
|
+
"KIE_AI_ENABLED_TOOLS": "gpt_image_2,wan_video,suno_generate_music"
|
|
51
50
|
}
|
|
52
51
|
}
|
|
53
52
|
}
|
|
54
53
|
}
|
|
55
54
|
```
|
|
56
55
|
|
|
57
|
-
**Category filter (enable
|
|
56
|
+
**Category filter (enable all image + video tools):**
|
|
58
57
|
```json
|
|
59
|
-
|
|
60
|
-
"mcpServers": {
|
|
61
|
-
"kie-ai": {
|
|
62
|
-
"command": "npx",
|
|
63
|
-
"args": ["-y", "@felores/kie-ai-mcp-server"],
|
|
64
|
-
"env": {
|
|
65
|
-
"KIE_AI_API_KEY": "your-api-key-here",
|
|
66
|
-
"KIE_AI_TOOL_CATEGORIES": "image,video"
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
58
|
+
"KIE_AI_TOOL_CATEGORIES": "image,video"
|
|
71
59
|
```
|
|
72
60
|
|
|
73
61
|
**Blacklist (disable specific tools):**
|
|
74
62
|
```json
|
|
75
|
-
|
|
76
|
-
"mcpServers": {
|
|
77
|
-
"kie-ai": {
|
|
78
|
-
"command": "npx",
|
|
79
|
-
"args": ["-y", "@felores/kie-ai-mcp-server"],
|
|
80
|
-
"env": {
|
|
81
|
-
"KIE_AI_API_KEY": "your-api-key-here",
|
|
82
|
-
"KIE_AI_DISABLED_TOOLS": "midjourney_generate,runway_aleph_video"
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
63
|
+
"KIE_AI_DISABLED_TOOLS": "midjourney_generate,runway_aleph_video"
|
|
87
64
|
```
|
|
88
65
|
|
|
89
|
-
**Categories:** `image` | `video` | `audio`
|
|
66
|
+
**Categories:** `image` (9) | `video` (11) | `audio` (3) -- Utility tools (`list_tasks`, `get_task_status`) are always enabled.
|
|
90
67
|
|
|
91
|
-
|
|
68
|
+
**Priority:** `ENABLED_TOOLS` > `TOOL_CATEGORIES` > `DISABLED_TOOLS` > all tools (default)
|
|
92
69
|
|
|
93
70
|
**For Claude Desktop:** Add this to `~/Library/Application Support/Claude/claude_desktop_config.json` (Mac) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows)
|
|
94
71
|
|
|
@@ -106,7 +83,6 @@ Reduce cognitive load by enabling only the tools you need:
|
|
|
106
83
|
### 🚀 All AI Models in One API
|
|
107
84
|
|
|
108
85
|
- **Google Veo 3**: Cinematic video generation with synchronized audio and 1080p output
|
|
109
|
-
- **OpenAI Sora 2**: Advanced video generation with text/image/storyboard modes (unified)
|
|
110
86
|
- **Runway Aleph**: Advanced video editing with object removal and style transfer
|
|
111
87
|
- **Suno V5**: Professional music generation with realistic vocals up to 8 minutes
|
|
112
88
|
- **Nano Banana 2**: Lightning-fast image generation and editing with Google Search grounding (unified tool)
|
|
@@ -114,9 +90,10 @@ Reduce cognitive load by enabling only the tools you need:
|
|
|
114
90
|
- **ByteDance Seedance**: High-quality video with text-to-video and image-to-video (unified)
|
|
115
91
|
- **ByteDance Seedream V5 Lite**: Advanced image generation and editing with unified interface
|
|
116
92
|
- **Qwen**: Powerful image generation and editing with acceleration options (unified)
|
|
117
|
-
- **
|
|
93
|
+
- **GPT Image 2**: Advanced image generation and editing with up to 16 reference images (unified)
|
|
118
94
|
- **Flux Kontext**: Professional image generation and editing with advanced features (unified)
|
|
119
|
-
- **Alibaba Wan 2.
|
|
95
|
+
- **Alibaba Wan 2.7**: Multi-mode video generation with T2V, I2V, R2V, and video-edit (unified)
|
|
96
|
+
- **HappyHorse 1.0**: Multi-mode video generation with T2V, I2V, R2V (9 refs), and video-edit with audio
|
|
120
97
|
- **Hailuo 02**: Professional video generation with text-to-video and image-to-video modes (unified, standard/pro quality)
|
|
121
98
|
- **Kling 3.0**: Advanced video generation with 3-15s duration, multi-shot storytelling, and native audio
|
|
122
99
|
- **Midjourney AI**: Industry-leading image and video generation with multiple modes (unified)
|
|
@@ -164,16 +141,16 @@ Your AI assistant can research and learn about available models before using the
|
|
|
164
141
|
- `kie://guides/video-models-comparison` - Feature matrix for all video models
|
|
165
142
|
- `kie://guides/quality-optimization` - Cost/quality strategies
|
|
166
143
|
|
|
167
|
-
### 🛠️
|
|
144
|
+
### 🛠️ 24 Unified AI Tools
|
|
168
145
|
|
|
169
146
|
All tools feature **smart mode detection** - one tool does multiple things:
|
|
170
147
|
|
|
171
148
|
| Category | Tools |
|
|
172
149
|
|----------|-------|
|
|
173
|
-
| **Image (
|
|
174
|
-
| **Video (
|
|
150
|
+
| **Image (9)** | `nano_banana_image`, `bytedance_seedream_image`, `qwen_image`, `gpt_image_2`, `flux_kontext_image`, `flux2_image`, `topaz_upscale_image`, `recraft_remove_background`, `ideogram_reframe` |
|
|
151
|
+
| **Video (10)** | `veo3_generate_video`, `bytedance_seedance_video`, `wan_video`, `happyhorse_video`, `hailuo_video`, `kling_video`, `runway_aleph_video`, `wan_animate`, `midjourney_generate` |
|
|
175
152
|
| **Audio (3)** | `suno_generate_music`, `elevenlabs_tts`, `elevenlabs_ttsfx` |
|
|
176
|
-
| **Utility (
|
|
153
|
+
| **Utility (2)** | `list_tasks`, `get_task_status` |
|
|
177
154
|
|
|
178
155
|
**→ [See complete tool documentation](docs/TOOLS.md)**
|
|
179
156
|
|
|
@@ -280,8 +257,8 @@ export KIE_AI_DISABLED_TOOLS="midjourney_generate,runway_aleph_video"
|
|
|
280
257
|
**Priority Logic**: `ENABLED_TOOLS` > `TOOL_CATEGORIES` > `DISABLED_TOOLS` > All tools (default)
|
|
281
258
|
|
|
282
259
|
**Tool Categories**:
|
|
283
|
-
- **image** (
|
|
284
|
-
- **video** (
|
|
260
|
+
- **image** (9): nano_banana, seedream, qwen, gpt_image_2, flux_kontext, flux2, topaz, recraft, ideogram, midjourney*
|
|
261
|
+
- **video** (10): veo3, seedance, wan_video, happyhorse_video, hailuo, kling, runway, wan_animate, midjourney*
|
|
285
262
|
- **audio** (3): suno, elevenlabs_tts, elevenlabs_ttsfx
|
|
286
263
|
- **utility** (2): list_tasks, get_task_status ⭐ **Always enabled**
|
|
287
264
|
|
|
@@ -341,12 +318,11 @@ Or if installed globally with npx:
|
|
|
341
318
|
### Generate Video
|
|
342
319
|
```json
|
|
343
320
|
{
|
|
344
|
-
"tool": "
|
|
321
|
+
"tool": "wan_video",
|
|
345
322
|
"arguments": {
|
|
346
323
|
"prompt": "A peaceful garden with blooming flowers and butterflies",
|
|
347
|
-
"model": "sora-2",
|
|
348
324
|
"resolution": "1080p",
|
|
349
|
-
"duration":
|
|
325
|
+
"duration": 5
|
|
350
326
|
}
|
|
351
327
|
}
|
|
352
328
|
```
|
|
@@ -422,7 +398,7 @@ The server includes a built-in SQLite database for persistent task tracking:
|
|
|
422
398
|
|
|
423
399
|
```bash
|
|
424
400
|
# Generate social media video content
|
|
425
|
-
|
|
401
|
+
wan_video: "A trendy coffee shop with latte art, cinematic lighting"
|
|
426
402
|
|
|
427
403
|
# Create product photography
|
|
428
404
|
nano_banana_image: "Luxury watch on marble surface, professional product shot"
|
|
@@ -470,7 +446,7 @@ elevenlabs_tts: "Tap here to get started with your new profile"
|
|
|
470
446
|
veo3_generate_video: "Professional office environment, employee training scenario"
|
|
471
447
|
|
|
472
448
|
# Create corporate presentations
|
|
473
|
-
|
|
449
|
+
gpt_image_2: "Add company logo to presentation slide, maintain professional style"
|
|
474
450
|
|
|
475
451
|
# Produce marketing content
|
|
476
452
|
suno_generate_music: "Corporate background music for promotional video"
|