wikivibe-images-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@wikivibe-images-mcp сгенерируй картинку: рыжий кот в космическом шлеме, фотореализм"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
wikivibe-images-mcp
MCP-сервер для генерации и редактирования изображений через WikiVibe. Работает в любом агенте с поддержкой MCP: OMP, Codex CLI, Claude Code, Cursor, opencode/Orca.
Поставил → сказал «сделай картинку через wikivibe» → получил файл.
┌──────────────┐
│ OMP │─┐
│ Codex CLI │─┤ stdio ┌────────────────┐ HTTPS ┌──────────────────┐
│ Claude Code │─┼───────────▶│wikivibe-images │──────────▶│ api.wikivibe.ru │
│ Cursor │─┤ │ (один бандл) │ │ /images/… │
│ opencode │─┘ └────────┬───────┘ └──────────────────┘
└──────────────┘ │
~/.wikivibe/credentials.json (0600)Быстрый старт
npx -y wikivibe-images-mcp login # сохранить ключ (один раз)
npx -y wikivibe-images-mcp setup all # прописать сервер во все агентыПерезапустить агент и попросить:
сделай картинку через wikivibe: рыжий кот в космическом шлеме, фотореализм
Агент вызовет generate_image, получит путь к файлу и покажет картинку.
setup без аргументов или с all обходит все клиенты; можно указать выборочно:
npx -y wikivibe-images-mcp setup omp codexДоступные имена: omp, claude, codex, cursor, opencode (она же orca).
setup копирует собранный сервер в ~/.wikivibe/bin/wikivibe-images-mcp.js и прописывает
именно этот путь. Конфиги агентов не зависят ни от каталога репозитория, ни от кэша npx:
после обновления достаточно заново выполнить setup.
Related MCP server: imaginate-mcp
Ручная настройка
Если не хотите запускать setup, добавьте сервер сами. Везде ниже используется
стабильная копия; вместо неё можно указать npx -y wikivibe-images-mcp mcp.
OMP — ~/.omp/agent/mcp.json:
{
"mcpServers": {
"wikivibe": {
"command": "node",
"args": ["/Users/YOU/.wikivibe/bin/wikivibe-images-mcp.js", "mcp"],
"timeout": 300000
}
}
}Codex CLI — ~/.codex/config.toml:
[mcp_servers.wikivibe]
command = "node"
args = ["/Users/YOU/.wikivibe/bin/wikivibe-images-mcp.js", "mcp"]
tool_timeout_sec = 300Claude Code:
claude mcp add --scope user wikivibe -- node ~/.wikivibe/bin/wikivibe-images-mcp.js mcpCursor — ~/.cursor/mcp.json: тот же JSON, что и для OMP.
opencode / Orca — ~/.config/opencode/opencode.json:
{
"mcp": {
"wikivibe": {
"type": "local",
"command": ["node", "/Users/YOU/.wikivibe/bin/wikivibe-images-mcp.js", "mcp"],
"enabled": true
}
}
}Таймауты. Генерация одной картинки занимает 25–45 секунд, а клиенты по умолчанию обрывают MCP-вызов раньше. Поэтому в OMP нужен
"timeout": 300000, в Codex —tool_timeout_sec = 300, в Claude Code —MCP_TOOL_TIMEOUT=300000в окружении.
Инструменты
Инструмент | Параметры | Что делает |
|
| создаёт изображения по тексту |
|
| правит локальные файлы (inpainting, restyle, замена объектов) |
| — | какие image-модели доступны ключу |
Каждый результат — путь к файлу на диске и сам файл как MCP image-блок, поэтому картинку видно и в агентах без доступа к файловой системе.
Несколько картинок за один вызов
// варианты одного промпта
{ "prompt": "керамическая чашка, продуктовое фото", "n": 3 }
// разные картинки
{ "prompts": ["лиса акварелью", "кит акварелью", "сова акварелью"] }Максимум 4 изображения за вызов. Запросы идут строго последовательно: API WikiVibe
не принимает n > 1 для gpt-image-* (апстрим отвечает unknown_parameter: tools[0].n),
а параллельные вызовы роняют его в 502. Время растёт линейно — примерно 25–45 секунд
на картинку.
Ключ API
Ключ хранится только в ~/.wikivibe/credentials.json (права 0600, каталог 0700).
В конфиги агентов он не попадает — там лишь команда запуска.
wikivibe-images login # интерактивно, ввод скрыт
wikivibe-images login --key sk-… # для CI
wikivibe-images import # подхватить WIKIVIBE_API_KEY из ~/.omp/.env или ./.env
wikivibe-images status # проверить ключ, base URL и доступные моделиПриоритет источников: WIKIVIBE_API_KEY → ~/.wikivibe/credentials.json.
Переменные окружения
Переменная | Назначение |
| ключ, переопределяет сохранённый |
| по умолчанию |
| модель по умолчанию (сейчас |
| куда складывать файлы (по умолчанию системный temp) |
| где лежит |
CLI без агента
wikivibe-images image "постер: закат над морем, минимализм"
wikivibe-images modelswikivibe-images — это тот же файл, что лежит в ~/.wikivibe/bin/. Можно добавить в PATH:
ln -s ~/.wikivibe/bin/wikivibe-images-mcp.js /usr/local/bin/wikivibe-imagesОшибки
Что видно | Причина и что делать |
| ключ неверный или отозван → |
| у группы ключа выключен |
| апстрим не принимает |
| перегружен апстрим-провайдер; клиент делает одну повторную попытку через 12 с. Не запускайте несколько генераций параллельно |
клиент оборвал вызов по таймауту | поднимите лимит MCP: |
Разработка
Нужен Node.js 20+.
npm install
npm run typecheck
npm run build # esbuild → dist/cli.js, самодостаточный бандл
node dist/cli.js status
node dist/cli.js setup ompПроверка MCP-протокола вручную:
printf '%s\n' \
'{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"probe","version":"1"}}}' \
'{"jsonrpc":"2.0","method":"notifications/initialized"}' \
'{"jsonrpc":"2.0","id":2,"method":"tools/list"}' | node dist/cli.js mcpСтруктура:
Файл | Роль |
| команды |
| регистрация MCP-инструментов и схем |
| генерация, редактирование, сохранение файлов |
| HTTP-клиент: очередь, backoff, разбор ошибок |
| хранение и поиск ключа |
Ссылки
Лицензия
MIT
Available Tools
3 toolsedit_imageEdit image (WikiVibe)B
Edit one or more existing images with a prompt (inpainting, restyle, object changes). Reference images come from local file paths.
Inputs: images (required), prompt (required), n, size, +3 more.
generate_imageGenerate image (WikiVibe)A
Generate images from text through WikiVibe. Pass prompt for one image, prompts for several different images, or n for variations of the same prompt. Images run sequentially; up to 4 per call.
Inputs: n, size, model, prompt, +3 more.
list_image_modelsList image models (WikiVibe)ARead-onlyIdempotent
List image-generation models available to the configured WikiVibe key.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
The three tools have clearly distinct purposes: generate_image creates images, edit_image modifies existing images, and list_image_models enumerates available models. There is no overlap in resource or action, so an agent can easily select the right tool.
All names use consistent snake_case with an imperative verb first: generate_image, edit_image, list_image_models. The pattern is predictable across the set, with only a minor difference in noun length for the listing tool.
Three tools is a focused, reasonable size for an image-generation server, and each tool earns its place. It is slightly thin compared to servers that include retrieval or history operations, but not problematically so.
The set covers the core lifecycle: generating images, editing them, and discovering available models. Minor gaps exist, such as no explicit retrieval or deletion of generated images, but the primary workflows are supported.
Maintenance
Related MCP Connectors
Generate images from Claude, ChatGPT, Cursor and Codex with 12 top AI image models. Up to 4 images per call, SVG vectorization, background removal, upscaling and image-to-video. Remote MCP with OAuth, no API keys.
Generate images from Claude, ChatGPT, Cursor and Codex with 12 top AI image models and 10 tools: up to 4 images per call, SVG vectorization, editing and more. Remote MCP with OAuth, no API keys. Pay per image, no subscription.
Create images & video from any MCP agent — 17 models, spend limits, one URL.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables coding agents to generate and edit images using Gemini and OpenAI image models, saving files directly into the project with configurable providers, models, and security restrictions.389 npm1MIT
- AlicenseAqualityCmaintenanceGenerates and edits images using OpenAI GPT Image or Google Gemini models, saving every result to disk and returning local file paths so AI assistants can continue working with the images. It enables prompt-based image creation, editing, inpainting, multi-image composition, and model listing through MCP tools.118 npm1Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables MCP-capable agents to generate and edit images through Gemini or OpenAI, returning an absolute file path instead of image bytes to keep context windows clean.1MIT
- AlicenseNot gradedqualityAmaintenanceEnables MCP clients such as Codex, Cursor, and Claude Code to generate and edit images by optimizing prompts before sending them to Gemini, OpenAI, or BytePlus Seedream, with quality presets and configurable output. Generated files are saved to disk and returned to the assistant as MCP resources.2,138 npmMIT