Skip to content
VS Code

Audiobookshelf for VS Code

io.github.ni-c/audiobookshelf-mcp

Browse your Audiobookshelf libraries and keep listening progress, bookmarks and playlists in sync

client:VS Code transport:stdio runtime:npm

Install Audiobookshelf in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "audiobookshelf-url",
      "description": "AUDIOBOOKSHELF_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "audiobookshelf-api-key",
      "description": "AUDIOBOOKSHELF_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "audiobookshelf-read-only",
      "description": "AUDIOBOOKSHELF_READ_ONLY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "audiobookshelf-insecure-tls",
      "description": "AUDIOBOOKSHELF_INSECURE_TLS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "audiobookshelf-allow-tools",
      "description": "AUDIOBOOKSHELF_ALLOW_TOOLS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "audiobookshelf-deny-tools",
      "description": "AUDIOBOOKSHELF_DENY_TOOLS",
      "password": true
    }
  ],
  "servers": {
    "audiobookshelf-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "audiobookshelf-mcp"
      ],
      "env": {
        "AUDIOBOOKSHELF_URL": "${input:audiobookshelf-url}",
        "AUDIOBOOKSHELF_API_KEY": "${input:audiobookshelf-api-key}",
        "AUDIOBOOKSHELF_READ_ONLY": "${input:audiobookshelf-read-only}",
        "AUDIOBOOKSHELF_INSECURE_TLS": "${input:audiobookshelf-insecure-tls}",
        "AUDIOBOOKSHELF_ALLOW_TOOLS": "${input:audiobookshelf-allow-tools}",
        "AUDIOBOOKSHELF_DENY_TOOLS": "${input:audiobookshelf-deny-tools}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Audiobookshelf in other clients