Skip to main content
Glama
Cardinal MCP Server

Cardinal MCP Server

by minimaltek

Cardinal MCP Server

MCP (Model Context Protocol) server for Cardinal/VCV Rack patch manipulation with AI.

World's first AI integration for modular synthesizer patching!

Features

  • Analyze patches - Understand what a patch does

  • Create patches - Generate patches from templates

  • Add modules - Insert new modules into patches

  • Connect modules - Wire up modules with cables

  • Suggest modules - Get recommendations based on your goal

  • Modify parameters - Adjust knobs and settings

Related MCP server: synthlab-mcp

Installation

# Clone this repository
git clone https://github.com/YOUR_USERNAME/cardinal-mcp-server.git
cd cardinal-mcp-server

# Install dependencies
npm install

# Build
npm run build

Usage with Claude Code

Add to your Claude Code settings (~/.claude/settings.json):

{
  "mcpServers": {
    "cardinal": {
      "command": "node",
      "args": ["/path/to/cardinal-mcp-server/dist/index.js"]
    }
  }
}

Then restart Claude Code.

Available Tools

analyze_patch

Analyze a .vcv patch file and explain what it does.

"Analyze the patch at /path/to/my-patch.vcv"

create_patch

Create a new patch from a template.

Templates:

  • basic-synth - Simple VCO → ADSR → VCA → Output

  • ambient-pad - VCO → VCF (with LFO) → ADSR → VCA → Output

  • empty - Blank patch

"Create an ambient pad patch at ~/Desktop/my-ambient.vcv"

suggest_modules

Get module suggestions for what you want to create.

"Suggest modules for a bass sound"
"Suggest modules for an ambient pad"
"Suggest modules for drum sounds"

add_module

Add a module to an existing patch.

"Add a Fundamental:VCF filter to my patch"

connect_modules

Connect two modules with a cable.

"Connect module 2 output 0 to module 3 input 1"

list_modules

List available modules in the database.

"List all oscillator modules"
"List all filter modules"

modify_parameter

Change a parameter value on a module.

"Set the attack (param 0) on module 3 to 0.5"

Example Conversation

You: Create a basic synth patch for me

Claude: I'll create a basic-synth patch with VCO → ADSR → VCA → Audio Out...

You: Make the attack longer

Claude: I'll modify the ADSR attack parameter...

You: Add a filter between the VCO and VCA

Claude: Adding a Fundamental:VCF and reconnecting the signal flow...

Supported Modules

Currently includes definitions for:

  • Oscillators: Fundamental VCO, Bogaudio VCO

  • Filters: Fundamental VCF

  • Envelopes: Fundamental ADSR

  • VCAs: Fundamental VCA-1

  • Modulation: Fundamental LFO

  • Sequencers: Fundamental SEQ-3

  • Effects: Valley Plateau

  • Utilities: Fundamental Mixer

  • I/O: Cardinal HostMIDI, HostAudio2

More modules can be added to the MODULE_DATABASE in the source code.

Contributing

PRs welcome! To add more modules:

  1. Add entries to MODULE_DATABASE with description, category, inputs, and outputs

  2. Optionally add new patch templates to PATCH_TEMPLATES

License

MIT

  • Cardinal - The free and open-source virtual modular synthesizer

  • VCV Rack - The original virtual Eurorack

  • MCP Protocol - Model Context Protocol specification

Available Tools

7 tools
add_moduleB

Add a module to an existing patch

Inputs: model (required), plugin (required), filepath (required), position_x, +1 more.

analyze_patchA

Analyze a Cardinal/VCV Rack patch file (.vcv) and explain what it does

Inputs: filepath (required).

connect_modulesB

Connect two modules with a cable

Inputs: filepath (required), to_input (required), from_output (required), to_module_id (required), +2 more.

create_patchC

Create a new Cardinal/VCV Rack patch from a template or description

Inputs: template (required), output_path (required).

list_modulesA

List available modules in the database with their descriptions

Inputs: category.

modify_parameterB

Modify a parameter on a module

Inputs: value (required), filepath (required), param_id (required), module_id (required).

suggest_modulesA

Suggest modules based on what you want to achieve

Inputs: goal (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool targets a distinct operation: adding modules, analyzing patches, connecting modules, creating patches, listing modules, modifying parameters, and suggesting modules. There is no functional overlap.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern (e.g., add_module, create_patch), using lowercase with underscores. No deviations.

    Tool Count5/5

    7 tools is appropriate for a patch management server, covering creation, modification, analysis, and browsing without being overloaded or sparse.

    Completeness4/5

    The set covers create, read, update, and browse operations. Missing explicit delete or disconnect functionality might be a minor gap, but core workflows are well-supported.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables complete control over the Carla audio plugin host through natural language, providing 45 tools across session management, plugin control, audio routing, parameter automation, and real-time analysis for professional audio production workflows.
      13
      GPL 3.0
    • 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
      13 npm
      5
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables LLMs to compose VCV Rack modular synth patches by generating plain JSON, with tools for patch creation, catalog search, and live OSC control.
      8
      9
      MIT