Modhold
All games
API
For mod authors

Update your mods with an AI agent or a script

Connect Claude or any MCP app to Modhold and let it post new mods, upload new versions, add pictures and keep changelogs up to date for you. Or call the same API from your own build script. It does what you'd do on the site, with the same virus scan and staff checks.

Get started

  1. Be a Modhold author: apply here, or sign in if you are one.
  2. Make a key there and copy it: it's shown once. Keep it like a password. You can remove it any time.
  3. Download the MCP server from the same page and add it to your agent (below), or use the key in your own script.

What it can and can't do

It can

  • Post a new mod: game, category, name, summary, description, version, tags, requirements, credits, permissions, price or supporters only
  • Change any of those details on your mods
  • Upload new versions of any size, and move the old main file to Older versions in the same step
  • Add optional files and patches
  • Add pictures and videos, and pictures inside the description (banners)
  • Add changelog entries
  • Send a mod to staff, or put it live once staff have approved one of yours
  • List and read your own mods, files and pictures

It can't, on purpose

  • Delete a mod or a file (only you, on the site)
  • Touch anyone else's mods
  • Buy, message, pay out or change your account
  • Skip the virus scan or staff checks: every file gets the same checks as an upload on the site

For AI agents (MCP), nothing to download

Add this address to your agent as a custom MCP connector (ChatGPT, Claude.ai, or any app with a connector form). It holds your key, so keep it like a password:

https://modholdmods.com/mcp/author/YOUR_KEY

Agents that take a header instead (Claude Code, Codex, Cursor, VS Code) use https://modholdmods.com/mcp/author with the key as a bearer token. For Claude Code:

claude mcp add --transport http modhold-author https://modholdmods.com/mcp/author --header "Authorization: Bearer YOUR_KEY"

Files and pictures come from a download link this way (a GitHub release, Dropbox, OneDrive, or Google Drive set to "Anyone with the link"). To send them straight from your computer instead, use the file below.

For AI agents (MCP), sending files from your computer

Download the Modhold MCP server (one file, needs Node 20 or newer) from your author desk, under Upload from your tools, then add it to your agent with your key. For Claude Code on Windows:

claude mcp add modhold -e MODHOLD_KEY=YOUR_KEY -e MODHOLD_URL=https://modholdmods.com -e MODHOLD_FOLDER=C:/Mods/ToUpload -- node C:/Mods/modhold-mcp.mjs

On Linux or Mac, the same with your own paths (make the folder first with mkdir -p ~/Mods/ToUpload):

claude mcp add modhold -e MODHOLD_KEY=YOUR_KEY -e MODHOLD_URL=https://modholdmods.com -e MODHOLD_FOLDER=$HOME/Mods/ToUpload -- node $HOME/Mods/modhold-mcp.mjs

For Claude Desktop or any other app that runs MCP servers, add this to its MCP settings:

{ "mcpServers": { "modhold": { "command": "node", "args": [ "C:/Mods/modhold-mcp.mjs" ], "env": { "MODHOLD_KEY": "YOUR_KEY", "MODHOLD_URL": "https://modholdmods.com", "MODHOLD_FOLDER": "C:/Mods/ToUpload" } } } }

On Linux or Mac, put full paths in these settings, like /home/you/Mods/modhold-mcp.mjs and /home/you/Mods/ToUpload. MODHOLD_FOLDER is the only folder it may send files from. Keep your releases there, so an agent can never send anything else from your computer.

Then ask it things like "upload MyMod 1.2.zip from my Downloads as the new main file of my mod 42, version 1.2, with these changes". It reads the file from your computer and sends it in pieces, so big files work.

For scripts (the API)

Every call sends the key as Authorization: Bearer YOUR_KEY. Answers are JSON.

GET/api/v1/author/modsYour mods
GET/api/v1/author/mods/IDOne mod with its files and pictures
GET/api/v1/author/gamesGames and category ids
POST/api/v1/author/modsA new mod, as a draft (JSON: game_id, category_id, name, summary, description, desc_format bbcode or md, version, tags, access, price, requirements, credits, permissions, adult)
POST/api/v1/author/mods/IDChange details: only what you send changes
POST/api/v1/author/mods/ID/filesUpload a file: multipart "file" (under 95 MB), plus label, kind (main, optional, patch), version, changes, archive_old (true moves older main files to Older versions)
POST/api/v1/author/uploadsA bigger file in pieces: send {name, size}, get a token, PUT each 50 MB piece to /api/v1/author/uploads/TOKEN with X-Offset and X-Total, then post {upload: TOKEN, name} to .../files
POST/api/v1/author/mods/ID/picturesPictures: multipart "images" (PNG, JPG, WebP), caption, video
POST/api/v1/author/description-imagesA picture to put inside a description (a banner): multipart "image"; gives back its address and the [img] line
POST/api/v1/author/mods/ID/changelogA changelog entry: {version, body}
POST/api/v1/author/mods/ID/submitSend to staff (or put live, once staff have approved one of yours): {own: true, licence: true, creator_terms: true}

Upload a new version of a mod:

curl -H "Authorization: Bearer YOUR_KEY" -F "[email protected]" -F "version=1.2" -F "label=Main file" -F "changes=Fixed the bridge" https://modholdmods.com/api/v1/author/mods/42/files

Limits: 300 calls a minute and 60 uploads an hour per key. Files over 1 GB need the Pass, level 25 or an admin's OK, as on the site.

Players with the Pass can connect their own AI assistant too, to search mods and read their watchlist: connect your AI. Other sites and mod managers: the public API.