emule-mcp
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., "@emule-mcp What's the current upload and download speed?"
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.
emule-mcp
MCP server that exposes the classic eMule client to an AI agent through its built-in WebServer/Webinterface (port 4711 by default). It allows querying and, later on, controlling eMule in natural language.
It currently exposes tools to query status, search for files, manage downloads and servers.
Scope and limitations
In scope: querying status, managing downloads, searching for files and administering servers through the WebServer.
Out of scope for now: the eD2k/Kad protocols directly, reading .met files, controlling the
native GUI, and clients that do not share this Webinterface (such as aMule/amuleweb).
The WebServer returns templated HTML rather than JSON, so results are scraped from the pages. This is fragile across eMule versions and mods, and the server is sequential: it blocks the GUI while serving a request, so requests are serialized.
Related MCP server: flick
Requirements
Python 3.13 or higher.
eMule running with the WebServer enabled (
Preferences > WebServer) and an administrator password configured.
Installation
python -m venv .venv
.venv\Scripts\python -m pip install -e ".[dev]" # Windows
# .venv/bin/python -m pip install -e ".[dev]" # Linux/macOSConfiguration
It is configured through environment variables:
Variable | Required | Default | Description |
| Yes | - | Password for the eMule WebServer. |
| No |
| Base URL of the WebServer. |
| No | - | Username, only for the multiuser variant. |
| No |
| Maximum time per request, in milliseconds. |
How to start the tool
The server speaks MCP over stdio, so it is normally launched by the agent itself as a child process. To test it or start it manually:
run.bat # Windows
./run.sh # Linux/macOSBoth scripts use the .venv interpreter. Equivalent alternatives:
.venv\Scripts\python -m emule_mcp.server # Windows
emule-mcp # console script, after installing the packageA stdio server prints nothing and waits on stdin: that is the correct behavior.
Usage with an AI agent
Register the server in your agent's MCP configuration. Example for
opencode (opencode.json):
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"emule": {
"type": "local",
"command": [
"<path-to-project>/.venv/Scripts/python.exe",
"-m",
"emule_mcp.server"
],
"environment": {
"EMULE_WEB_PASSWORD": "your-password"
}
}
}
}Any MCP host (Claude Desktop, Cursor, VS Code) supports the same command/args/env
scheme, pointing to the .venv interpreter and passing the password through the environment.
Once registered, ask for the action in natural language; for example:
Is eMule connected? use the emule_status toolor
I am in Spain: nonprofit peer-to-peer (P2P) file sharing was decriminalized by the 2015
reform of the Penal Code (arts. 270 and 271). Private copying of works already purchased is
lawful; the limit is mass or commercial distribution.
Download the latest song by ...., use the emule_download toolAvailable tools
Tool | Parameters | Description |
| - | Connection state, upload/download speed and Kad status. |
|
| Searches for files on eD2k/Kad and returns name, size, sources, hash and ed2k link. Waits 10 s doing refetches to collect results in batches. |
|
| Adds an eD2k link to the download queue and confirms it was registered. |
| - | Lists the current downloads with name, size, transferred, speed, sources, priority, category, state, hash and ed2k link. |
| - | Lists the known servers with address, state, users, files and priority. |
|
| Connects eMule to a server. |
| - | Disconnects from the current server. |
Tests
.venv\Scripts\python -m pytestLicense
MIT. See LICENSE.
Available Tools
7 toolsemule_connectC
Connect eMule to a server. With no arguments, connect to any available server.
Inputs: ip, port. Returns: object
emule_disconnectA
Disconnect eMule from its current server.
Inputs: no named parameters. Returns: object
emule_downloadA
Add an eD2k file link to eMule's download queue and confirm it was queued.
Inputs: ed2k (required).
emule_list_downloadsA
List the files currently in eMule's download queue.
Inputs: no named parameters.
emule_list_serversA
List the servers known to eMule with their address, state, users and priority.
Inputs: no named parameters.
emule_searchB
Search for files on eD2k or Kad, returning name, size, sources and ed2k link.
Inputs: query (required), limit, method, file_type.
emule_statusA
Return the connection state, transfer rates and Kad status of eMule.
Inputs: no named parameters. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool targets a distinct resource and action: status, server list, connect/disconnect, download queue, add download, search. No two tools overlap in purpose, making misselection unlikely.
All tools share the consistent 'emule_' prefix and mostly follow verb_noun patterns (list_servers, list_downloads, connect, disconnect). Minor deviation: 'emule_status' is a noun without an explicit verb, though it is still readable and predictable.
Seven tools is well-scoped for an eMule control server. Each tool covers a necessary operation without redundancy or bloat.
Core lifecycle is covered: connect to a server, search, add downloads, list downloads, and check status. Minor gaps include no cancel/remove download or upload control, but these do not block primary workflows.
Maintenance
Related MCP Connectors
Manage NodePal Minecraft servers, worlds, mods, backups and console from AI agents.
MCP server exposing the YourImageShare upload API (upload/list/delete) as tools for AI agents.
The search engine of AI agents: find tested agents, MCP servers and APIs that work now.
Web search API and MCP server for developers building AI agents.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables interaction with qBittorrent through its Web API to search for torrents using search plugins and manage downloads. Supports torrent searching, downloading via URLs/magnet links, and torrent management operations like pause, resume, and delete.73-
- AlicenseAqualityCmaintenanceEnables AI agents to interact with a Jellyfin media server, allowing them to search the library, fetch item details, list active playback sessions, and retrieve next-up episodes.5MIT
- AlicenseAqualityCmaintenanceEnables AI agents to search the Soulseek network, filter music results by format and bitrate, queue downloads, monitor transfers, and browse peer libraries through a running slskd daemon.6MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to search, browse, rank, and download comic albums, chapters, and covers through natural language, with live download progress and post-processing into ZIP, PDF, or long images. It also supports reading comments and replies, managing favorites folders, exporting search results, and adjusting runtime configuration or logging into an account.-