VibeGen

io.github.marstudio360v1.0.0更新於 Oct 6, 2026

Lets your AI drive a live generative art studio: read the canvas, move knobs, switch engines.

已驗證STDIO僅桌面Developer ToolsMedia & Design

概覽

AI 產生的概覽

將 AI 助理連接到正在運作的 VibeGen 生成藝術工作室,讓它能讀取畫布、調整參數、切換引擎並儲存預設集。

功能
VibeGen MCP 透過工作室的 HTTP API 與即時運作的 VibeGen 工作室通訊。助理可以讀取目前的引擎、參數值、結構與已套用的配方,進行部分參數更新、切換引擎,並短暫突顯它正在討論的滑桿。它也能列出、讀取、寫入與套用預設集 JSON 檔案,擷取畫布的 PNG 快照,以及讀取或取代引擎的 GLSL 或 TypeScript 原始碼,取代後會熱重新載入到畫布中。
適用情境
當你已經運作或使用 VibeGen 生成藝術工作室,並希望助理檢視與操控即時畫布、調整參數、管理預設集,或在瀏覽器中觀察結果的同時編輯引擎原始碼時,適合使用。
執行需求
本機 Python 3.11+ 執行環境及此伺服器的 Python 相依套件。需要一個可連線的 VibeGen 工作室,可以是自己的執行個體或託管版本,透過 STUDIO_URL 設定(預設 STUDIO_TOKEN 提供並以 x-studio-token 標頭傳送。僅限桌面端;畫面在瀏覽器中使用你自己的 GPU 算繪。
安裝前請注意
STUDIO_TOKEN 是共用密鑰,僅當你的工作室伺服器啟用了 STUDIO_API_TOKEN 時才應設定。此伺服器可以寫入預設集檔案並取代引擎原始碼,取代後會熱重新載入到即時畫布,因此變更會立即生效。所有呼叫只會送往 STUDIO_URL,不會送往其他地方,因此請只指向你信任的工作室。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 VibeGen,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

VibeGen MCP

Lets your AI drive a live generative art studio: read the canvas, move knobs, switch engines.

VibeGen MCP connects your AI to a running VibeGen generative art studio over the studio's HTTP API. It reads the live canvas state and every parameter, moves sliders and switches engines in real time, briefly highlights the controls it is talking about, saves, lists, reads and applies presets as JSON files, and captures a PNG snapshot of the canvas so the AI can see what it made. It can also read an engine's source (GLSL or TypeScript) and write a new version that hot-reloads into the canvas.

Point it at the hosted studio (reached through vibedna.ai/studio) or at your own instance. The art renders in the browser, on your own GPU. What the studio allows depends on your studio tier: writing engine source needs a token that the studio accepts.

Homepage: https://vibedna.ai/store/vibegen

Tools (12)

ToolWhat it does
get_state()Engine id, every parameter value, schema, applied recipe
set_params(params)Partial parameter update, applied live
set_engine(engine_id)Switch engine
highlight_params(keys)Briefly flash specific sliders
list_saves()List preset JSON files in the studio's saves folder
read_save(rel_path)Read one preset
write_save(rel_path, content)Write a preset
apply_save(rel_path)Load a preset into the live studio
read_engine_source(engine_id)Read an engine's source
write_engine_source(engine_id, code)Replace an engine's source; the studio hot-reloads it
snapshot_canvas(save_to, timeout_seconds)PNG capture of the live canvas
vibedna_info()What this MCP does and which studio it points at

Install

bash
git clone https://github.com/marstudio360/vibegen-mcpcd vibegen-mcppip install -r requirements.txt

Python 3.11+.

Claude Code

bash
claude mcp add vibegen --scope user -e STUDIO_URL=http://localhost:3000 -- python /absolute/path/to/vibegen-mcp/server.py

Or in a project's .mcp.json:

json
{  "mcpServers": {    "vibegen": {      "command": "python",      "args": ["/absolute/path/to/vibegen-mcp/server.py"],      "env": {        "STUDIO_URL": "http://localhost:3000",        "STUDIO_TOKEN": ""      }    }  }}

Cursor

Add the same mcpServers block to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project).

Claude Desktop

Add the same mcpServers block to claude_desktop_config.json (Settings > Developer > Edit Config), then restart Claude Desktop.

The shortest path for the hosted studio: open vibedna.ai/studio, click Set up in your AI, and drop the file it gives you into your AI chat. INSTALL.md covers the manual path step by step.

Configuration

VariableDefaultWhat it does
STUDIO_URLhttp://localhost:3000The studio API host to drive
STUDIO_TOKEN(empty)Sent as x-studio-token; needed only when the studio enforces one

To watch the changes live, open the studio with ?remote=1 (for example http://localhost:3000/?remote=1).

Network

Every call goes to STUDIO_URL and nowhere else.

License

MIT, see LICENSE. Copyright (c) 2026 VibeDNA.

Support: [email protected]

來源:README.md,提交 ee4b975

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v1.0.0最新Oct 6, 2026