sonovault-mcp 1.3.0 → 1.3.1

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ import { SonoVault as SonoVault2 } from "sonovault";
8
8
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
9
9
  import { SonoVaultError } from "sonovault";
10
10
  import { z } from "zod";
11
- var SERVER_VERSION = "1.3.0";
11
+ var SERVER_VERSION = "1.3.1";
12
12
  function json(data) {
13
13
  return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
14
14
  }
@@ -64,7 +64,7 @@ function createServer(sv2) {
64
64
  "get_work_codes",
65
65
  {
66
66
  title: "Recording to composition (ISWC)",
67
- description: "Find the ISWC work code(s) behind a recording, by ISRC or SonoVault track ID. Useful for royalty and publishing workflows. One recording can carry several ISWCs (medleys, samples).",
67
+ description: 'Find the ISWC work code(s) behind a recording, by ISRC or SonoVault track ID. Useful for royalty and publishing workflows. By ISRC it returns the works linked to that exact ISRC (basis "isrc"), falling back to every work on the recording (basis "recording") when none is. One recording can carry several ISWCs (medleys, samples, a song registered under more than one ISWC).',
68
68
  inputSchema: {
69
69
  isrc: z.string().optional().describe("ISRC of the recording"),
70
70
  track_id: z.number().int().optional().describe("SonoVault track ID (alternative to isrc)")
@@ -196,7 +196,7 @@ function createServer(sv2) {
196
196
  "get_release",
197
197
  {
198
198
  title: "Get release with tracklist",
199
- description: "Fetch one release by SonoVault release ID, including its full tracklist with ISRCs, BPM and musical key per track (same bpm/key_* fields as get_track, null when not analysed). Tracks come back in playing order, each with disc_number and track_number; a track whose position is unknown sorts last with both null. A SonoVault release groups every edition of an album onto one record, so the response also carries an editions array naming the real editions behind it, each with its provider, format, release date, barcode, country, track count, label and catalog number (pressings of one album often carry different labels); pass one of their ids as `edition` to render that edition's numbering instead of the default consensus. musicbrainz_release_ids and musicbrainz_release_group_ids are arrays for the same reason.",
199
+ description: "Fetch one release by SonoVault release ID, including its full tracklist with ISRCs, BPM and musical key per track (same bpm/key_* fields as get_track, null when not analysed). Tracks come back in playing order, each with disc_number and track_number; a track whose position is unknown sorts last with both null. A SonoVault release groups every edition of an album onto one record, so the response also carries an editions array naming the real editions behind it, each with its provider, format, release date, barcode, country, track count, label and catalog number (pressings of one album often carry different labels); pass one of their ids as `edition` to render that edition's numbering instead of the default consensus. digital_upc is the UPC the release was delivered to digital stores with (12-digit UPC-A, or 13-digit EAN when it does not fit), null when no digital edition carries one. musicbrainz_release_ids and musicbrainz_release_group_ids are arrays for the same reason.",
200
200
  inputSchema: {
201
201
  id: z.number().int().describe("SonoVault release ID"),
202
202
  edition: z.number().int().optional().describe("Edition id from the response's editions array. Renders that edition's track numbering; tracks it does not carry keep a null position and come last.")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sonovault-mcp",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "MCP server for the SonoVault music metadata API. Search 93M+ tracks, artists, and releases; get genre, BPM, musical key, label, release dates, ISRC/ISWC codes, and cross-platform IDs.",
5
5
  "mcpName": "io.github.rekordcloud/sonovault",
6
6
  "keywords": [
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@modelcontextprotocol/sdk": "^1.29.0",
46
- "sonovault": "^4.3.0",
46
+ "sonovault": "^4.5.1",
47
47
  "zod": "^3.25.0"
48
48
  },
49
49
  "devDependencies": {