audiobookshelf-mcp 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +9 -1
  2. package/package.json +5 -2
package/README.md CHANGED
@@ -18,7 +18,15 @@ keep your listening progress, bookmarks, collections and playlists up to date.
18
18
 
19
19
  📖 **Full documentation: <https://audiobookshelf-mcp.ni-c.de>**
20
20
 
21
- <img src="https://audiobookshelf-mcp.ni-c.de/architecture.svg" alt="An MCP client talks to audiobookshelf-mcp over stdio; the server exposes 29 read and 15 write tools, compacts every response, and calls the Audiobookshelf REST API over HTTPS with a bearer API key" width="800">
21
+ <!-- <picture> is resolved against the colour scheme of the page showing it, so GitHub
22
+ picks the variant that matches its own theme toggle. npm strips <picture> and
23
+ <source> when it sanitises the README and keeps the <img>, which is why that
24
+ fallback brings its own dark card instead of relying on a media query. -->
25
+ <picture>
26
+ <source media="(prefers-color-scheme: dark)" srcset="https://audiobookshelf-mcp.ni-c.de/architecture-dark.svg">
27
+ <source media="(prefers-color-scheme: light)" srcset="https://audiobookshelf-mcp.ni-c.de/architecture-light.svg">
28
+ <img src="https://audiobookshelf-mcp.ni-c.de/architecture.svg" alt="An MCP client talks to audiobookshelf-mcp over stdio; the server exposes 29 read and 15 write tools, compacts every response, and calls the Audiobookshelf REST API over HTTPS with a bearer API key" width="800">
29
+ </picture>
22
30
 
23
31
  <img src="https://audiobookshelf-mcp.ni-c.de/demo.gif" alt="Terminal recording: the server reports 44 tools, lists library items as a compact projection, and answers the first delete_collection call with a single-use confirmation token instead of deleting anything" width="800">
24
32
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "audiobookshelf-mcp",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "mcpName": "io.github.ni-c/audiobookshelf-mcp",
5
5
  "description": "MCP server for Audiobookshelf, the self-hosted audiobook and podcast server",
6
6
  "keywords": [
@@ -40,8 +40,10 @@
40
40
  "test": "vitest run",
41
41
  "test:coverage": "vitest run --coverage",
42
42
  "prepublishOnly": "npm run lint && npm test && npm run build",
43
+ "docs:tools": "node scripts/gen-tools-doc.mjs",
43
44
  "docs:tools:check": "node scripts/gen-tools-doc.mjs --check",
44
- "docs:tools": "node scripts/gen-tools-doc.mjs"
45
+ "assets": "node scripts/gen-assets.mjs",
46
+ "assets:check": "node scripts/gen-assets.mjs --check"
45
47
  },
46
48
  "dependencies": {
47
49
  "@modelcontextprotocol/sdk": "^1.30.0",
@@ -50,6 +52,7 @@
50
52
  },
51
53
  "devDependencies": {
52
54
  "@eslint/js": "^10.0.1",
55
+ "@resvg/resvg-js": "^2.6.2",
53
56
  "@types/node": "^26.2.0",
54
57
  "@vitest/coverage-v8": "4.1.10",
55
58
  "eslint": "^10.8.1",