CurseForge ARK MCP Server
Provides read-only tools for querying CurseForge's mod catalog for ARK: Survival Ascended, including searching for mods, retrieving mod and file details, listing mod files, resolving mod dependencies, and checking for the latest file version.
Click on "Install 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., "@CurseForge ARK MCP Serversearch for ARK mods that add new dinosaurs"
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.
curseforge-ark-mcp
A read-only MCP server for CurseForge mod curation, discovery, and update surveillance for ARK: Survival Ascended.
THIS IS v0. NOTHING HERE HAS BEEN VERIFIED AGAINST A LIVE RESPONSE.
No CurseForge API key exists yet. The key is not self-service — it is granted by application to Overwolf — so no authenticated call has ever been made from this repo, by anyone, at any point. Every field path in every fixture and every tool output is a hypothesis read off a published schema.
This is not modesty. The sibling repo
nitrado-ark-mcpbuilt its fixtures the same careful way from documentation, and commit5481c04there corrected three field paths that were wrong until checked against live responses. Assume this repo has three of its own waiting.The version number is
0.1.0and it is a claim about verification status. There is no "Verified against the live account" section in this README, and its absence is accurate rather than an omission.
What is verified today is this repo's own behaviour: the endpoint allow-list, the host pin,
the path normalization, the pagination bounds, the envelope handling, and the three-state
absent/empty/unknown discipline. All of it is tested against an injected fake fetch, with no
key and no network. 146 tests, 0 failures at the time of writing.
Design record: docs/adr/ADR-002-endpoint-allow-list.md
(status: PROPOSED). Every section reference below (§1, §4.3, §14.3 …) points into it.
What it does, and what it deliberately cannot do
Seven tools, all read-only:
Tool | Answers |
| "Which ASA mods match this term?" |
| "What is project 777001?" |
| "What files has this mod published?" |
| "What is this specific file?" |
| "Is there a newer file for this mod than the one I am running?" |
| "What does this mod pull in?" (batched, one request per tree level) |
| "Is it me, the key, or CurseForge?" — and "how honest is this build?" |
It cannot:
Download or install anything.
GET /v1/mods/{modId}/files/{fileId}/download-urlis a documented read, on the pinned host, and it is refused — because it is not on the endpoint allow-list (DEC-002 §11.3). Nitrado installs mods itself.Write anything, anywhere. No allow-list entry names a mutating endpoint. CurseForge does operate a mutating upload API on a different host (§14.2); the host pin refuses it a second time for an independent reason.
Publish or author a mod. Refused outright (DEC-002 Ruling 2). Enforced by a boot assertion, not by a promise: registering a tool that declares anything other than tier 1 makes the process refuse to start.
Touch Nitrado. No
NITRADO_*variable exists in this repo's configuration surface, and its absence is a control. This server holds no Nitrado token and reads no Nitrado config.Wake up on a timer and update your server. No scheduler, no polling loop, no persisted "last seen version" state (§10). Surveillance means the model may observe a new version. It does not get to act.
The chokepoint: an endpoint allow-list, not a method check
This is the one design decision worth reading before touching the code.
CurseForge uses POST to READ. POST /v1/mods and POST /v1/mods/files are bulk
retrievals, and they are what make resolve_mod_dependencies cost one request per dependency
level instead of one per node. So the sibling repo's method !== "GET" → refuse would fail
here in the most expensive way possible: it would work. It would refuse things, pass its own
tests, and quietly make the server bad at its job.
And the obvious fix is worse than the bug:
allowed = { GET } → the batch reads are refused (broken, loudly)
allowed = { GET, POST } → every request this client can construct is allowedThe documented catalog API contains only GET and POST. A gate admitting both admits
everything — while continuing to look present.
So instead, every outbound request must match an explicit entry in a closed list of
{method, path} pairs. Seven entries, in src/allowlist.ts:
# | Method | Path | Serves |
E1 |
|
| game-id resolution, |
E2 |
|
|
|
E3 |
|
|
|
E4 |
|
|
|
E5 |
|
|
|
E6 |
|
|
|
E7 |
|
|
|
Mechanically:
Matched on
{method, path}jointly. E3 does not authoriseDELETE /v1/mods/123. E6 does not authorisePOST /v1/mods/123.The host is pinned to
https://api.curseforge.com, and the pin is an allow of one origin rather than a deny of any named other.Id segments bind to
[0-9]+, not[^/]+. This is load-bearing: a permissive{modId}makes E3 swallow/v1/mods/search. The numeric binding makes that ambiguity structurally impossible rather than dependent on match order — and there is a test that reverses the whole list to prove ordering is not what saves it.One normalization, before the check, and the URL is built from its output. Percent-decode once; refuse any
%that survives; fold backslashes; refuse.,..and empty segments.Only E6/E7 may carry a body, shape-checked before dispatch. A body on a GET entry is refused, not dropped.
Only
resolve_mod_dependenciesmay reach a POST entry (§8), enforced in the transport.
The failure mode is "unmatched request refused", never "unrecognised request sent." And adding a capability is a reviewable one-line diff whose review question — "is this endpoint a read?" — is one a human can actually answer.
The test that proves it is an allow-list
GET /v1/mods/{modId}/files/{fileId}/download-url is refused. It is a documented read, a
GET, on the pinned host, with well-formed numeric ids. It is refused purely because it is not
on the list. If that test ever passes for some other reason — a host-pin refusal, a path
refusal — the property is not implemented, so the test asserts the refusal's code and detail,
not merely that something threw.
Every refusal test also asserts the fake fetch's call count, because "refused before the
request is built" is the actual provision, and an error thrown after dispatch would satisfy a
weaker assertion. And the refusal suite is preceded by a preimage test proving all seven
entries do dispatch — a refusal suite over a client that can send nothing passes perfectly and
proves nothing.
Still unverified
Every row below is a HYPOTHESIS. These are §14.3 of ADR-002, reproduced in full. Field paths are read off published schemas, which is exactly the artifact class that produced three wrong paths in the sibling repo.
# | Claim | Basis | Why it matters |
U1 | The ASA | Undiscoverable without the key (§5) | A wrong value returns clean, empty, wrong search results |
U2 | Whether ASA is visible to the granted key at all | Undiscoverable without the key | Could block v1 entirely |
U3 |
| Published schema | Every tool output |
U4 |
| Published schema |
|
U5 |
| Published schema |
|
U6 | The | NOT RESOLVED. Three attempts against the docs; the page shows | Determines whether an edge is required, optional, a tool, or incompatible — i.e. whether it is followed at all. |
U7 | The | Not resolved from the docs page. Partial corroboration only: the Upload API uses the names |
|
U8 | Whether | Documented shape; never observed | This client errors rather than assuming one page |
U9 | Whether ASA mods actually populate | Schema says they can; ASA-specific behaviour unknown | An always-empty field is a capability gap, not a bug — and the three-state rule requires telling them apart |
U10 | Any id-count cap on | Not documented. The 200-id cap in this client is ours, not the vendor's | Chunking strategy |
U11 | CurseForge rate limits | Undocumented. No published figure found |
|
U12 | Real pagination behaviour past | Documented constraint only | The truncation disclosure in §4.3 |
U13 | Base URL | Documentation-derived | The host pin depends on it |
Two consequences you will see in tool output
relationType and releaseType are surfaced as raw integers and are never mapped. Not to
required/optional, not to release/beta/alpha. CurseForge publishes no value table for
either, and a wrong label would produce a dependency list — or an update recommendation — that is
wrong in a way nobody would check. resolve_mod_dependencies therefore follows every edge
and says so: it over-collects, and its output states that plainly. A wide net is at least
visibly wide.
get_latest_file requires you to say what "latest" means. Newest by fileDate, newest
matching a game version, and newest with a given releaseType give different answers, and a
mod-update decision made on the wrong one is exactly the confident-wrong-answer class this repo
is arranged against. selection has no default:
| Also requires | Means |
| — | Newest of all candidate files, by |
|
| Newest file declaring that game version |
|
| Newest file carrying that release-type integer |
There is no named release/beta/alpha filter, because U7 is unresolved and this server will
not invent the mapping. You pass the integer you mean.
This definition is an OPEN PRODUCT QUESTION. ADR-002's open question 2 flags it as a founder decision that had not been made when this was built, so the tool is parameterized rather than opinionated: when the answer arrives it becomes a default, or one fewer variant — a small change rather than a rewrite. Every answer restates the ordering it used, what it filtered on, how many candidates it considered, and where the candidates came from.
Setup
Node 20+ (developed on 22). No build step to configure; npm test builds first.
npm install
npm test # builds, then runs the suite — no key, no network
npm run typecheck
npm run smoke # refuses cleanly until a key exists, naming what it would probeThen, once you have a key:
cp .env.example .env
# set CURSEFORGE_API_KEY, then:
npm run smokeMCP client configuration (stdio):
{
"mcpServers": {
"curseforge-ark": {
"command": "node",
"args": ["C:/path/to/curseforge-ark-mcp/dist/src/server.js"],
"env": { "CURSEFORGE_API_KEY": "your-key" }
}
}
}The server refuses to start without a key, naming both locations it searched, the exact variable, and the fact that the key is not self-service. A stdio MCP server that starts cleanly and then throws on all seven tools is a miserable thing to debug.
About the key
The API key is sent as an x-api-key request header. It is not an
Authorization: Bearer token — that is the sibling Nitrado server's scheme, and this repo
deliberately does not support both, because supporting both would mean this code could transmit
the credential in a form CurseForge never documented.
The key is granted by application to Overwolf and is non-transferable. The practical
consequence, and the only reason this paragraph exists: a leak means revoke and re-apply, and
re-application is a queue, not a self-service reset. You cannot regenerate it over coffee and
you cannot borrow someone else's. Treat it accordingly — .env is gitignored, .env.example
carries the variable name and an empty value, and no key value appears in any committed file.
There is no scope matrix in this repo, and that is not an oversight: CurseForge publishes no read-only scope and no scope selection, so there is nothing to matrix. The read-only property of this server comes from its own endpoint allow-list, not from a narrower credential. There is also no token-leak runbook — a leaked key grants read access to a public catalog plus quota consumption, which is real and is not the same category as the sibling repo's Nitrado token (documented as equivalent to full control of a game server). That right-sizing is argued in ADR-002 §12, and it rests on one claim stated there so it can be falsified: CurseForge catalog data is public by construction.
Redaction, all of it
One rule: never echo the API key. One function, src/scrub.ts, applied to
error messages and to any upstream body snippet. Request headers never appear in errors — not the
key, not a redacted key, not a header-name list. get_api_diagnostics reports whether a key is
configured and never its value, a prefix of it, or its length.
Behaviours worth knowing before you read output
Empty is not unknown.
data: []means CurseForge answered "none" — a real answer, with the query echoed so you can see what returned nothing. An absent field isnull, never0,""or[]. A request that did not complete, or a response whose shape is wrong, is an error — never a value.A missing
datakey is an error, not an empty result. Coercing it to[]would turn a broken integration into "no results found".A missing
paginationon a paginated endpoint is an error too. Assuming one page is how a tool reports 50 of 900 mods as if it were all of them (U8 is exactly this open question).pageSize > 50is refused, not clamped, and so isindex + pageSize > 10000— with the largest legal page size at that index named in the message. A model that asks for 200 and silently gets 50 will reason about a page as if it were a set.When
totalCountexceeds 10000, tool output says the tail is UNREACHABLE, in those words, and advises narrowing the filter rather than paging.The ASA
gameIdis discovered at runtime fromGET /v1/gamesand cached for the process lifetime; it is never hardcoded and never guessed. If it cannot be resolved the server fails loudly, naming what it searched for and how many games the key could see — becausegameIdis a required search filter, so a wrong one returns clean, empty, entirely wrong results instead of an error. SetCURSEFORGE_GAME_SLUGif the built-in candidates turn out to be wrong.resolve_mod_dependenciesis bounded at depth 4 and 400 nodes, with a visited set for cycles. When a bound is hit the result is reported as truncated, in that word, with the unexplored frontier listed.
Repo layout
src/
allowlist.ts THE CHOKEPOINT — seven entries, host pin, normalization, bounds, body checks
client.ts the single transport; the ONLY place x-api-key is attached; envelope unwrap
config.ts refuse-to-start; no NITRADO_*, no mode switch, no settable base URL
coerce.ts empty / absent / unknown, kept apart
errors.ts the error taxonomy
game.ts runtime gameId resolution (injected, process-lifetime cache)
registry.ts ToolDef + tier, and the boot assertion that refuses a non-tier-1 tool
scrub.ts never echo the key. That is the whole module.
probe-plan.ts one probe per unverified row, asserted complete by a test
server.ts stdio entry point
smoke.ts the key-arrival command
tools/ the seven tools
test/ 146 tests; fixtures are synthetic in content, structural in shape
scripts/ buildinfo generator, test enumeratorsrc/buildinfo.ts is generated and gitignored, stamped with the commit and a dirty flag
before every tsc run, and surfaced by get_api_diagnostics. dist/ is gitignored and the
server runs from it as a long-lived process, so "which code produced that answer?" is not
answerable from git at runtime — it has to travel with the artifact.
Deviations from the sibling repo, stated deliberately
ADR-002's open questions 7 and 8 ask for these to be named where they happen:
Same baseline, deliberately. Node ≥20, TypeScript 5.9.3,
@modelcontextprotocol/sdk1.30.0,zod4.4.3,node:testvia the samescripts/run-tests.mjsenumerator. Same reviewer, same idioms, lower cost of reading both.@cfworker/json-schemais not a dependency here. It backs the sibling's cron-expression validation, and there is no write path to validate.registry.tsis ported in structure and keepstier, but drops the mode/enabled-list machinery — it would have nothing to filter, since every tool is tier 1 and every endpoint is a read. A mode variable with nothing behind it advertises a control that does not exist. One five-line boot assertion replaces the subsystem.redact.tsis not ported (§12.1). See "Redaction, all of it" above.No
UNKNOWN_OUTCOMEerror code. The sibling needs it because a lost response to aPUTmay still have changed the world. Every request this client can make is a read, so a timeout genuinely does mean "it did not happen" and a retry is safe.npm run smokeexits 0 when it refuses for want of a key. The refusal is the expected outcome of running it today, and the banner saysSMOKE NOT RUNunmissably. If you want a pipeline to fail on a missing key, gate the pipeline on the key rather than on this exit code.
Related records
In the sibling repo nitrado-ark-mcp, read-only from here — nothing in that repo was
modified by this one:
docs/decisions/EXECUTIVE-BOARD-2026-08-16-curseforge-mods.md— the board minutes (DEC-002) this repo executes. Its Chair's Rulings are binding.docs/decisions/decision-log.md— DEC-002, and DEC-001 for the scope split that §10 rests on.docs/adr/ADR-001-write-path-enforcement.md— the shape ADR-002 ports, and the source of the normalization rule, the boot-check reasoning, and the refuse-to-start reasoning.
The two servers stay independent. nitrado-ark-mcp answers "these project ids are in
active-mods"; this repo answers "project X's newest file is v2.1". The model holds both.
Neither server calls the other, and neither ever holds the other's credential.
This server cannot be installed
Maintenance
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
MCP server for doc2mcp documentation, generated by doc2mcp.
Official MCP server for Lovable, the AI-powered full-stack app builder.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/JShort-bufr/curseforge-ark-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server