synkopa
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Synkopa is a digital audio workstation with the FL Studio workflow: Channel Rack, patterns, piano roll, Playlist, mixer. These tools run its synkopa command line and return its JSON.
Where a call acts:
Without
project: the project open in the running Synkopa app. Every edit is one step in the app's undo history, so the musician can take it back with Ctrl+Z. If the app is not running the call fails and says so.With
project(absolute path of a .synkopa file): the file is loaded, the command runs, and the file is saved back if it changed. No app, window or audio device is needed. Create a file with synkopa_run ["new", "/abs/song.synkopa", "--template", "demo"].
How to work:
Read first: synkopa_context. Its
revisionandnextIdare needed for edits.Look up before guessing: synkopa_run ["help"] lists every command; ["schema"] every op synkopa_apply accepts, with an example; ["catalog"] effect types, parameters, presets and instruments.
Edit with synkopa_run (one command), synkopa_apply (several ops as one atomic undo step) or synkopa_script (several commands, one load and one save on a file).
Check the result without speakers: synkopa_run ["render", "--out", "/abs/check.wav"] bounces offline and returns peak, RMS, loudness and clipping.
Units: Playlist time in beats (4 = one bar); pattern step and len in sixteenths; track and insert vol is a fader position (0.7937 = 0 dB); clip gain in dB; pan -1..1. New ids count up from context.nextId.
Errors read CODE: message. REVISION_CONFLICT: the musician changed the project meanwhile, read it again and decide; do not retry blindly. NEEDS_APP: play, stop, undo, redo and auditions need the running app. FILE_OPEN: that file is open in the app; drop project and edit it there. Paths are resolved against this server's working folder: pass absolute paths.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| synkopa_contextA | Read the Synkopa project: tempo, key, Playlist tracks, mixer inserts with their effects and parameters, patterns, Channel Rack channels, audio sources, markers, plus |
| synkopa_runA | Run one |
| synkopa_applyA | Apply a batch of project ops as one atomic change and one undo step: all of them apply, or none. Use it for related edits (a pattern with its notes, a clip and its automation). Op names, fields, units and an example of each come from synkopa_run ["schema"]. Example ops: [{"op": "setBpm", "bpm": 128}, {"op": "setLoop", "loop": {"a": 0, "b": 16}}]. |
| synkopa_scriptA | Run several |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| cli-help | Every `synkopa` command with its options: what synkopa_run accepts. |
TDQS
Scored across 4 tools
The four tools have largely distinct roles: read-only context, a single CLI command, an atomic batch, and a multi-line script. The main overlap is between synkopa_run and synkopa_script, and between synkopa_apply and synkopa_script for multi-edit workflows; the descriptions do explain atomicity and failure semantics, but an agent could still hesitate over which execution tool to use.
All tools share a consistent `synkopa_` prefix and short, readable names. The suffixes mix a noun (`context`) with verbs (`run`, `apply`, `script`), a minor deviation from a pure verb_noun pattern, but still predictable and easy to scan.
Four tools are well-scoped for a broad CLI-backed music production server: one read, one single command, one atomic batch, one script runner. The heavy lifting is delegated through `run`/`apply`/`script`, so the surface stays compact without losing capability.
The set covers reading full project state, any CLI command, atomic multi-op edits, undo via `run`, and discovery through help/schema/catalog. There is no dedicated project open/save tool, though script mentions project-file loading, and no direct resource-level read granularity beyond the full context dump.