OpenUtau MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENUTAU_EXE | No | Path to OpenUtau.exe | |
| OPENUTAU_DATA_DIR | No | OpenUtau data directory (default `Documents\OpenUtau`) | |
| OPENUTAU_MCP_PORT | No | Port for the OpenUtau MCP bridge (default 51128; set the same variable for OpenUtau to move the plugin) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Control OpenUtau (singing synthesis) in English or Japanese.
Call openutau_status first. Live tools need OpenUtau running with the OpenUtauMcp plugin (the "bridge"). If it is not running, call launch_openutau. Tools with a
pathparameter edit that .ustx file directly when it is given (OpenUtau may be closed); without it they edit the project open in OpenUtau. list_singers (source="disk"), get_singer, convert_ust and split_lyrics also work with OpenUtau closed.Time is in ticks: 480 ticks = one quarter note (1920 = one 4/4 bar). Note positions are relative to their part.
Pitch: MIDI number or name. C4 = 60 (middle C), A4 = 69, C#4/Db4 = 61, C-1 = 0.
Indexes: "track" = track number; "part" = index among voice parts only; "note" = index in the part, sorted by position.
Lyrics (add_melody / set_lyrics): Japanese = one mora per note (きゃ is one note; っ is its own note; ー becomes a "+" note that holds the previous vowel; punctuation is dropped; kanji become hiragana when pykakasi is installed). English = one word per note; write hyphens for syllables ("hel-lo") and the extra syllables become "+" extender notes.
Phonemizer by voicebank: Japanese UTAU bank -> OpenUtau.Plugin.Builtin.JapanesePresampPhonemizer ("JA VCV & CVVC"); English ARPAsing bank -> ArpasingPhonemizer ("EN ARPA"); English VCCV bank -> EnglishVCCVPhonemizer ("EN VCCV"); English X-SAMPA bank -> EnXSampaPhonemizer ("EN X-SAMPA"); English lyrics on a Japanese bank -> ENtoJAPhonemizer ("EN to JA"). Check list_phonemes: has_oto=false means the voicebank has no sample for that phoneme.
Each live edit is one undo step (undo_redo). Save with save_project.
Before a song task, call usage_guide once for the full workflow and quality rules (skip it if the openutau skill is loaded).
OpenUtau(歌声合成)を英語・日本語で操作します。
まず openutau_status を呼んでください。ライブ操作には OpenUtauMcp プラグイン(ブリッジ)入りの OpenUtau が必要です。 起動していなければ launch_openutau。
pathを取るツールは、指定するとその .ustx ファイルを直接編集し(OpenUtau は閉じたままで可)、 省略すると OpenUtau で開いているプロジェクトを編集します。list_singers(source="disk")、get_singer、convert_ust、 split_lyrics も OpenUtau なしで使えます。時間はティック単位:四分音符 = 480(4/4 の1小節 = 1920)。音符の位置はパートの先頭からの相対値です。
音高は MIDI 番号か音名:C4 = 60(中央ド)、A4 = 69、C#4/Db4 = 61、C-1 = 0。
番号:track はトラック番号、part はボイスパートだけを数えた番号、note はパート内の位置順の番号です。
歌詞(add_melody / set_lyrics):日本語は1音符1モーラ(「きゃ」で1音符、「っ」は単独の音符、「ー」は前の母音を伸ばす「+」音符、句読点は除去、pykakasi があれば漢字をひらがなに)。 英語は1音符1単語。音節はハイフンで区切ると(hel-lo)、残りの音節が「+」の延長音符になります。
音源に合う音素化器:日本語 UTAU 音源 → JapanesePresampPhonemizer、英語 ARPAsing → ArpasingPhonemizer、 英語 VCCV → EnglishVCCVPhonemizer、英語 X-SAMPA→ EnXSampaPhonemizer、 日本語音源で英語歌詞 → ENtoJAPhonemizer。list_phonemes の has_oto=false は音源に該当サンプルがないことを示します。
ライブ編集は1回の呼び出しが1回の取り消し単位です(undo_redo)。保存は save_project。
曲作りの前に usage_guide を一度呼び、手順と品質ルールの全文を読んでください(openutau スキルを読み込み済みなら不要)。
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| openutau_statusA | Check whether OpenUtau is running and the bridge plugin answers; call this first in every session. Returns running, bridge, exe, hint (what to do if something is missing) and, when connected, project (same as get_project without expressions). Changes nothing. Use launch_openutau next if it is not running. / OpenUtau が起動しているか、ブリッジが応答するかを確認します。最初に呼んでください。 running・bridge・hint(対処法)と、接続時は project を返します。何も変更しません。 |
| usage_guideA | Return the full workflow and quality rules for making good vocals with this server, as Markdown (the same text as the Claude skill). Read it once before a song task; skip it if the openutau skill is already loaded. Changes nothing. / この MCP で良い歌声を作るための手順と品質ルールの全文(Markdown、Claude 用スキルと同じ)。 曲作りの前に一度読んでください。何も変更しません。 |
| launch_openutauA | Start OpenUtau with the bridge plugin and wait until the bridge answers (up to about 60 s). If it is already running, only opens project_path there (like open_project). Returns status fields (running, bridge, hint). Use openutau_status first to see whether this is needed. / OpenUtau を起動し、ブリッジの応答を待ちます (最大約60秒)。起動済みなら project_path を開くだけです。状態(running・bridge・hint)を返します。 |
| close_openutauA | Close OpenUtau. Refuses when the project has unsaved changes unless force=true, which discards them; call save_project first to keep them. Returns closed and the processes stopped. / OpenUtau を終了します。未保存の変更が あれば force=true でない限り中止します(true で破棄)。残すなら先に save_project。 |
| get_projectA | Summary of the project: file_path, key, tempos, time_signatures, tracks (track, name, singer, phonemizer, renderer, volume, pan, mute, solo) and voice_parts (part, name, track, position, duration, note_count). The live project also returns saved and expressions (abbr, name, type, min, max, default) for set_curve and set_note_expression. Use list_notes for the notes of one part. Changes nothing. / プロジェクトの概要(キー・テンポ・拍子・トラック・ボイスパート)。ライブでは saved と表情一覧 expressions も返します。 音符は list_notes。何も変更しません。 |
| new_projectA | Start a new empty project. With path: write a new .ustx file (OpenUtau may be closed; singer, phonemizer, name and overwrite apply only here). Without path: replace the project open in OpenUtau (force=true discards its unsaved changes). Returns the project summary like get_project. Use open_project for an existing file. / 新規プロジェクト。path 指定で新しい .ustx を作成(singer・phonemizer・name・overwrite はこの場合のみ)、 省略で OpenUtau に新規プロジェクトを作ります(force=true で未保存の変更を破棄)。概要を返します。 |
| open_projectA | Open a project file in OpenUtau (needs the bridge), replacing the current project; force=true discards its unsaved changes. import_tracks=true instead adds the file's tracks to the current project. Returns the project summary like get_project. To edit a .ustx without OpenUtau, pass its path to the other tools instead. / プロジェクトを OpenUtau で開きます(force=true で未保存の変更を破棄)。import_tracks=true なら現在のプロジェクトに トラックを追加します。概要を返します。 |
| save_projectA | Save the project open in OpenUtau as .ustx: to path (Save As, overwriting that file) or to its current file. Returns the project summary with saved=true. File-mode edits (path= on other tools) are saved as they happen and need no save. / OpenUtau のプロジェクトを .ustx で保存します(path 指定で名前を付けて保存、上書き)。概要を返します。 path 指定の編集は即保存されるので不要です。 |
| update_projectA | Change song-wide settings: tempo (or a tempo change at a tick, or remove one), time signature (at a bar), key. Give only what changes. Live, each setting is its own undo step. Returns the project summary like get_project. Use update_track / update_part for tracks and parts. / 曲全体の設定を変えます:テンポ(途中のテンポ変更の追加・削除)、拍子(小節指定)、キー。変える項目だけ指定。 ライブでは項目ごとに1回の取り消し単位。概要を返します。 |
| undo_redoA | Undo or redo one edit in OpenUtau (each live tool call is one undo step). Needs the bridge; file-mode edits (path=) cannot be undone. Returns the project summary like get_project. / OpenUtau で編集を1回取り消す・やり直します(ライブ操作1回 = 1単位)。path 指定の編集は取り消せません。概要を返します。 |
| list_singersA | List the installed voicebanks (singers): id (use it as singer elsewhere), name, type, location, default_phonemizer and, from OpenUtau, supported renderers. Singers without a default phonemizer get a suggested_phonemizer (a guess: confirm with rank_phonemizers). Use get_singer for one voicebank's details. / 音源(歌手)一覧:ID・名前・種類・場所・既定の音素化器(OpenUtau からはレンダラーも)。既定が無い歌手には suggested_phonemizer を付けます。1つの詳細は get_singer。 |
| get_singerA | Read one voicebank from disk (OpenUtau may be closed): info (id, name, author, default_phonemizer), alias_count, oto_sets (set name: alias count), sample_aliases (first 30). With alias_query also aliases (total, results: alias, set, file, offsets). Use it to check that the sounds a phonemizer asks for exist. / 音源の詳細をディスクから読みます:情報、エイリアス数、oto セット。alias_query で oto.ini のエイリアスを検索します。 |
| list_phonemizersA | List the phonemizers installed in OpenUtau (needs the bridge): type (full name to pass as phonemizer), name, tag, language, author. Use rank_phonemizers to pick the best one for a voicebank. Changes nothing. / OpenUtau に入っている音素化器一覧(type・name・tag・language)。音源に最適なものは rank_phonemizers。 |
| rank_phonemizersA | Find the best phonemizer for a singer: phonemizes sample lyrics with each installed classic phonemizer and scores the share of requested sounds the voicebank has (1.0 = all). Needs the bridge; can take a minute. Returns best (type), best_tag and ranking (type, tag, score, phonemes, missing, error). Nothing in the project changes. / 各音素化器でサンプル歌詞を音素化し、音源にある音の割合で順位付けします(1.0 = 全部)。best と ranking を 返します。プロジェクトは変更しません。 |
| add_trackA | Add a track at the end. Setting a singer also applies its default phonemizer (and, live, a suitable renderer) unless given. Returns track (its index); live also summary. Add parts to it with add_part; change it later with update_track. / トラックを末尾に追加します。歌手を指定すると既定の音素化器(ライブではレンダラーも)を 設定します。track(番号)を返します。パートは add_part。 |
| update_trackA | Change a track: singer (also applies its default phonemizer unless phonemizer is given), phonemizer, name, renderer (live only), volume, pan, mute, solo. Give only what changes. An unknown phonemizer fails with the installed ones for that language. Returns the track's new settings (live: project summary). Use add_track for a new track, remove_track to delete one. / トラックを変更します(歌手・音素化器・名前・レンダラー(ライブのみ)・ 音量・パン・ミュート・ソロ)。変える項目だけ指定。 |
| remove_trackA | Delete a track and all its parts and notes from the project open in OpenUtau (one undo step; undo_redo brings it back). Later tracks shift down by one. Returns the project summary. To silence a track instead, use update_track mute=true. / トラックとそのパート・音符を削除します(undo_redo で戻せます)。後ろのトラック番号は1つ 繰り上がります。消さずに無音にするなら update_track の mute。 |
| add_partA | Add an empty voice part to a track. Notes go in with add_notes or add_melody; parts grow to fit their notes, and update_part fit_to_notes=true trims one to the next bar line. Returns part (its voice part index); live also summary. / トラックに空のボイスパートを追加します。音符は add_notes か add_melody。part(番号)を返します。 |
| update_partA | Rename, move (position, track) or resize a voice part; fit_to_notes=true trims or extends it to the first bar line after its last note. Notes keep their part-relative positions. Returns the part's new values (live: project summary). Use remove_part to delete it. / ボイスパートの名前変更・移動・長さ変更。fit_to_notes=true で最後の音符の 後の小節線に合わせます。音符の相対位置は変わりません。 |
| remove_partA | Delete a voice part and its notes from the project open in OpenUtau (one undo step; undo_redo brings it back). Later parts shift down by one. Returns the project summary. To clear notes but keep the part, use delete_notes. / ボイスパートと音符を削除します(undo_redo で戻せます)。パートを残して音符だけ消すなら delete_notes。 |
| list_notesA | List the notes of a voice part, sorted by position: index, position, duration, tone, lyric, tuning, vibrato, pitch (snap_first, points), phoneme_overrides (live also expressions). Also returns the part's position and duration. Use the indexes with edit_notes, set_lyrics, delete_notes. For the sung phonemes use list_phonemes. / ボイスパートの音符一覧(番号・位置・長さ・音高・歌詞・ビブラート・ピッチ点など)。番号は edit_notes などで使います。 |
| add_notesA | Add notes given one by one (position, duration, tone, lyric); the part grows if needed. Use add_melody instead to write a phrase from lyrics text and a melody string. Returns added (new note indexes), part_duration, note_count. / 音符を1つずつ指定して追加します(必要ならパートを延長)。歌詞テキストとメロディからなら add_melody。 |
| add_melodyA | Write a sung phrase as new notes from start_tick. With melody: one lyric per sounding note (must match; "+" holds a syllable; lyrics optional). Without melody: one note per lyric, with durations and tones. Use add_notes for exact notes, set_lyrics to change the words of existing notes. Returns lyrics (the split), warnings, added, part_duration, note_count. / 歌詞とメロディから新しい音符を作ります。melody ありなら音の数と歌詞の 数が一致する必要があります(「+」で伸ばす)。melody なしなら durations・tones で並べます。既存の音符の歌詞は set_lyrics。 |
| set_lyricsA | Change the lyrics of existing notes in order from start_index; positions and pitches stay. Give text (split per note) or lyrics (exact, one per note). Use add_melody to create new notes with lyrics; split_lyrics previews a split. Returns lyrics, warnings, changed, first. / 既存の音符の歌詞を start_index から順に書き換えます(位置・音高は そのまま)。text(分割)か lyrics(そのまま)を指定。新しい音符は add_melody。 |
| edit_notesA | Edit notes in place by index: position, duration, tone, lyric, tuning, vibrato (any field; length > 0 turns it on), phoneme_overrides (per-phoneme offset ticks, preutter/overlap ms; 0 clears). vibrato + indices gives the same vibrato to many notes (omit indices for every note). Pitch curves are kept; OpenUtau clamps preutter/overlap to the sample. Use set_pitch for pitch curves, set_lyrics for many lyrics at once. Returns the edited notes (file: edited count). / 番号で指定した音符をその場で編集します(位置・長さ・音高・歌詞・微調整・ビブラート・音素タイミング)。 vibrato と indices で複数の音符に同じビブラート(indices 省略で全音符)。ピッチ曲線は保持。ピッチ曲線は set_pitch。 |
| delete_notesA | Delete notes by index; omitting indices deletes every note in the part (the part stays). Later notes shift down in index. Live it is one undo step; with path it is permanent. Returns deleted and note_count. Use remove_part to delete the part itself. An empty list is refused. / 番号で音符を削除します。indices 省略でパートの 全音符(パートは残る)。空のリストは拒否します。ライブでは取り消し可、path 指定では元に戻せません。 |
| set_note_expressionA | Set a per-note expression value (velocity, volume, attack, ...) on notes of a part in OpenUtau (needs the bridge; one undo step). For a curve that changes over time (dyn, tenc, brec, ...) use set_curve instead. Fails for curve-only expressions. Returns the changed notes. / 音符ごとの表情(vel・vol・atk など)を設定します。時間で変わる カーブ(dyn など)は set_curve。 |
| set_pitchA | Replace the pitch curve of notes in OpenUtau (scoops, falls, drifts, overshoot; needs the bridge; one undo step). Examples: scoop up (snap_first=false): [{x:-40,y:-20},{x:60,y:0}]; fall at a phrase end on a 600 ms note: [{x:-40,y:0},{x:40,y:0},{x:420,y:0},{x:600,y:-30,shape:"i"}]. For a part-wide deviation curve use set_curve abbr=pitd. Returns the changed notes. / 音符のピッチ曲線を置き換えます(しゃくり・フォール・揺れ)。点は2つ以上。 |
| get_curveA | Read an expression curve of a voice part in OpenUtau (dyn, pitd, tenc, brec, genc, voic, ...): points as [tick, value] (part-relative), min, max, default. Changes nothing. Draw one with set_curve. / パートの表情カーブを読みます:[ティック, 値] の点、min・max・default。描くのは set_curve。 |
| set_curveA | Draw an expression curve of a voice part in OpenUtau through [tick, value] points (straight lines; values clamped to the range), or reset it to default when points is empty. Dynamics (dyn), DiffSinger tension (tenc), breathiness (brec), gender (genc), voicing (voic), pitch deviation (pitd, cents). One undo step. Per-note values use set_note_expression. Returns the curve. / パートの表情カーブを [ティック, 値] の点で描きます。points が空なら既定に 戻します。音符ごとの値は set_note_expression。 |
| list_phonemesA | List the phonemes OpenUtau produced for a voice part (needs the bridge): note index, phoneme index in the note, lyric, position, duration, phoneme, preutter/overlap ms, has_oto (false = the voicebank has no sample: that sound is silent or wrong). Use it to check pronunciation and before phoneme_overrides in edit_notes. / OpenUtau が生成した音素一覧(has_oto=false はサンプルなし)。発音の確認と音素タイミング編集の前に使います。 |
| playbackA | Control playback in OpenUtau on the user's speakers (needs the bridge; nothing is edited). Returns playing and position. To check the sound yourself, render with export_project instead. / OpenUtau の再生を操作します(スピーカーで再生、編集はしません)。音を確かめるなら export_project で書き出します。 |
| export_projectA | Render the project open in OpenUtau to a file (needs the bridge): .wav = audio mixdown, or one WAV per track with per_track=true (can take minutes); .mid = MIDI. Overwrites existing files. Returns path(s) and bytes. For a UTAU .ust use convert_ust. / OpenUtau のプロジェクトを書き出します:.wav は音声(per_track=true でトラックごと、数分 かかることあり)、.mid は MIDI。既存ファイルは上書き。 |
| convert_ustA | Convert between classic UTAU .ust and .ustx files (no OpenUtau needed), keeping vibrato (VBR) and Mode2 pitch (PBS/PBW/PBY/PBM). .ust to .ustx: reads Shift_JIS unless a Charset= line says otherwise; import the .ust itself, not a MIDI made from it. .ustx to .ust: one voice part, gaps become R rests. Refuses to overwrite unless overwrite=true. Returns the new file's summary (import) or path and blocks (export). / UTAU の .ust と .ustx を相互変換します(ビブラートとピッチ点も保持)。.ust→.ustx は取り込み、.ustx→.ust は1パートを 書き出し(隙間は休符 R)。overwrite=true でない限り上書きしません。 |
| split_lyricsA | Preview how text splits into one lyric per note, the same way add_melody and set_lyrics split it (Japanese: one mora each, ー becomes "+"; English: one word each, hyphenated syllables become "+"). Touches no project. Returns language, lyrics, count, warnings. / テキストが1音符ずつの歌詞にどう分割されるかを確認します(add_melody・ set_lyrics と同じ規則)。プロジェクトは変更しません。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 35 tools
Most tools target a distinct resource+action (project vs track vs part vs note vs curve vs singer/phonemizer), and descriptions explicitly cross-reference near-neighbors (add_notes vs add_melody, set_lyrics vs edit_notes, set_pitch vs set_curve vs set_note_expression, launch_openutau vs open_project). A few boundaries blur: get_project and openutau_status both return a project summary, launch_openutau can open a project, and new_project with/without path behaves like two different operations.
Consistent snake_case with a dominant verb_noun pattern (add_track, update_part, delete_notes, set_curve, list_singers, export_project). Deviations are few but real: noun-only names (usage_guide, playback, openutau_status) and verb_verb undo_redo, though these read naturally for their purpose.
At 35 tools this is well past the heavy range, and while the domain (project lifecycle, tracks, parts, notes, expressions, voicebanks, phonemizers, export, UST conversion) is genuinely broad, several families could be consolidated (add_notes/add_melody, set_curve/set_pitch/set_note_expression, launch/close/open/status). An agent must scan a large surface before every task.
Coverage is strong: full CRUD for tracks, parts and notes, plus project lifecycle, undo/redo, expressions/pitch, voicebank and phonemizer inspection, rendering, UST conversion, playback and a usage guide. Minor gaps remain: no duplicate/copy of parts or notes, no explicit list_tracks/list_parts (only via get_project), and no MIDI import path beyond .ust conversion.