Skip to main content
Glama
vcv-rack-mcp

vcv-rack-mcp

vcv-rack-mcp

MCP server for VCV Rack 2 built around one insight: .vcv patch files are plain JSON, so an LLM can compose modular synth patches by emitting structured data — no GUI automation, ever.

Status: v0.1.0 released (vcv-rack-mcp-v0.1.0.mcpb). Patch generation, catalog, validation, OSC bridge, SOTA 12-page webapp, Playwright E2E tests, Rack 2 process lifecycle, and agentic workflow all working; bridge-plugin/ C++ live HTTP bridge scaffolded (port 11265). Manual gates P2 (round-trip in Rack) and P3 (OSC e2e) still need a human with Rack open.

Quick Start

git clone https://github.com/sandraschi/vcv-rack-mcp
cd vcv-rack-mcp
uv sync
uv run -m vcv_rack_mcp

Related MCP server: Cardinal MCP Server

Tools

Tool

What it does

vcv_patch

Create, edit, validate, list, get, open_in_rack, rack_status/rack_start/rack_stop/rack_cycle, import patches, set_module_data

vcv_catalog

Search catalog, get module details, verify installed, library link, sideload, suggest rack

vcv_live

OSC address map, performance sheet for live tweaking

vcv_agentic_workflow

ctx.sample loop: brief → generate → validate → retry (max 3)

show_patch_card / show_catalog_card

Prefab UI cards

hub_status

Catalog size, depot health, Rack path

vcv_shutdown

Graceful self-termination (+ POST /api/shutdown)

Architecture

vcv-rack-mcp (port 10916, stdio / HTTP /mcp)
  ├── catalog/modules.yaml — 50 modules, 50/50 generative/performance
  ├── depot/ — .vcv patches + SQLite metadata + sidecar .md
  └──→ osc-mcp (port 10767) — vcv_manager consumes address maps

What's Real vs What Needs Human

Feature

Status

Gate

Catalog (50 modules, incl. Stoermelder TRANSIT)

Done, validated

P1

Patch generation

Done, deterministic

P2 (needs Rack round-trip)

Validation (4 checks, incl. module data)

Done with tests

P2

OSC address map

Done

P3 (needs osc-mcp e2e)

Agentic workflow

Done

P4

Webapp

Done, with Playwright E2E tests

P5

Tauri wrapper

Future

P5

Ports

  • Backend: 10916 (FastMCP + Starlette)

  • Frontend: 10917 (Vite React, active)

  • OSC control: delegates to osc-mcp port 10767

Webapp

The React + Tailwind console on port 10917 includes: Dashboard (KPIs + VCV Rack 2 start/stop), Patch Depot (search/filter/sort/paginate + Compose + Detail), Modules Catalog, VCV Library (installed plugin scan + GitHub sideload), Agentic Jobs, Tools Hub (live schema + runner), Skills (SKILL.md), AI Chat (local Ollama/LM Studio/vLLM), Apps Hub, Logs (Ctrl+L + /logs), Settings (Rack paths + LLM provider/model), and Help (Overview, VCV Rack 2, API & Ports, Troubleshoot, FAQ).

Available Tools

8 tools
hub_statusA
Read-only

Show hub status: catalog size, depot health, Rack path.

Return Format

{"success": bool, "server": str, "version": str, "catalog_size": int, ...}

Examples

hub_status()

Inputs: no named parameters. Returns: object

show_catalog_cardB
Read-only

Show a rich in-chat card for the module catalog.

Return Format

ToolResult with PrefabApp content.

Examples

show_catalog_card(function_tag="osc") show_catalog_card(persona_tag="generative")

Inputs: persona_tag, function_tag. Returns: object

show_patch_cardB
Read-only

Show a rich in-chat card for a patch.

Return Format

ToolResult with PrefabApp content.

Examples

show_patch_card(patch_id="ambient-drone")

Inputs: patch_id (required). Returns: object

vcv_agentic_workflowA

SEP-1577 sampling loop: brief -> catalog selection -> generate -> validate -> retry (max 3).

Uses ctx.sample when available for autonomous iteration. Falls back to structured result with recovery_options for hosts without sampling.

Return Format

{"success": bool, "patch_id": str, "iterations": int, "report": list}

Examples

vcv_agentic_workflow(brief="slow ambient drone, two detuned voices, filtered noise swells, big reverb")

Inputs: brief (required), ctx, persona, max_iterations. Returns: object

vcv_catalogC

Module catalog portmanteau - search, get_module, verify_installed, library_link, sideload, suggest_rack.

Return Format

{"success": bool, "operation": str, ...operation-specific keys}

Examples

vcv_catalog(operation="search", function_tag="osc") vcv_catalog(operation="get_module", plugin_slug="Fundamental", model_slug="VCO") vcv_catalog(operation="suggest_rack", persona_tag="generative", intent="ambient drone")

Inputs: operation (required), url, limit, query, +5 more. Returns: object

vcv_liveC
Read-only

Live performance portmanteau - address_map, performance_sheet.

Return Format

{"success": bool, "operation": str, ...}

Examples

vcv_live(operation="address_map", patch_id="ambient-drone") vcv_live(operation="performance_sheet", patch_id="ambient-drone")

Inputs: operation (required), patch_id. Returns: object

vcv_patchC

Patch authorship portmanteau - create, edit, validate, list, get, open_in_rack, rack_cycle, import, set_module_data.

Return Format

{"success": bool, "operation": str, ...operation-specific keys}

Examples

vcv_patch(operation="create", name="Ambient Drone", persona="generative", description="slow detuned drone") vcv_patch(operation="validate", patch_id="ambient-drone") vcv_patch(operation="list", persona="generative") vcv_patch(operation="set_module_data", patch_id="ambient-drone", module_id=3, presets=[{"label": "A", "values": [0.5, 0.2]}])

Inputs: operation (required), data, name, path, +11 more. Returns: object

vcv_shutdownA
Destructive

Shut down the vcv-rack-mcp server process gracefully.

Responds immediately, then exits the process ~500 ms later so in-flight responses flush (same contract as POST /api/shutdown).

Return Format

{"success": bool, "message": str}

Examples

vcv_shutdown()

Inputs: no named parameters. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 8 tools

    Disambiguation4/5

    The tools divide into mostly distinct domains: patch authoring, catalog lookup, live performance, agentic orchestration, card rendering, status, and shutdown. Minor overlap exists between vcv_patch(create) and vcv_agentic_workflow, and between vcv_catalog and show_catalog_card, but the UI/orchestration intent is reasonably clear.

    Naming Consistency3/5

    All names use snake_case, but conventions are mixed: most tools have a vcv_ prefix while show_patch_card, show_catalog_card, and hub_status do not. Verb styles also vary between domain nouns (vcv_patch), show_* actions, and bare status/shutdown names, though the set remains readable.

    Tool Count5/5

    Eight tools is a well-scoped count for this server's purpose. The portmanteau design keeps the visible tool count small while packing many operations into the main vcv_patch, vcv_catalog, and vcv_live tools.

    Completeness4/5

    Core patch lifecycle operations are covered through create, edit, validate, list, get, import, set_module_data, open_in_rack, and rack_cycle, plus catalog and live-performance support. Minor gaps remain, such as explicit patch deletion/duplication/export and richer catalog management, but agents can work around most of these.

    Maintenance

    ActivityActive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI-powered music composition and synthesis by generating Pure Data patches, VCV Rack modules, and MIDI controller mappings through natural language.
      10
      11 npm
      5
      MIT
    • A
      license
      A
      quality
      Not graded
      maintenance
      Enables AI-powered manipulation of Cardinal/VCV Rack modular synthesizer patches, allowing users to create, analyze, modify, and connect modules and cables through natural language.
      7
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables an LLM to drive a live Bespoke Synth, including module graph editing, control modulation, sequencing, playback control, and audio analysis feedback with visualizations.
      AGPL 3.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Lets an AI agent drive a running Cardinal modular synthesizer remotely, exposing patch listing/loading, module and host parameter tweaking, live rack read-back and save, natural-language parameter lookup, and tone/pattern recipe application. It works externally through Cardinal's OSC messages, autosave file layer, and screenshots, turning a mouse-built synth rack into editable, version-controllable text.
      MIT