Skip to content

From Hubdustry (reference)

Hubdustry is the reference adapter — included to validate the migration framework end-to-end against a known-zero-overlap source. It does not migrate any Discord tools because Hubdustry has none.

Hubdustry’s MCP server is a Go-based tool server for server administration: file operations, container lifecycle, deploy triggers, system metrics. It predates discord-mcp and lives in a different problem space entirely.

It ships in Plan 11 as the reference adapter — the simplest possible implementation of the MigrationSource interface, with an empty NAME_MAP and a Go-specific extraction regex. Running it against a real Hubdustry clone produces:

mapped: 0
unmapped: 8 (all Hubdustry tools)
manual: 0
warnings: []

That’s the intended output. It demonstrates the framework working end-to-end while honestly reporting that there’s nothing to translate.

discord-mcp is a Discord REST + Gateway server. Hubdustry’s tools (files.read, containers.deploy, system.stats, etc.) have no Discord equivalents — they belong in a different MCP server entirely.

If you’re a Hubdustry user adding Discord capabilities to your agent:

  • Don’t migrate anything. discord-mcp and Hubdustry MCP are complementary, not competing.

  • Install discord-mcp alongside Hubdustry. Both can be registered with the same MCP client (Claude Desktop, Cline, etc.) — they expose disjoint tool surfaces. Your agent can call both in the same conversation.

  • Use discord-mcp init to generate the discord-mcp client config:

    Terminal window
    discord-mcp init --client claude-desktop --token "Bot YOUR.TOKEN"

    Restart your MCP client. You now have N+1 servers configured, with discord-mcp’s 192 Discord tools added next to Hubdustry’s 8 system tools.

Even though there’s nothing to translate, running the adapter against a Hubdustry clone is a useful smoke test for the migration framework itself — it confirms that detection, file walking, and tool extraction all work on a Go codebase:

Terminal window
git clone https://github.com/jhm1909/Hubdustry.git ~/hubdustry-clone
discord-mcp migrate --from hubdustry-go-mcp --source ~/hubdustry-clone

Expected output: 8 unmapped tools, 0 mapped, 0 manual review, exit code 1 (unmapped tools are non-fatal).

If you’re authoring a new adapter, this is also a useful negative test: your adapter’s detect() MUST return false against the Hubdustry fixture, and the Hubdustry adapter MUST return false against yours. See the adapter authoring guide for the cross-detection pattern.