SI

savannah-i-g/nanotracker-api-sdk

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

20 stars 0 forks 品質 61 トレンド 10MIT

Drive a live nanoTracker session (https://federatedindustrial.com/tracker) from any AI coding agent. Local relay + MCP server + CLI + adapter snippets for Claude Code, Cursor, Cline, Continue, Aider,...

概要

Drive a live nanoTracker session from any AI coding agent, CLI, or script — no DevTools, no browser flags, no PWA-breaking workarounds. A small, MIT-licensed harness that lets external programs read and write a live nanoTracker project running in a browser tab at https://federatedindustrial.com/tracker. The tracker exposes a JavaScript API (window.nanoTracker) with batched CRUD over patterns, samples, sequence layers, and song state. This SDK ships: - a tiny that bridges HTTP and the browser tab, - an so any modern coding agent gets six tools for free, - a for shell scripts and humans, - per-agent mirroring the nanoTracker plugin-sdk layout, - adapter snippets for nine MCP-aware coding tools, - runnable end-to-end . The page-side bridge that closes the loop ships with nanoTracker itself; this repo is the everything-else. You need Node 20+, a recent Chromium / Firefox / Safari, and a nanoTracker tab open at https://federatedindustrial.com/tracker. That's the whole loop.

README

以下は原文 README の抜粋です。原文を見る。

nanoTracker API SDK

Drive a live nanoTracker session from any AI coding agent, CLI, or script — no DevTools, no browser flags, no PWA-breaking workarounds.


What this is

A small, MIT-licensed harness that lets external programs read and write a live nanoTracker project running in a browser tab at .

The tracker exposes a JavaScript API (window.nanoTracker) with batched CRUD over patterns, samples, sequence layers, and song state. This SDK ships:

  • a tiny local relay that bridges HTTP and the browser tab,
  • an MCP server so any modern coding agent gets six tools for free,
  • a CLI for shell scripts and humans,
  • per-agent skill bundles mirroring the nanoTracker plugin-sdk layout,
  • adapter snippets for nine MCP-aware coding tools,
  • runnable end-to-end examples.
   you ──MCP / HTTP / CLI──>   relay (127.0.0.1:9311)   ──WS──>   nanoTracker tab
                                                              │
                                                              ↓
                                                window.nanoTracker

The page-side bridge that closes the loop ships with nanoTracker itself; this repo is the everything-else.


5-minute quickstart

You need Node 20+, a recent Chromium / Firefox / Safari, and a nanoTracker tab open at .

# 1. Clone + install
git clone https://github.com/savannah-i-g/nanotracker-api-sdk
cd nanotracker-api-sdk/tools
npm install

# 2. Start the relay
node relay.mjs
# → token written to ~/.nanotracker/relay-token, also printed to stderr

# 3. In the nanoTracker tab:
#    FILE > API…  →  Enable Local API
#                 →  Connect to local relay
#                 →  paste the token

# 4. Drive it
node ../tools/cli.mjs read getProjectSummary
node ../tools/cli.mjs execute '[{"op":"setBpm","value":140}]' '{"undoDescription":"first batch"}'

That’s the whole loop. Everything else in this repo is detail.


GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →