MK

mrdainami/kie-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

41 stars 14 forks Качество 82 Тренд 20MIT

Минимальный MCP-сервер для вызова любой конечной точки KIE.ai. Чистый HTTP shim — нет реестра моделей; агент создает полезные нагрузки из docs.kie.ai.

Обзор

Пусть ваш ИИ-агент генерирует новейшие модели ИИ — Seedance, Kling, GPT Image 2, Nano Banana, Suno V4 и все новые корабли KIE — не выходя из чата. Крошечный MCP-сервер, который позволяет вызывать модель на KIE.ai от вашего имени. Сделайте видео 9:16 с Seedance 2.0 Pro. Отредактируйте фотографию продукта с Nano Banana 2. Снимите 5-панельную раскадровку с GPT Image 2. Составьте саундтрек с Suno V4. 5 общих инструментов вместо одного инструмента на модель. Агент считывает форму JSON с docs.kie.ai, когда это необходимо, и сам создает полезную нагрузку. Когда KIE отправляет новую модель завтра, этот пакет не должен обновляться - агент просто указывает на новые документы. 1. Перейдите на kie.ai, войдите, откройте Dashboard, затем API Keys. Создайте его и скопируйте. Вы будете вставлять его во время установки. 2.На этой странице нажмите зеленую кнопку, затем . Разблокируйте его и переместите папку kie-mcp куда-нибудь постоянно, как папку Документы. Ваше приложение будет указывать на эту папку навсегда, поэтому не оставляйте ее в загрузках.

Обзор (машинный перевод)

Пусть ваш агент ИИ генерирует ** изображения, видео и музыку** с помощью новейших моделей ИИ — Seedance, Kling, GPT Image 2, Nano Banana, Suno V4 и любых новых кораблей KIE — не выходя из чата.

Крошечный MCP-сервер, который позволяет Claude (код или рабочий стол), Codex или любому клиенту MCP звонить любой модели на KIE.ai от вашего имени. Сделайте видео 9:16 с Seedance 2.0 Pro. Отредактируйте фотографию продукта с Nano Banana 2. Снимите 5-панельную раскадровку с GPT Image 2. Составьте саундтрек с Suno V4.

Он намеренно тупой нарочно: 5 общих инструментов вместо одного инструмента на модель. Агент считывает форму JSON с docs.kie.ai, когда это необходимо, и сам создает полезную нагрузку. Когда KIE отправляет новую модель завтра, этот пакет не должен обновляться - агент просто указывает на новые документы.

Настройка

Во-первых, две вещи, одинаковые для всех:

  1. ** Получить ключ API KIE.ai.** Перейдите на kie.ai, войдите, откройте Dashboard, затем API Keys. Создайте его и скопируйте. Вы будете вставлять его во время установки. 2.Загрузить разъем. На этой странице нажмите зеленую кнопку Code, затем Загрузите ZIP. Отсоедините его и переместите папку kie-mcp где-нибудь постоянно, как папку Документы.

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

dainami-kie-mcp

Let your AI agent generate images, videos, and music with the latest AI models — Seedance, Kling, GPT Image 2, Nano Banana, Suno V4, and anything new KIE ships — without leaving the chat.

A tiny MCP server that lets Claude (Code or Desktop), Codex, or any MCP client call any model on KIE.ai on your behalf. Make a 9:16 video with Seedance 2.0 Pro. Edit a product photo with Nano Banana 2. Render a 5-panel storyboard with GPT Image 2. Compose a soundtrack with Suno V4.

It’s intentionally dumb on purpose: 5 generic tools instead of one tool per model. The agent reads the JSON shape from docs.kie.ai when it needs to, and constructs the payload itself. When KIE ships a new model tomorrow, this package doesn’t have to update — the agent just points at the new docs.


Get set up

Two things first, same for everyone:

  1. Get a KIE.ai API key. Go to kie.ai, sign in, open Dashboard, then API Keys. Create one and copy it. You will paste it during setup.
  2. Download the connector. On this page, click the green Code button, then Download ZIP. Unzip it and move the kie-mcp folder somewhere permanent, like your Documents folder. Your app will point at this folder forever, so don’t leave it in Downloads.

Then find your app below:

Your app What setup looks like Needs Node.js?
Claude Desktop (chat and cowork) Drag one file in No
Codex (ChatGPT desktop app) Fill in a settings form Yes
Codex CLI Paste one command Yes
Claude Code Paste one command Yes

Node.js is a free runtime the connector runs on. If your app needs it, go to nodejs.org, click Get Node.js, download the installer for your computer, and click through it once. Claude Desktop skips this because it has its own copy built in.


Claude Desktop (drag and drop)

  1. Open the folder you downloaded and find kie-mcp.mcpb. (You can also grab just this file from the releases page and skip the ZIP entirely.)
  2. Drag it onto the Claude Desktop window, or go to Settings, then Extensions, and pick it.
  3. When Claude asks for your KIE API key, paste it.
  4. Quit Claude Desktop fully and reopen it.

To check it worked: open a chat, click the + button, then Connectors. “KIE.ai” should be listed with its tools.

This covers cowork too. Connectors installed in Claude Desktop are shared with cowork sessions, so there is nothing separate to set up.


Codex (ChatGPT desktop app)

  1. Install Node.js if you don’t have it yet: click Get Node.js on that page, download the installer, click through it.
  2. Get the path to the connector file. In Finder, open your kie-mcp folder, then the dist folder inside it, and find index.js. Right-click it, hold the Option key, and choose Copy “index.js” as Pathname.
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "kie": { "command": "node", "args": ["/absolute/path/to/kie-mcp/dist/index.js"], "env": { "KIE_API_KEY": "kie-..." } } } }