mcpField
P
packwarden

packwarden

Local
github.com/packwarden-devGames & Entertainment0Updated 3d ago

About packwarden

PackWarden is an MCP server for building and maintaining Thunderstore mod packs across game communities. It searches mods, resolves dependencies, audits pack health, and exports profiles for r2modman or Thunderstore Mod Manager.

Key features

  1. 01Search mods by community and criteria
  2. 02Resolve transitive package dependencies
  3. 03Audit packs for conflicts and outdated mods
  4. 04Export .r2z profiles for mod managers
  5. 05Cache package data and handle API backoff

Use cases

  1. 01Find mods for a Thunderstore game community
  2. 02Check a pack for missing or conflicting dependencies
  3. 03Review a mod list for removed or outdated versions
  4. 04Export a profile for import into a mod manager

MCP support

It exposes Thunderstore community, search, dependency, audit, and profile-export tools to MCP clients. It can run over stdio or as a stateless Streamable HTTP service.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"packwarden-dev-packwarden": {
"command": "npx",
"args": [
"-y",
"@packwarden-dev/thunderstore-mcp"
]
}
}
}
Run commandnpx -y @packwarden-dev/thunderstore-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@packwarden-dev/thunderstore-mcp0.1.0

Tools

5

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
filterstringNo

Details

From the project README

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).

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

ToolWhat it does
list_communitiesList Thunderstore game communities (identifier + name).
search_modsSearch a community by name/owner/description/category; sort by relevance, downloads, rating, updated.
resolve_dependenciesFull transitive dependency closure for one or more packages/versions; final install set, missing deps, multi-version pins, optional tree.
check_pack_healthAudit a mod list: not found, removed version, deprecated, outdated, missing deps, dependency version conflicts, duplicates, NSFW.
export_r2modman_profileWrite 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.

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)

VarDefaultMeaning
TSMCP_CACHE_DIR~/.cache/thunderstore-mcpSlim package-index cache
TSMCP_LIST_TTL_MS3600000 (1h)Package-list freshness
TSMCP_MIN_INTERVAL_MS1000Minimum gap between outbound requests
TSMCP_EXPORT_DIR./exportsWhere .r2z files are written
TSMCP_CONTACT[email protected]Contact put in the User-Agent. Override if you run your own copy.
TSMCP_BRANDPackWardenBrand in server name/User-Agent
TSMCP_BASE_URLhttps://thunderstore.ioAPI 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.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.