Connect OnesDM to your AI agent with MCP
OnesDM is a free, open-source download manager for Windows, macOS and Linux. Its local MCP server lets an AI client queue downloads, check progress and use installed download engines.
Set up the connection
- Install the OnesDM desktop app and open Settings → AI integration.
- Choose your client and install the onesdm-mcp server and the companion onesdm Skill.
- Turn on AI access, which is off by default, then restart the client or open a new session.
OnesDM can configure Codex CLI and desktop, Claude Code, Pi 0.99.0 and later, OpenCode, and DeepSeek Harness.
Test the connection
For Codex, check that the onesdm-mcp server is registered.
codex mcp list --json
Then ask your connected AI client to call this read-only MCP tool.
ndm_list_engines({})
A result with builtin and plugins confirms that the client can reach OnesDM. This call lists engines and starts no downloads.
Configure Codex manually
In ~/.codex/config.toml, set an absolute path to the installed OnesDM executable. This example uses the default Windows install location. Replace YOUR_NAME with your Windows username.
[mcp_servers.onesdm-mcp]
command = 'C:\Users\YOUR_NAME\AppData\Local\Programs\OnesDM\onesdm.exe'
args = ["mcp"]
On macOS and Linux, use the actual path to the executable on your machine. Enable AI access in the app before testing the connection. You can use AI integration in OnesDM to install and maintain the client configuration and Skill together.
The server runs on the same computer as the client and communicates over standard input and output (stdio).