vsmoddb-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., "@vsmoddb-mcp upload release 1.2.0 for my mod with changelog: fixed crash on load"
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.
vsmoddb-mcp
An MCP server for managing your mods on the Vintage Story ModDB: upload and update releases, edit mod descriptions/metadata and tags, and read or answer comments — from any MCP client (Claude Code/Desktop, OpenCode, Cursor, …).
Install & login
npm install -g vsmoddb-mcp
npm install -g playwright && npx playwright install chromium # browser for the login helper, once
vsmoddb-mcp-login # one manual browser login (reCAPTCHA)Both commands are bins of this one package (vsmoddb-mcp runs the server,
vsmoddb-mcp-login runs the login helper) — there is no separate login package.
The helper also runs straight from the registry, without a global install:
npx playwright install chromium # browser for the login helper, once
npx -p vsmoddb-mcp vsmoddb-mcp-login # one manual browser login (reCAPTCHA)The login must be repeated roughly every two weeks; sessions cannot be renewed
without a human because of the reCAPTCHA. Playwright is an optional dependency:
without it, vsmoddb-mcp-login prints the exact commands to set it up and an
alternative (cookie copy) that needs no browser automation.
From source (for development or vendoring):
git clone https://github.com/LovelessCodes/vsmoddb-mcp.git
cd vsmoddb-mcp
npm install
npm run build
npm run loginThen point your MCP client at dist/index.js (see Client setup).
Related MCP server: civnode-mcp
What it can do
Tool | Purpose |
| Validate the session, report the logged-in account |
| List the mods your account contributes to |
| Public mod metadata, links, stats and releases |
| Description (Markdown/HTML), summary, name, URL alias, links, side, tags |
| The site-wide tag vocabulary (id, name, color) |
| Add existing tags through the edit form; new ones need |
| Publish a new release ( |
| Change a release's changelog / game versions / version |
| Retract a release with a public reason ( |
| Comments on a mod page, with ids |
| Reply to a comment (Markdown → HTML) |
| Edit or delete your comments |
| New comments, mentions, followed-mod releases |
| Clear specific notifications or all of them |
Read tools return JSON. Write tools return a small confirmation object (or an error message that the model can act on, e.g. "Unknown game version(s): 9.9.9").
Login
ModDB's login is protected by reCAPTCHA, so it cannot be automated end-to-end. Log in once; the server then uses the stored session cookie plus the site's action token for every request, refreshing the token automatically.
npm install playwright # only needed for the login helper
npx playwright install chromium # one-time browser download
npm run login # from a checkout; global install: vsmoddb-mcp-loginWithout a global install, run the helper through npx:
npx -p vsmoddb-mcp vsmoddb-mcp-login.
This writes ~/.config/vsmoddb-mcp/session.json (mode 0600) containing the
vs_websessionkey cookie. Sessions last roughly two weeks; when they expire,
every tool returns "Your ModDB session has expired" with the same instructions,
so you just run npm run login again. A server that is already running picks up
the new session file on the next tool call — no client restart needed.
No browser at all? Log in at mods.vintagestory.at in your own browser, copy the
vs_websessionkey cookie value from devtools, and create the file manually:
{ "cookie": "vs_websessionkey=<value>" }Treat that file like a password: the cookie is a full session for your Vintage Story account. Delete it and log out of the site to revoke access.
Client setup
No install needed — run it straight from npm:
{
"mcpServers": {
"vsmoddb": {
"command": "npx",
"args": ["-y", "vsmoddb-mcp"]
}
}
}Or after npm install -g vsmoddb-mcp, use "command": "vsmoddb-mcp" with no
args. From a source checkout, point at the built file with an absolute path:
{
"mcpServers": {
"vsmoddb": {
"command": "node",
"args": ["/absolute/path/to/vsmoddb-mcp/dist/index.js"]
}
}
}Note: the login helper needs the Playwright package and a Chromium build; the
browser binaries are not bundled. Run the helper once from a global install
(vsmoddb-mcp-login), from the registry without installing anything
(npx -p vsmoddb-mcp vsmoddb-mcp-login), or from a source checkout
(npm run login). All of them write the same session file, and an MCP server
that is already running picks it up on the next tool call.
Claude Code / CLI:
claude mcp add vsmoddb -- npx -y vsmoddb-mcpEnvironment variables
Variable | Default | Meaning |
|
| Session file location |
|
| Override for testing against a mock |
|
| Upload size guard (ModDB's default limit) |
How it works
ModDB is a hybrid site, and so is this server:
v2 API for comments (create/edit/delete), release retraction, and notifications. Requests carry the
ataction token scraped from the site; when ModDB rejects it as stale the server re-reads it and retries once.Classic PHP forms for release uploads, mod/release edits and tag changes, because the public API stubs those out (and because ModDB disables its user-tags API with the shipped
DISABLE_USER_TAGSdefault). The server renders the real edit page, serializes the form exactly like a browser, applies only your changes, and POSTs it back. A303redirect means success; a200re-render is parsed for the site's error messages and surfaced as a tool error.
Release uploads are multipart/form-data with a single file field. Game mod
identifiers/versions come from the zip's modinfo.json, so uploads require
game_versions: ["1.22.7", …] and ignore any version you pass.
Notes and limits
Release files are immutable.
upload_releasepublishes immediately and the zip can never be replaced; retraction is the only way back. Bothupload_releaseandretract_releaserequireconfirm: truefor this reason.One file per release (
.zip, or a bare.dll/.csfor non-game categories), 40 MB by default.update_mod'sdescriptionreplaces the entire description — ask the model to fetch the current one first (get_modwithinclude_description).Every
modparameter takes an alias (carrycapacity), a numeric id, or a ModDB URL/path copied from the browser (/show/mod/54807). The public API only knows published mods, so aliases, asset ids and unpublished drafts are resolved through the mod page; drafts work with the editing tools, but have no description/release/stats data until they are published.Comment replies are plain Markdown converted to HTML server-side by this MCP server. There is deliberately no bulk-reply tool: the ModDB rules forbid spamming or bot-like behaviour, so keep replies human-approved and on-topic.
Tags are site-wide, not per-mod:
list_tagsreturns the vocabulary, andadd_mod_tags(like the site's own edit page) refuses names that do not exist yet unless you passcreate_missing: true— otherwise a typo would silently invent a new public tag. Creating tags goes through ModDB's user-tags API, which the site currently disables (HTTP 503), so today only existing tags can actually be applied.Non-game-mod versions must match
n.n.n(optionally-rc.n/-pre.n/-dev.n).You need to be a team member with edit rights for anything you modify; other users' mods return a clear "no edit permission" error.
Development
npm run build # tsc
npm run typecheck # tsc --noEmit
npm run smoke # offline end-to-end test (no credentials, no network)npm run smoke starts a mock ModDB (all routes the tools touch), points the
real MCP server at it via VSMODDB_BASE_URL, drives all 14 tools over stdio
with the MCP SDK client, and asserts the wire format — exact Content-Type: text/html for comment bodies, multipart fields for uploads, action-token
refresh on 403 Invalid action token, and session-expiry handling (102 checks).
Releasing
npm publish runs prepublishOnly, which builds and runs the smoke test, so a
broken commit cannot be published by accident.
npm version patch # or minor / major: bumps package.json and tags the commit
npm publish
git push --follow-tagsAvailable Tools
15 toolsadd_mod_tagsAdd tags to a modA
Add tags to a mod. Existing tags are applied through the mod edit form (the path the site's own UI uses), and only names from list_tags are accepted unless create_missing: true is passed. Tags are site-wide: brand-new ones can only be created through ModDB's user-tags API, which the site currently disables (HTTP 503).
Inputs: mod (required), tags (required), create_missing.
delete_commentDelete a ModDB commentADestructive
Delete one of your own comments (irreversible; requires confirm: true).
Inputs: confirm (required), comment_id (required).
edit_commentEdit a ModDB commentA
Edit one of your own comments (or any comment if you are a moderator). The text is Markdown and replaces the current content entirely.
Inputs: text (required), comment_id (required).
get_modGet ModDB mod infoARead-only
Fetch a mod's public ModDB metadata: ids, tags, links, stats and the release list (with release ids and compatible game versions). Accepts mod name, numeric id, or URL alias.
Inputs: mod (required), release_limit, include_changelogs, include_description.
list_commentsList ModDB commentsARead-only
List comments on a mod's ModDB page, newest first. Accepts a mod name, numeric id, or URL alias. Returns comment ids for reply_to_comment, edit_comment and delete_comment.
Inputs: mod (required), limit, include_deleted.
list_my_modsList my ModDB modsARead-only
List the mods the logged-in account contributes to (the 'Your mod contributions' section of mods.vintagestory.at/home). Use the returned names/paths with get_mod, upload_release, update_mod, etc.
Inputs: no named parameters.
list_notificationsList ModDB notificationsARead-only
List the logged-in account's ModDB notifications (new comments, mentions, releases of followed mods, ...). Comment notifications are the quickest way to find comments awaiting a reply on your mods.
Inputs: no named parameters.
list_tagsList ModDB tagsARead-only
List the site-wide tag vocabulary every mod can carry (id, name, color). Check this before add_mod_tags: only these names exist on ModDB, and anything else has to be created deliberately.
Inputs: no named parameters.
mark_notifications_readMark ModDB notifications as readA
Mark specific notifications (ids) or all notifications (all: true) as read.
Inputs: all, ids.
moddb_statusModDB session statusARead-only
Validate the configured Vintage Story ModDB session, refresh the action token, and report the logged-in account. Run this first when other tools complain about an invalid session.
Inputs: no named parameters.
reply_to_commentReply to a ModDB commentA
Post a reply to a comment on a mod's ModDB page. The text is Markdown (converted to HTML). Use only user-approved wording; the ModDB rules prohibit bot-like/spammy commenting.
Inputs: mod (required), text (required), comment_id (required).
retract_releaseRetract a ModDB releaseADestructive
Retract (mark as broken/withdrawn) a release with a reason. The release stays visible with a retraction notice and can no longer be edited. Requires confirm: true.
Inputs: mod (required), reason (required), release_id (required), confirm.
update_modUpdate ModDB mod description/metadataA
Update a mod's ModDB page: description, summary, name, URL alias, links, side, and tags. Only the provided fields are changed; everything else (including team members, images, status) is preserved. 'description' REPLACES the whole description, so provide the full new text in Markdown. 'tags' replaces the full tag list; use add_tags/remove_tags for incremental changes.
Inputs: mod (required), name, side, tags, +12 more.
update_releaseUpdate a ModDB releaseA
Update an existing release's changelog, compatible game versions, or (non-game mods only) version. The uploaded file itself can never be replaced. Provide at least one of changelog / game_versions / version.
Inputs: mod (required), release_id (required), version, changelog, +1 more.
upload_releaseUpload a ModDB releaseADestructive
Upload and publish a new release (zip in, one release out). For game mods the identifier/version are auto-detected from the zip's modinfo.json, and game_versions must be provided. The uploaded file cannot be replaced afterwards, so verify the build first. Requires confirm: true.
Inputs: mod (required), file_path (required), confirm, version, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Each tool targets a clearly distinct resource or action: session status, mod listing/retrieval/update, tags, releases, comments, and notifications. Potential overlaps like update_mod replacing tags versus add_mod_tags for incremental changes are explicitly clarified in the descriptions. An agent can reliably select the correct tool.
All tools use snake_case, and the vast majority follow a verb_noun or verb_noun_modifier pattern (list_my_mods, update_release, mark_notifications_read). Minor deviations like moddb_status (noun-first) and reply_to_comment (prepositional) are still readable and predictable.
15 tools sits at the upper end of the ideal 3-15 range, and every tool earns its place across authentication, mod management, tags, releases, comments, and notifications. There are no redundant or trivial tools.
Core lifecycle coverage is strong: mods (list/get/update), releases (upload/update/retract), comments (list/reply/edit/delete), notifications (list/mark read), and tags (list/add). Missing create_mod and a dedicated remove_mod_tags tool, and top-level comment creation is not clearly supported, but agents can work around most of these gaps.
Maintenance
Related MCP Connectors
Create, update, and publish changelog entries on your Patchlog changelog from any MCP client.
Manage feature requests, votes, roadmaps, and changelogs from any MCP client.
Draft, publish, schedule and analyze ReleasePad changelog posts from any MCP client.
Registry of MCP servers, agent skills and plugins: search, filter, comments, likes, publish.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Discord using personal user tokens instead of bot applications, allowing for seamless message management and server exploration. It provides tools for reading history, sending messages, and searching across channels and DMs directly through MCP-compatible clients.12MIT
- FlicenseNot gradedqualityNot gradedmaintenanceAn MCP server for the CivNode 'slow web' social platform that enables interaction with monuments, forums, and creative writing. It allows users to manage their profiles, send private or anonymous messages, and engage with the community's unique social features.-
- FlicenseNot gradedqualityCmaintenanceEnables managing quest-log ideas, statuses, and mission log directly from MCP clients, allowing project tracking and updates without going through git/GitHub.-
- AlicenseAqualityBmaintenanceExposes Obsidian-style Markdown vaults to MCP clients, enabling reading, writing, searching, and version-controlled editing of notes with automatic git snapshots and restore.1417 npm1MIT