Skip to main content
Glama

PackWarden — Thunderstore Mod-Pack MCP Server (v0.1.0)

PackWarden is not affiliated with or endorsed by Thunderstore. "Thunderstore" is used only to describe compatibility. Mod data comes from the public Thunderstore API (https://thunderstore.io).

PackWarden demo: search a Lethal Company mod, resolve its dependencies, export an r2modman profile

Live output: searching Lethal Company mods, resolving MoreCompany's dependencies, and exporting an r2modman .r2z profile.

An MCP server that helps AI assistants build and maintain Thunderstore mod packs (Lethal Company, Risk of Rain 2, Valheim, and every other Thunderstore community).

Tools

Tool

What it does

list_communities

List Thunderstore game communities (identifier + name).

search_mods

Search a community by name/owner/description/category; sort by relevance, downloads, rating, updated.

resolve_dependencies

Full transitive dependency closure for one or more packages/versions; final install set, missing deps, multi-version pins, optional tree.

check_pack_health

Audit a mod list: not found, removed version, deprecated, outdated, missing deps, dependency version conflicts, duplicates, NSFW.

export_r2modman_profile

Write an .r2z profile (r2modman / Thunderstore Mod Manager "Import profile → From file"), optionally with deps and config files. Nothing is uploaded.

Mods are referenced as Owner-Name (latest) or Owner-Name-1.2.3.

Related MCP server: mc-pack-builder-mcp

Install

Requires Node.js ≥ 18.17.

git clone <repo> thunderstore-mcp && cd thunderstore-mcp
npm install && npm run build

Claude Desktop

Edit claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\):

{
  "mcpServers": {
    "thunderstore": {
      "command": "node",
      "args": ["/absolute/path/to/thunderstore-mcp/dist/main.js"],
      "env": { "TSMCP_EXPORT_DIR": "/absolute/path/for/profiles" }
    }
  }
}

Restart Claude Desktop.

Cursor

~/.cursor/mcp.json (global) or .cursor/mcp.json (project):

{
  "mcpServers": {
    "thunderstore": {
      "command": "node",
      "args": ["/absolute/path/to/thunderstore-mcp/dist/main.js"]
    }
  }
}

Streamable HTTP (remote / self-hosted)

npm run start:http            # http://127.0.0.1:3333/mcp
PORT=8080 HOST=0.0.0.0 node dist/main.js --http

Cursor: { "mcpServers": { "thunderstore": { "url": "http://127.0.0.1:3333/mcp" } } }. The HTTP mode is stateless (POST-only, JSON responses) and has no auth. Put it behind a reverse proxy with TLS and auth before exposing it.

Configuration (env)

Var

Default

Meaning

TSMCP_CACHE_DIR

~/.cache/thunderstore-mcp

Slim package-index cache

TSMCP_LIST_TTL_MS

3600000 (1h)

Package-list freshness

TSMCP_MIN_INTERVAL_MS

1000

Minimum gap between outbound requests

TSMCP_EXPORT_DIR

./exports

Where .r2z files are written

TSMCP_CONTACT

support@packwarden.dev

Contact put in the User-Agent. Override if you run your own copy.

TSMCP_BRAND

PackWarden

Brand in server name/User-Agent

TSMCP_BASE_URL

https://thunderstore.io

API base

Be a good API citizen

  • One full package list download per community per TTL, then conditional requests (If-Modified-Since). Results are cached on disk as a slim index.

  • Outbound requests are serialized (concurrency 1) and spaced ≥1s apart. On 429/5xx the client backs off and honours Retry-After.

  • Identifying User-Agent with a contact address.

  • If the network fails, the server keeps serving stale cache.

Tests (live API)

npm test                         # default community: valheim
TEST_COMMUNITY=valheim npm test

Tests cover stdio and streamable HTTP end-to-end against the live Thunderstore API.

Limitations

  • Large communities are heavy. The first load of Lethal Company is about 330 MB of JSON, takes about 14 s, and uses about 1.4 GB of RAM. After that, loads from cache take about 3 s.

  • Resolution follows r2modman behaviour (highest requested version wins). It does not do semver range solving, because Thunderstore pins exact versions.

  • No profile code sharing, which would need an upload to Thunderstore. Only file export is supported.

  • Search is local keyword scoring, not Thunderstore's own search ranking.

Available Tools

5 tools
check_pack_healthCheck mod pack healthA
Read-only

Audit a mod list: not found, removed versions, deprecated, outdated vs latest, missing dependencies, dependency version conflicts, duplicates.

Inputs: mods (required), community (required).

export_r2modman_profileExport r2modman profileA

Write an r2modman / Thunderstore Mod Manager profile file (.r2z) that can be imported via 'Import profile > From file'. Optionally resolves dependencies and bundles config files. Does not upload anything.

Inputs: mods (required), community (required), profileName (required), disabled, +2 more.

list_communitiesList Thunderstore communitiesB
Read-only

List game communities (identifier + name) on Thunderstore. Cached 24h.

Inputs: filter.

resolve_dependenciesResolve dependenciesA
Read-only

Full transitive dependency closure for one or more package versions (latest if no version given). Returns final install set (highest requested version wins, as r2modman does), missing deps, multi-version pins, and the tree.

Inputs: packages (required), community (required), includeTree.

search_modsSearch modsA
Read-only

Search a community's mods by name/owner/description/category. First call per community downloads and caches the full package list (can take 10-60s for large games).

Inputs: query (required), community (required), sort, limit, +3 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 5 tools

    Disambiguation4/5

    Each tool targets a distinct action: listing communities, searching mods, resolving dependencies, auditing a pack, and exporting a profile. There is mild overlap between resolve_dependencies and check_pack_health (both report missing dependencies) and between resolve_dependencies and export_r2modman_profile (which can optionally resolve), but the descriptions clearly delineate the primary intent of each.

    Naming Consistency5/5

    All five tools follow a strict verb_noun snake_case pattern: resolve_dependencies, search_mods, check_pack_health, export_r2modman_profile, list_communities. No camelCase or stylistic deviations; 'r2modman' is a proper noun used consistently within a well-formed name.

    Tool Count5/5

    Five tools is a tight, purpose-fit surface for a Thunderstore/r2modman pack workflow: discover, search, resolve, validate, export. No tool feels redundant or vestigial, and nothing obviously needed for the core loop is missing from the count.

    Completeness3/5

    The surface covers discovery through export, but has notable gaps: no way to inspect a single mod's details/version history, no tool to read or parse an existing profile (import is only via the external manager), and no explicit dependency download/fetch step. Agents can work around some of this via resolve_dependencies and search_mods, but profile inspection is a dead end.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to search, browse, and manage mods across Nexus Mods, mod.io, Thunderstore, and Modrinth, as well as perform local diagnostics like detecting games and parsing crash logs.
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables creating Minecraft modpack structures, searching Modrinth mods, resolving dependencies, and checking compatibility.
      8
      52 npm
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables comparing Minecraft modpack directories to identify added, removed, and changed mods, and generating Markdown or plain-text changelogs. It can also enrich changelogs with Modrinth version history and save generated output to files.
      6
      45 npm
      MIT