@audiolabtools/mcp-server 0.5.1 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/hosted-server.mjs +7 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -58,7 +58,7 @@ Every tool takes **one audio source**: a public `url` **or** a local `path`:
|
|
|
58
58
|
| `analyze_voice` | Voice QA: speech/silence ratio, speaking rate, SNR, noise floor, pause energy, sibilance & clipping risk |
|
|
59
59
|
| `get_speech_segments` | Voiced regions with start/end + per-segment RMS (auto-trim, chapters) |
|
|
60
60
|
| `index_signal` | Content-type guess, tags, clipping/silence regions, brightness & dynamics buckets. Add `bandLimit:true` for `bandLimit.upsampled`: `yes`, `no` or `cannot-say`, with the reason in plain words (guide: <https://audiolab.tools/docs/start/is-my-audio-upsampled>) |
|
|
61
|
-
| `analyze_profile` | One named question, `voice`, `master`, `provenance`, `dataset`, `environment`, `broadcast`, `loop`, `room` (reverberation from a clap, a pop, an impulse response or a sweep; pass `roomSource`), `chain` (lost packets) or `pitch` (where a voice sits and how clean it is), answered with only the lenses it needs. These ten need a paid plan; the free tier gets the `basic` profile, keyed by stable lens id. Add `series:true` for the curves, per-block lanes and per-phrase values. Carries a `note` when the profile’s voice lenses land on non-speech material. Full catalogue: <https://audiolab.tools/lenses> |
|
|
61
|
+
| `analyze_profile` | One named question, `voice`, `master`, `provenance`, `dataset`, `environment`, `broadcast`, `loop`, `room` (reverberation from a clap, a pop, an impulse response or a sweep; pass `roomSource`), `chain` (lost packets) or `pitch` (where a voice sits and how clean it is), answered with only the lenses it needs. These ten need a paid plan; the free tier gets the `basic` profile, keyed by stable lens id. Add `series:true` for the curves, per-block lanes and per-phrase values. Add `liveEvents:true` for `liveEvents`: the file read as a stream by the live monitor of /live, with every gap, clipping, level drop, dead air and hum it raised, all with status signals. Carries a `note` when the profile’s voice lenses land on non-speech material. Full catalogue: <https://audiolab.tools/lenses> |
|
|
62
62
|
| `compare_loudness` | A/B on two sources (`urlA`/`pathA` + `urlB`/`pathB`), returns both results |
|
|
63
63
|
| `analyze_batch` | One route over up to 20 sources in a single call (`urls` and/or `paths`), per-item ok/data/error. For folder QA, library indexing, or checking a whole release against a target; with `endpoint:"signallab/index"` it takes `bandLimit:true` too. Each item meters as one call |
|
|
64
64
|
|
package/hosted-server.mjs
CHANGED
|
@@ -298,7 +298,10 @@ export function buildServer({ apiKey, local = false } = {}) {
|
|
|
298
298
|
+ 'basic is the free tier; the other ten need a paid plan. '
|
|
299
299
|
+ 'Results are keyed by stable lens id. Only the analysis passes the profile needs are run. '
|
|
300
300
|
+ 'Set series:true to also get the curves, the per-block lanes and the per-phrase values,'
|
|
301
|
-
+ 'a much larger payload, so leave it off unless you are going to read them.'
|
|
301
|
+
+ 'a much larger payload, so leave it off unless you are going to read them. '
|
|
302
|
+
+ 'Set liveEvents:true to also get liveEvents: the file read as a stream by the live monitor, with every dropout, clipping, level drop, dead air '
|
|
303
|
+
+ 'and hum event, its times and its reason. Status signals: none of these detectors has been validated on live streams yet, so say "a signal", '
|
|
304
|
+
+ 'never "detected". A dropout or clipping event names the file measure with its own rule (chain.dropoutCount, signal.clipping) and why the two can differ.'
|
|
302
305
|
+ srcDoc,
|
|
303
306
|
inputSchema: {
|
|
304
307
|
...src,
|
|
@@ -308,8 +311,10 @@ export function buildServer({ apiKey, local = false } = {}) {
|
|
|
308
311
|
.describe('Include time series, per-block lanes and per-phrase arrays. Off by default.'),
|
|
309
312
|
roomSource: z.enum(['clap', 'balloon', 'impulse', 'sweep']).optional()
|
|
310
313
|
.describe('For the room profile: how the recording was made. clap (default): one clap; balloon: one pop; impulse: the file is an impulse response; sweep: the file holds the sweep of the engine as the room returned it.'),
|
|
314
|
+
liveEvents: z.boolean().optional()
|
|
315
|
+
.describe('Also return liveEvents: the events of the live monitor over the whole file, status signals. Off by default.'),
|
|
311
316
|
},
|
|
312
|
-
}, wrap((i) => analyzeSource('analyze/profile', i, { profile: i.profile, series: i.series === true, ...(i.roomSource ? { roomSource: i.roomSource } : {}) }, apiKey, local)));
|
|
317
|
+
}, wrap((i) => analyzeSource('analyze/profile', i, { profile: i.profile, series: i.series === true, ...(i.roomSource ? { roomSource: i.roomSource } : {}), ...(i.liveEvents ? { liveEvents: true } : {}) }, apiKey, local)));
|
|
313
318
|
|
|
314
319
|
// compare_loudness: two independent sources, each a url or (local only) a path.
|
|
315
320
|
const cmp = local
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@audiolabtools/mcp-server",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"mcpName": "tools.audiolab/audiolab",
|
|
5
5
|
"description": "MCP server for AudioLab, loudness (EBU R128 / BS.1770-4), true-peak, voice-quality, and signal analysis for AI agents (Claude, Cursor, any MCP client), via the AudioLab hosted API. No local audio engine required.",
|
|
6
6
|
"type": "module",
|