k3b-mcp
v0.1.0
Published
MCP server for burning optical media with K3b CLI
Readme
K3B-MCP
MCP server for burning optical media using the K3b CLI (k3bcli).
Requirements
- Linux host with K3b installed (
k3bcliavailable on PATH) - Node.js v22+ (current host runtime detected)
If k3bcli is not on PATH, set K3BCLI_PATH to the full binary path.
Install
npm install -g k3b-mcpMCP configuration
Example mcp.json entry:
{
"mcpServers": {
"k3b": {
"command": "k3b-mcp",
"env": {
"K3BCLI_PATH": "k3bcli"
}
}
}
}Tools
k3bcli_help: showk3bcli --helpoutput.list_optical_drives: list available optical drives (usesk3bcli --list-devices).create_data_disc_from_folder: burn a data disc from a folder (supports optionallabelandcopies).run_k3bcli: run anyk3bclicommand directly.
Example usage
- Discover flags if needed
- Call
k3bcli_help.
- Call
- List drives
- Call
list_optical_drives.
- Call
- Burn a folder to disc
- Call
create_data_disc_from_folderwith the folder path and optional device/speed/label/copies.
- Call
Example tool call payload:
{
"folder": "/home/user/projects/burn-this",
"device": "/dev/sr0",
"speed": 8,
"label": "MY_ARCHIVE_2026",
"copies": 3
}Note: The create_data_disc_from_folder tool uses k3bcli --data and --copies for multiple burns. If your K3b version uses different flags, use run_k3bcli with the correct arguments.
