@audiolabtools/mcp-server 0.4.3 → 0.4.4
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/LICENSE +21 -21
- package/README.md +12 -7
- package/hosted-server.mjs +2 -2
- package/package.json +1 -1
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Nathan Renting
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Nathan Renting
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
MCP ([Model Context Protocol](https://modelcontextprotocol.io)) server that gives any
|
|
4
4
|
MCP-capable AI (Claude Desktop, Claude Code, Cursor, and others) ten audio-analysis
|
|
5
5
|
tools, backed by the hosted **AudioLab** API. It is a thin HTTP client: **no local audio
|
|
6
|
-
engine, no ffmpeg, nothing to compile.** It can
|
|
7
|
-
on your machine
|
|
6
|
+
engine, no ffmpeg, nothing to compile.** It can measure a **public URL** or a **local file**
|
|
7
|
+
on your machine, but the measuring always happens on the hosted API: the file is read here
|
|
8
|
+
and uploaded there (see [Privacy](#privacy)).
|
|
8
9
|
|
|
9
10
|
## Install
|
|
10
11
|
|
|
@@ -71,11 +72,15 @@ Example asks to your AI:
|
|
|
71
72
|
## Privacy
|
|
72
73
|
|
|
73
74
|
Analysis happens on the AudioLab API, so the audio **does reach `audiolab.tools`**: a `url`
|
|
74
|
-
is fetched server-side, and a local `path` is
|
|
75
|
-
files via a private one-shot signed upload
|
|
76
|
-
returns **numbers only** and does not
|
|
77
|
-
|
|
78
|
-
|
|
75
|
+
is fetched server-side, and a local `path` is read here and uploaded to the API (small
|
|
76
|
+
files in the request body; larger files via a private one-shot signed upload into EU
|
|
77
|
+
storage). The API returns **numbers only** and does not keep your audio: a direct request
|
|
78
|
+
is decoded and discarded inside the request, and a signed upload is swept from storage
|
|
79
|
+
within the hour (see https://audiolab.tools/privacy). This package has no telemetry and
|
|
80
|
+
writes nothing to disk. There is no offline mode, and the engine is not published as an
|
|
81
|
+
installable package. If audio must never leave the machine, don't use a hosted analyser;
|
|
82
|
+
the in-browser labs on the website measure on-device, but they are for people, not for
|
|
83
|
+
agents.
|
|
79
84
|
|
|
80
85
|
## Limits
|
|
81
86
|
|
package/hosted-server.mjs
CHANGED
|
@@ -214,7 +214,7 @@ const wrap = (fn) => async (input) => {
|
|
|
214
214
|
const sourceShape = (local) => local
|
|
215
215
|
? {
|
|
216
216
|
url: z.string().url().optional().describe('Public https URL to the audio file. Provide exactly one of url or path.'),
|
|
217
|
-
path: z.string().optional().describe('Path to a LOCAL audio file on this machine,
|
|
217
|
+
path: z.string().optional().describe('Path to a LOCAL audio file on this machine. It is read here and uploaded to the AudioLab API for measuring, so you do not need to host it publicly (files up to 4 MB go in the request body; larger ones, up to 150 MB, upload over a signed URL and are swept from storage within the hour). Provide exactly one of url or path.'),
|
|
218
218
|
}
|
|
219
219
|
: { url: z.string().url().describe('Public https URL to the audio file.') };
|
|
220
220
|
|
|
@@ -323,7 +323,7 @@ export function buildServer({ apiKey, local = false } = {}) {
|
|
|
323
323
|
const batchSrc = local
|
|
324
324
|
? {
|
|
325
325
|
urls: z.array(z.string().url()).optional().describe('Public https URLs to audio files. Combined max 20 items with paths.'),
|
|
326
|
-
paths: z.array(z.string()).optional().describe('LOCAL audio file paths; each
|
|
326
|
+
paths: z.array(z.string()).optional().describe('LOCAL audio file paths; each is read here and uploaded over a one-shot signed URL, measured by the API, and swept from storage within the hour. Combined max 20 items with urls.'),
|
|
327
327
|
}
|
|
328
328
|
: { urls: z.array(z.string().url()).min(1).max(20).describe('Public https URLs to audio files (max 20).') };
|
|
329
329
|
tool('analyze_batch', {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@audiolabtools/mcp-server",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
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",
|