lynx-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
lynx-mcp
MCP-Server (Model Context Protocol, stdio), der die lokale lynx-control/1-API
einer laufenden LYNX-SHARE-Instanz für
Sprachmodelle/Agenten als Tools bereitstellt — sicher, kontextsparsam und
undo-freundlich.
Der Server bindet kein eigenes Netzwerk-Listener: Er spawned keinen Port und
verbindet sich nur als TCP-Client nach 127.0.0.1 zu dem von LYNX geöffneten
Loopback-Port. Das Zugangs-Token bleibt im Serverprozess und taucht in keiner
Tool-Ausgabe, keinem Log und keinem Schema auf. Details in PLAN.md.
Voraussetzungen
Python ≥ 3.10 bzw.
uvLaufende LYNX-Instanz mit aktivierter Remote Control (Settings → General → Remote control, Default: aus; alternativ
LYNX_CONTROL_ENABLED=1für einen Run)Discovery-Datei
%APPDATA%\LYNX\control\connection.json(überschreibbar via--discovery/ EnvLYNX_CONTROL_DISCOVERY)
Related MCP server: ableton-live-mcp
Start über uv/uvx (beabsichtigt)
Der Paketname (lynx-mcp) entspricht dem Console-Script, damit die üblichen
uv-Startwege funktionieren:
uvx --from D:\github\LYNX-MCP lynx-mcp # lokal aus diesem Repo
uv tool install D:\github\LYNX-MCP && lynx-mcp # dauerhaft installiert
uv run lynx-mcp --help # innerhalb des ReposNach einem Publish auf PyPI genügt uvx lynx-mcp.
MCP-Client-Konfiguration (Beispiel)
{
"mcpServers": {
"lynx": {
"command": "uvx",
"args": ["--from", "<PFAD ZU DIESEM REPO>", "lynx-mcp"],
"env": {
"LYNX_CONTROL_DISCOVERY": "%APPDATA%\\LYNX\\control\\connection.json",
"LYNX_MCP_OUT_DIR": "%LOCALAPPDATA%\\lynx-mcp\\out"
}
}
}
}(--from entfällt, sobald das Paket über PyPI installierbar ist; alle
Env-Variablen sind optional — Defaults siehe Abschnitt Test-Host.)
Skill für Agenten (optional)
Unter skills/lynx-remote-control/SKILL.md
liegt ein kurzes Workflow-Skill (OpenCode/Claude-Code-Format) für Clients,
die Skills unterstützen: Lese-Schreib-Zyklus, Notes-Replace ohne
Expression-Verlust, Snapshot→Patch→Undo-Choreographie. MCP-Clients ohne
Skill-Support brauchen es nicht — die Regeln stecken auch in den
Tool-Beschreibungen.
Entwicklung / klassische Installation
pip install -e .
python -m lynx_mcp --help
python -m lynx_mcp probe # Verbindungstest gegen eine laufende Instanz
python -m lynx_mcp serve # MCP-Server über stdio (Default)Test-Host (LYNX starten/beenden)
Zum Entwickeln und für Smoke-Tests kannst du LYNX mit aktivierter Remote Control
über die Environment-Variable LYNX_CONTROL_ENABLED=1 starten:
uv run python -m lynx_mcp.testhost start # detachter Run, Remote Control an,
# wartet auf die Discovery-Datei
uv run python -m lynx_mcp.testhost status # Instanz-, exe- und Discovery-Lage
uv run python -m lynx_mcp.testhost stop # nur die von testhost gestartete InstanzKeine festen Pfade:
LYNX.exewird über EnvLYNX_EXE(oder--exe) gesetzt; ohne Angabe sucht testhost nur die üblichen Installationsorte (%LOCALAPPDATA%\Programs\LYNX,%ProgramFiles%\LYNX). Bei portabler Installation (kein Standardort) genügtsetx LYNX_EXE "D:\pfad\zu\LYNX.exe". Eine Projektdatei lässt sich optional mit--projektübergeben.Snapshots (
lynx_snapshot) landen im Quellen-Checkout unterout/, sonst unter%LOCALAPPDATA%\lynx-mcp\out— mit EnvLYNX_MCP_OUT_DIRfrei wählbar.stopbeendet ausschließlich Instanzen, die testhost selbst gestartet hat (PID-State-Datei + Bildnamen-Prüfung gegen PID-Wiederverwendung).Verwaiste Discovery-Dateien (LYNX ohne Bereinigung beendet) erkennen
start/status/probean der toten Listener-PID.
CLI
lynx-mcp [--discovery PFAD] {serve, probe}
serve MCP-Server über stdio starten (Default)
probe Discovery + Verbindung einmalig testen (kein MCP-Server)Der Test-Host hat eine eigene CLI: python -m lynx_mcp.testhost {start,stop,status}.
Tools (vollständige Remote-Control-Fläche)
Alle 29 Ops des Builds 0.1.31.1 sind in 25 MCP-Tools abgebildet (live
verifiziert); lynx_export ergänzt als 26. Tool den Headless-Export von
LYNX.exe (kein Op, aber aus der API sauber ableitbar, s. unten):
Bereich | Tools |
Observieren |
|
Lesen |
|
Dokument |
|
Typisierte Writes |
|
Transport/Historie |
|
Export |
|
Das Fence-Tripel (expectedProjectId/expectedEpoch/expectedRevision) setzt der
Server selbst aus dem zuletzt beobachteten Read — Write-Tools brauchen es nie
als Argument, und kein Write geht ohne vorherigen Read raus (Guard-Fehler
stale_fence).
Audio-Export (lynx_export)
Die Remote-Control-API selbst hat keinen Export-Ops — aber LYNX.exe bringt
einen fensterlosen Export-Modus mit (LYNX.exe --export <in> <out>).
lynx_export verkettet beides sicher:
Vollread der laufenden Session (
project.read, verlangt gestopptes Playback) → natives Projekt-JSON (.lynx) im Snapshot-Ordner,neuer LYNX-Prozess rendert daraus WAV (24 bit), FLAC, OGG, MP3 (320 kbit/s), AIFF oder M4A/AAC — die laufende Instanz wird dabei nicht angefasst (der Export-Zweig verlässt LYNX'
initialise, bevor der Remote-Control-Listener startet),Report-Parsing:
result/peak/song_secondsaus der von LYNX geschriebenen.txtlanden strukturiert in der Antwort.
Voraussetzung ist der Pfad zu LYNX.exe (Env LYNX_EXE, sonst
Installationssuche — wie beim Test-Host). Ein stiller Render gilt als Fehler
(silent: true mit Grund) — die Datei existiert dann trotzdem. Ein Timeout
bricht den Exportprozess ab und meldet uncertain (Datei teilgeschrieben),
also nicht blind wiederholen.
Herkommen von Audio geht umgekehrt nicht über die API: Neue Sample-/
Asset-Pfade sind in project.edit allowlist-seitig gesperrt („cannot
introduce new sample/zone paths") — Imports bleiben der UI vorbehalten;
danach platziert der Agent Audio-Clips frei über lynx_playlist_edit.
Status
Frühes Projekt nach den Meilensteinen in PLAN.md (M0–M6): M0–M3 sind fertig und live verifiziert, M4/M5 stehen als Tools bereit (Mock-getestet; live bisher nur Reads + No-op). Offene Punkte siehe PLAN.md §5.
Lizenz
MIT (LICENSE). Die Lizenzen der eingebundenen Drittkomponenten — inklusive Hinweis auf LYNX SHARE (AGPL-3.0, nicht enthalten, nur API-Fernnutzung) — stehen in THIRD_PARTY.md.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Create, co-edit, analyze, publish, and export collaborative step-sequencer sessions through MCP.
Read and write shared BitsWeave context, projects, tasks, and work sessions through MCP.
Remote MCP server for audio stem separation, denoise, reverb, and MIDI export.
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
Related MCP Servers
- AlicenseBqualityCmaintenanceTurns Ableton Live into an MCP-accessible control surface, providing tools for controlling transport, tracks, clips, and devices, as well as resources for reading live state.510018 PyPI3MIT
- AlicenseBqualityDmaintenanceLocal MCP server for inspecting and controlling Ableton Live through a local HTTP bridge. Enables LLMs to perform production workflows like MIDI import, track editing, mixing, mastering, and export.5927 npmMIT
- AlicenseAqualityBmaintenanceEnables an MCP client to inspect and modify a running digital audio workstation session through a local Python remote-script TCP bridge, exposing tools for session and track structure, clip slots and MIDI notes, devices and browser items, and mixer/transport control. Read and bulk-write operations cover tempo, naming, clip creation and note editing, muting/soloing/arming, playback and scene launching, and device parameter loading and adjustment.322MIT
- AlicenseCqualityBmaintenanceEnables MCP agents to inspect and precisely edit a running Ardour session — tracks, buses, groups, mixer, transport, regions, internal MIDI, plugins, routing and automation — through the DAW's Lua APIs with optional native OSC, plus offline audio analysis and comparison of master exports. Edits are exposed as 80 typed tools with persistent IDs, explicit units, preflight validation and structured change/error results.80GPL 3.0