VOCALOID MCP
An agent-native VOCALOID3/4 composition, rendering, mixing, mastering, and QC server that manages revisioned song manifests and native projects end-to-end.
Inspect host readiness and verify licensed voicebanks/Editor fingerprints, or probe a voice with a bounded temporary render.
Create, import, inspect, edit, preflight, section-read, and history-manage canonical song manifests with hashes and stable IDs.
Work with Japanese lyrics and phrase grammar: browse/validate phrase grammar, align morae to rhythm, handle melisma, rests, small っ, and phoneme choices.
Build native VSQ3/VSQ4 projects and accompaniment WAVs, then render vocal/instrument stems and reproducible stem mixes.
Master and record delivery, render section/anchor previews and loudness-matched A/Bs, analyze WAV quality, and compare vocal score vs render for pitch/timing/vibrato.
Record/query listening notes, creative decisions, journals, and provenance artifacts; theory proposals are bounded and never auto-approve musical taste.
Integrates FFmpeg for non-destructive WAV analysis, including loudness, LRA, sample/true peak, clipping, and stereo balance, and for loudness-mastering final deliveries with measured provenance.
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., "@VOCALOID MCP render the current project to stems"
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.
VOCALOID MCP
An agent-native MCP server for composing, tuning, rendering, mixing, and auditing native VOCALOID3/4 projects. Built just for fun.
A coding agent can start from an empty timeline or a short creative brief and work through:
intent
→ form / harmony / melody
→ Japanese note allocation
→ IA delivery (tuning gestures)
→ arrangement
→ original VOCALOID3 Editor rendering
→ stems / mix / master / QC
→ VSQX + hash-bound creative recordThis is not a MIDI-to-VSQX converter and not a one-button hit-song generator. Notes, lyrics, phonemes, note expression, vibrato, and control curves compile into native VSQ3/VSQ4 structures, and your own licensed VOCALOID3 Editor does the singing.
What works
Create native VSQ3/VSQ4 projects from zero and validate them against Yamaha's XSDs.
Render the requested locally licensed singer through the original VOCALOID3 Editor. Fail closed on singer substitution, and catch identical-output collisions between voicebanks.
Write Japanese lyrics with explicit kana readings, phonemes, mora allocation, rests, melisma, and deliberate small-
っtiming.Compile articulation, dynamics, timbre, vibrato, and pitch gestures into native note styles and control curves.
Keep one revisioned canonical song manifest with stable IDs, dry-run previews, bounded edits, history, and separate content/composition/mix hashes.
Render accompaniment (FluidSynth + GM SoundFont), isolated vocal and instrument stems, effect chains, section automation, mixes, previews, A/B pairs, and masters.
Measure LUFS, LRA, sample and true peak, clipping, channel balance, and score-versus-render pitch, timing, and vibrato.
Run deterministic music-theory and arrangement diagnostics that flag risks but never write notes.
Keep a hash-chained creative journal: intent → theory → note allocation → delivery → arrangement → mix.
What it cannot decide
Passing every engineering gate does not make a song musically successful.
Engineering can establish | Engineering cannot decide |
The VSQX is structurally valid | The melody is memorable |
The requested singer rendered non-silent audio | The performance feels alive |
Native controls were materialized | The tuning is tasteful |
The delivery is current and unclipped | IA sits correctly in the mix |
A phrase avoids concrete theory risks | The phrase says what the listener needs to hear |
The latest 190 BPM IA_ROCKS test passed every gate, and the honest human verdict was still that the vocal was buried and it did not really feel like rock. Keeping that distinction visible is the point.
Related MCP server: OpenUtau-MCP
Quick start
Requirements
Node.js 20+ and npm.
xmllint(schema validation), FFmpeg (analysis and mastering), FluidSynth plus a GM SoundFont (default/usr/share/sounds/sf2/FluidR3_GM.sf2).To actually sing: WSL2 on Windows with your own legitimate VOCALOID3 Editor and an installed, licensed voicebank. The
i686-w64-mingw32-gcccross compiler builds the native export helper.
The repository contains no VOCALOID binaries, voicebanks, activation data, or final song audio.
Build and test
npm install
npm test # clean TypeScript build + 96 tests (2 skip without local fixtures)
npm run build:native # build/native/vocaloid_export.exe and vsq_probe.exe (needed for rendering)Connect an MCP client
The server speaks MCP over stdio and is meant to be a local, single-user desktop bridge.
claude mcp add vocaloid -- node /absolute/path/to/vocaloid/dist/src/index.jsOr with a generic client configuration:
{
"mcpServers": {
"vocaloid": {
"command": "node",
"args": ["/absolute/path/to/vocaloid/dist/src/index.js"]
}
}
}Host configuration
Defaults match the original development host. Override them with environment variables:
Variable | Default | Purpose |
|
| VOCALOID3 Editor; only allow-listed builds are automated |
|
| VVD voice metadata root |
|
| Win32 export helper |
|
| Runs the export wrapper |
|
| Read-only voicebank registration check |
| repository (+ | Extra |
|
| Voice probe cache (verified results last 7 days) |
|
| Host-wide Editor render lease |
|
| Audio tools |
Before a long render, call vocaloid_host_readiness and then vocaloid_probe_voice for the exact voice component. If the probe fails, see host troubleshooting.
MCP surface
22 tools, 14 resources (plus one optional local lyric resource), and one prompt.
Area | Tools |
Host |
|
Composition |
|
Manifest |
|
Render |
|
Review |
|
vocaloid_edit_song is the single write path for score, intent, arrangement, and mix: one action (for example upsert_vocal_part, apply_tuning, upsert_arrangement, upsert_effect_chain, set_composition_intent) with a strict payload. Every action supports dry_run and requires expected_revision. Every tool returns { ok, data, warnings } on success and { ok: false, error: { code, message, retryable, suggested_action } } on failure.
Resources start at vocaloid://capabilities. They include the edit, intent, theory, phrase-grammar, and creative-journal contracts, style palettes, and a from-zero call example. See song manifest workflows for complete payloads.
Compose a song from an intent file
cp intents/template.intent.json intents/my-song.intent.json # fill in the brief
npm run --silent compose:prompt -- --intent=intents/my-song.intent.jsonThe brief declares the voice component, duration, BPM range (optional preferred value), scene, dramatic motion, one listener question, things to avoid, and source boundaries. The rendered prompt (prompts/vocaloid-composition-agent.md plus the validated brief) is the whole task for a fresh agent. The same prompt is available over MCP as vocaloid_compose_from_intent.
Creative boundaries
Intent comes before score.
vocaloid-composition-intent/v1declares song, section, and anchor-phrase purpose before any note exists.Theory is a guardrail. The
core/v1analyzer separates structural errors, musical risks, and style observations. It never decides that a phrase is moving.Phrase grammar is vocabulary, not a template. Bundles are unordered option pools with
melody_material=absent; they never produce a pitch sequence.No corpus at runtime. Production agents cannot query local songs, reference melodies, or similarity targets.
Evidence ladder
declared a gesture or intent exists in the canonical state
materialized native VSQX notes / styles / controls contain it
rendered the original Editor produced non-silent, identity-checked audio
heard a named listener answered one explicit questionTechnical QC never signs off a human keep decision.
Compositions
Each tracked package holds a manifest snapshot, the append-only creative journal, a readable report, and a digest-bound index. Final WAV files stay local.
Composition | Voice | Scale | Record |
| IA_ROCKS | 28-second intent-first demo | |
| IA_ROCKS | 2:10 cold-start song | |
| IA | 3:10 fresh-agent song | |
| IA_ROCKS | 64 seconds at 190 BPM | |
| IA_ROCKS | 31 seconds at 108 BPM |
Editable native projects are in artifacts/vsqxs/.
Repository layout
src/
index.ts stdio entry point
server/ MCP server: instructions, results, schemas, resources
tools/ host, composition, manifest, render, review tools
song-manifest.ts public manifest API (barrel)
song-manifest/ schema, store (hashing/validation/IO), mutations, build
theory/ deterministic symbolic analysis and bounded proposals
intent/ composition-intent schema, realization, review
vsqx.ts VSQ3/VSQ4 reader/writer
render.ts original-Editor export boundary
stems.ts, stem-mix.ts isolated rendering, effects, automation, summing
delivery.ts mastering and delivery QC
audio-quality.ts, audio-review.ts, vocal-analysis.ts
native/ Win32 export helper and Yamaha loader probe (C)
scripts/ prompt renderer, export wrappers, shared MCP client
prompts/, intents/ composition-agent prompt and per-song briefs
tests/ unit and stdio integration tests
notes/ contracts, workflows, troubleshooting, problem log
blogs/ long-form retrospectives (July 2026 snapshot)
artifacts/ creative records and publishable VSQX projectsPath | Tracked | Contents |
| yes | manifests, journals, reports, native projects |
| no | final listening WAVs, stems, previews, traces |
| no | working manifests, runtime caches, native helper binaries |
Further reading
Contracts: composition intent, music theory policy, phrase grammar, creative journal
Workflows: song manifest, manifest design, Japanese lyrics and gestures, stem mix, score-versus-render analysis
Host: troubleshooting, synthesis reverse engineering, problem/solution log
Stories: articles
Safety and legal boundary
Filesystem writes are restricted to configured roots; overwrites are explicit and revision-bound.
Editor operations hold a host-wide lease and only terminate processes owned by the active render.
Singer availability requires a real Editor probe; VVD files on disk are only metadata.
The project does not patch activation checks, copy licensing markers, redistribute voice data, or replace the licensed synthesis engine.
Reverse-engineering findings are tied to exact local binary hashes and documented as observations, not vendor APIs.
The GM SoundFont accompaniment is a reproducible draft renderer, not a claim of authentic instrument performance.
License
Source code and documentation are under the MIT License. VOCALOID, voicebanks, Yamaha software, supplied lyrics, and other third-party material remain under their owners' licenses and are not redistributed here.
Available Tools
22 toolsvocaloid_align_japanese_phraseAlign Japanese Morae to Vocal RhythmBRead-onlyIdempotent
Align Japanese morae to stable rhythm slots as a manifest-compatible phrase, with explicit melisma and small-っ timing decisions.
Inputs: text (required), start (required), phrase_id (required), note_slots (required), +6 more. Returns: ok, data, warnings
vocaloid_analyze_vocal_stemAnalyze Vocal Score Versus RenderA
Compare stable vocal events with a verified isolated stem and record reproducible pitch, timing, energy, diction, and vibrato evidence.
Inputs: output_path (required), manifest_path (required), stem_artifact_id (required), expected_revision (required), +9 more. Returns: ok, data, warnings
vocaloid_analyze_wavAnalyze WAV Mix QualityARead-onlyIdempotent
Measure WAV loudness, dynamics, peaks, clipping, and stereo balance without modifying the file.
Inputs: path (required), target_lufs, response_format, target_true_peak_dbfs. Returns: ok, data, warnings
vocaloid_build_song_manifestBuild Song Manifest ArtifactsA
Build a verified accompaniment WAV and native VSQX from one immutable manifest revision, then record both artifacts atomically.
Inputs: manifest_path (required), expected_revision (required), backing_output_path (required), project_output_path (required), +… Returns: ok, data, warnings
vocaloid_create_song_manifestCreate Canonical Song ManifestC
Create the revisioned canonical song manifest; derive VSQX/WAV artifacts later through the build workflow.
Inputs: slug (required), title (required), song_id (required), sections (required), +14 more. Returns: ok, data, warnings
vocaloid_creative_journalCreative Decision JournalD
Append/resume, query, report, or publish decisions.
Inputs: action (required), payload (required), response_format. Returns: ok, data, warnings
vocaloid_edit_songEdit Canonical SongC
Apply one strict action payload from vocaloid://edit-song-contract; dry_run returns hashes, music-aware diff, theory/intent deltas, and preflight without writing.
Inputs: action (required), payload (required), response_format. Returns: ok, data, error, warnings
vocaloid_get_song_sectionGet One Song SectionARead-onlyIdempotent
Fetch one semantic section and only the vocal, harmony, and arrangement objects that intersect it.
Inputs: path (required), section_id (required), response_format. Returns: ok, data, warnings
vocaloid_host_readinessInspect VOCALOID Host ReadinessARead-onlyIdempotent
Read the Editor/helper fingerprint, host render lease, and verified voice cache without launching VOCALOID.
Inputs: response_format, allow_unknown_editor, include_expired_voice_records. Returns: ok, data, error, warnings
vocaloid_import_vsqx_manifestImport VSQX into Canonical ManifestB
Import a V3/V4 VSQX vocal score into a new stable-ID manifest and record the source with warnings for unsupported data.
Inputs: slug (required), song_id (required), source_path (required), output_manifest_path (required), +5 more. Returns: ok, data, error, warnings
vocaloid_inspect_song_manifestInspect Song ManifestARead-onlyIdempotent
Verify and summarize a canonical song manifest, including its revision, stable IDs, inventories, intent, and artifact provenance.
Inputs: path (required), response_format. Returns: ok, data, warnings
vocaloid_manifest_historyList, Diff, or Restore Manifest HistoryC
List, music-diff, or monotonically restore verified immutable song-manifest history snapshots.
Inputs: no named parameters. Returns: ok, data, error, warnings
vocaloid_master_manifest_deliveryMaster and Record Manifest DeliveryB
Two-pass loudness-master a current mix/master, report deterministic peak/LRA transparency risk for source-vs-delivery A/B, and atomically record verified provenance.
Inputs: output_path (required), manifest_path (required), expected_revision (required), source_artifact_id (required), +5 more. Returns: ok, data, error, warnings
vocaloid_phrase_grammarBrowse, Validate, or Analyze Vocal Phrase GrammarBRead-onlyIdempotent
Browse phrase choices, validate a blueprint, or analyze diversity; never generates melody.
Inputs: action (required), payload (required), response_format. Returns: ok, data, error, warnings
vocaloid_preflight_songPreflight Complete Song WorkflowARead-onlyIdempotent
Run non-mutating structure, theory, vocal, arrangement, mix, artifact, intent, and host checks. Optional repair hypotheses stay deterministic, theory-only, revision-bound, and require vocaloid_edit_song dry_run plus listening.
Inputs: manifest_path (required), artifact_check, response_format, check_voice_cache, +7 more. Returns: ok, data, error, warnings
vocaloid_probe_voiceProbe Voice in Original EditorA
Verify one local voice with a bounded temporary render in the original Editor; cache the result by voice and host fingerprint.
Inputs: component_id (required), force, response_format, timeout_seconds, +1 more. Returns: ok, data, error, warnings
vocaloid_render_instrument_stemsRender Manifest Instrument StemsB
Render selected arrangement tracks as isolated verified WAV stems with explicit pan/effect policy and manifest provenance.
Inputs: preserve_pan (required), manifest_path (required), output_directory (required), expected_revision (required), +3 more. Returns: ok, data, warnings
vocaloid_render_manifest_masterRender and Record Manifest MasterC
Render a current VSQX through the original Editor, verify the WAV, and atomically record a provenance-bound master artifact.
Inputs: output_path (required), manifest_path (required), expected_revision (required), project_artifact_id (required), +6 more. Returns: ok, data, error, warnings
vocaloid_render_stem_mixRender Reproducible Stem MixC
Render selected verified stems through manifest automation/effects without hidden normalization, then record the measured mix and filter graph.
Inputs: bit_depth (required), output_path (required), sample_rate (required), manifest_path (required), +6 more. Returns: ok, data, warnings
vocaloid_render_vocal_stemsRender Manifest Vocal StemsA
Render selected vocal tracks individually through the original Editor as verified stems with explicit pan/send policy and provenance.
Inputs: dry (required), center_pan (required), manifest_path (required), output_directory (required), +7 more. Returns: ok, data, warnings
vocaloid_review_audioRender Section Preview or Loudness-Matched A/BA
Render section or 20–30s anchor previews and single-question loudness-matched A/B evidence; this tool never chooses a winner.
Inputs: action (required), manifest_path (required), expected_revision (required), match_lufs, +16 more. Returns: ok, data, error, warnings
vocaloid_review_songList, Add, or Resolve Listening NotesC
List or persist qualitative listening notes, including hash-bound keep/reject/revise evidence for phrase intent; metrics cannot self-approve.
Inputs: action (required), manifest_path (required), note, status, +5 more. Returns: ok, data, error, warnings
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 22 tools
Each tool targets a unique, specific operation within the VOCALOID workflow, from host readiness and voice probing to rendering, editing, and review. There is no overlap or ambiguity between tool purposes.
All tools follow a consistent 'vocaloid_<verb>_<noun>' snake_case pattern, with clear action words and descriptive nouns. No mixing of conventions.
22 tools is well-scoped for a comprehensive VOCALOID workflow, covering all major aspects without being excessive or insufficient.
The tool set covers the full lifecycle of VOCALOID project management: inspection, creation, editing, rendering, analysis, review, and delivery. No obvious gaps exist.
Maintenance
Related MCP Connectors
Autonomous music production for AI agents with MIDI generation, QC and provenance.
Read and edit DAW projects as an agent, save native Logic projects, convert projects between DAWs
Compose, mix, master and export in Logic Pro, REAPER or Ableton Live by talking to an AI engineer.
Generate full songs with vocals, instrumentals and sound effects from text. One server for Suno, Google Lyria, Mureka, MiniMax, ACE-Step, YuE and ElevenLabs. Your agent can quote the credit cost before generating, start a song, wait for it to finish and return download links. Sign in with OAuth; optional daily credit caps; retries never charge twice.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to create and edit Strudel music code, render offline WAV audio, and obtain structured hearing reports with waveform, spectrogram, BPM, and onset analysis.AGPL 3.0
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to generate, inspect, and micro-tune OpenUtau .ustx project files and DiffSinger neural expression curves.5MIT
- FlicenseBqualityCmaintenanceEnables LLM agents to manipulate Synthesizer V Studio 2 Pro projects, including notes, lyrics, phonemes, vocal attributes, parameters, and playback through the official Dreamtonics Scripting API.262-
- AlicenseNot gradedqualityBmaintenanceEnables coding agents to compose, edit and run multi-agent pipelines represented as songs, where channels are agents, notes are agent calls, and mixer buses carry each agent's output to the next. Lets agents create and modify arrangements, validate and render projects headlessly, play them back live in a studio window, and export the result as WAV or MP3, with every change undoable and cached takes replayed for free.43 npmMIT