NZBGet MCP Server
Supports containerized deployment of the NZBGet MCP server with Docker, allowing easy setup and configuration through environment variables for NZBGet connectivity.
Uses environment variables for NZBGet server configuration, enabling secure storage and management of connection credentials (host, port, username, password) through .env files.
Provides repository hosting for the NZBGet MCP server source code, enabling version control and collaborative development of the integration.
Hosts the NZBGet MCP server repository, providing access to source code, documentation, and issue tracking for the integration.
Supports integration with Claude Desktop on macOS, providing configuration instructions for macOS-specific file paths and system compatibility.
Provides runtime environment for the NZBGet MCP server, enabling execution of TypeScript-based tools for NZBGet API interaction.
Manages dependencies and build processes for the NZBGet MCP server, providing package management and script execution for development and deployment.
Implements the NZBGet MCP server in TypeScript, providing type-safe tool definitions and structured codebase for NZBGet API integration.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@NZBGet MCP Server Show me the current download queue and the server status"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
NZBGet MCP Server
An MCP (Model Context Protocol) server for NZBGet that exposes NZBGet API functionality as MCP tools usable by LLM clients.
Control your Usenet downloads with natural language through Claude and other MCP-compatible clients.
Features
15 MCP tools for complete NZBGet control
Queue management: list, add, pause, resume, delete downloads
History tracking: view completed and failed downloads
Speed control: set download rate limits
Status monitoring: real-time server status, disk space, queue info
Logging: access and write to NZBGet logs
TypeScript implementation with JSON-RPC client
Stdio transport compatible with Claude Desktop
Related MCP server: SABnzbd MCP
Requirements
Node.js 18+
A running NZBGet instance with RPC enabled
Setup
Clone the repository and install dependencies:
git clone https://github.com/aserper/nzbget-mcp.git
cd nzbget-mcp
npm installBuild the project:
npm run buildCopy
.env.exampleto.envand set your values:
cp .env.example .envEdit .env:
NZBGET_HOST=localhost
NZBGET_PORT=6789
NZBGET_USERNAME=nzbget
NZBGET_PASSWORD=tegbzn6789
NZBGET_USE_HTTPS=falseRunning the MCP Server
npm startOr directly:
node dist/index.jsTesting
# Run all tests
npm test
# Run with coverage
npm run test:coverage
# Run tests in watch mode
npm run test:uiArchitecture
This MCP server uses a modular architecture:
src/tools/*.ts- Individual tool implementationssrc/tools/index.ts- Tool registry and discoverysrc/utils/errors.ts- Error handling utilitiessrc/__tests__/mocks/- Test fixtures and mocks
All 15 tools are self-contained modules that register themselves on import.
Configuration
Variable | Description | Default |
| NZBGet hostname |
|
| NZBGet RPC port |
|
| NZBGet username | - |
| NZBGet password | - |
| Use HTTPS |
|
Claude Desktop Configuration
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, or equivalent on other platforms):
{
"mcpServers": {
"nzbget": {
"command": "node",
"args": ["/path/to/nzbget-mcp/dist/index.js"],
"env": {
"NZBGET_HOST": "localhost",
"NZBGET_PORT": "6789",
"NZBGET_USERNAME": "nzbget",
"NZBGET_PASSWORD": "tegbzn6789"
}
}
}
}Docker
Build Locally
docker build -t nzbget-mcp .Run
docker run --rm -it \
-e NZBGET_HOST="localhost" \
-e NZBGET_PORT="6789" \
-e NZBGET_USERNAME="nzbget" \
-e NZBGET_PASSWORD="tegbzn6789" \
nzbget-mcpExposed Tools
Status & Information
nzbget_status- Get server status (speed, queue size, disk space)nzbget_version- Get NZBGet versionnzbget_server_volumes- Get download statistics per server
Download Queue
nzbget_list_groups- List all downloads in queuenzbget_append- Add NZB file to queuenzbget_edit_queue- Edit queue (pause, resume, delete, set priority)
History
nzbget_history- View download history
Control
nzbget_pause_download/nzbget_resume_downloadnzbget_pause_post/nzbget_resume_postnzbget_rate- Set download speed limit (KB/s)nzbget_scan- Scan for new NZB files
Logging
nzbget_log- Get log entriesnzbget_write_log- Write custom log message
Usage Examples
"Show me what's currently downloading"
"Pause the download queue"
"Set download speed to 5 MB/s"
"Add an NZB file to the queue"
"Show my recent download history"Development
# Install dependencies
npm install
# Build
npm run build
# Watch mode
npm run dev
# Lint
npm run lint
# Type check
npm run typecheckLicense
MIT
Contributing
Contributions welcome! Feel free to open an issue or submit a PR.
Available Tools
15 toolsnzbget_appendC
Add NZB to queue
Inputs: filename (required), content (required), category, priority, +2 more.
nzbget_edit_queueD
Edit queue items
Inputs: command (required), ids (required), param.
nzbget_historyC
Get download history
Inputs: hidden.
nzbget_list_groupsB
List download queue groups
Inputs: logEntries.
nzbget_logD
Get log entries
Inputs: idFrom, numberOfEntries.
nzbget_pause_downloadB
Pause downloads
Inputs: no named parameters.
nzbget_pause_postB
Pause post-processing
Inputs: no named parameters.
nzbget_rateC
Set download rate limit
Inputs: limit (required).
nzbget_resume_downloadC
Resume downloads
Inputs: no named parameters.
nzbget_resume_postC
Resume post-processing
Inputs: no named parameters.
nzbget_scanB
Scan for new NZB files
Inputs: no named parameters.
nzbget_server_volumesB
Get download statistics per server
Inputs: no named parameters.
nzbget_statusB
Get current NZBGet server status
Inputs: no named parameters.
nzbget_versionB
Get NZBGet version
Inputs: no named parameters.
nzbget_write_logD
Write log message
Inputs: kind (required), text (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Most tools have clearly distinct purposes targeting different aspects of NZBGet management (queue, history, status, control). There is some potential confusion between pause_download/pause_post and resume_download/resume_post pairs, but the descriptions clarify the download vs. post-processing distinction.
All tools follow a consistent 'nzbget_verb_noun' pattern with snake_case throughout. The naming convention is predictable and systematic, making it easy to understand each tool's function at a glance.
15 tools is well-scoped for an NZBGet management server. This provides comprehensive coverage of queue management, status monitoring, control operations, and logging without being overwhelming or sparse.
The toolset covers most essential NZBGet operations including queue management (append, edit, list groups), status monitoring (status, version, server volumes), control (pause/resume, rate limiting), and logging. Minor gaps might include more granular queue item manipulation or configuration management, but core workflows are well-covered.
Maintenance
Related MCP Connectors
Sonos MCP server: control your Sonos speakers from any MCP client. Play songs, artists and playlists, set volume, group rooms, move music to another room, switch to TV, spoken announcements and reminders. 27 tools, English and Chinese. Works through the official Sonos cloud, so there is no home bridge to install; sign in with OAuth. Requires the free ZoneFoundry iOS app.
Audio, music, video, image, PDF, speech, text and web-check tools callable from any MCP client.
Audio, music, video, image, PDF, speech, text and web-check tools callable from any MCP client.
Manage your KeepMySubs subscriptions, spend, renewals, and bills from any MCP client.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables interaction with the *arr media management suite (Sonarr, Radarr, Lidarr, Prowlarr, SABnzbd) and TRaSH Guides through MCP tools, allowing media library management, searching, and configuration via natural language.7027 npm1MIT
- AlicenseAqualityCmaintenanceEnables managing a SABnzbd Usenet downloader through natural language, including queue control, history browsing, adding downloads, and speed adjustment.213ISC
- AlicenseBqualityDmaintenanceEnables control and management of a self-hosted media stack (Radarr, Sonarr, Prowlarr, SABnzbd, qBittorrent) through natural language via MCP.15GPL 3.0
- AlicenseNot gradedqualityBmaintenanceEnables MCP-capable AI agents to queue, monitor, probe, pause, resume, cancel, and speed-limit downloads, grab links from web pages, and manage download categories through a Windows download manager.MIT