Scan your whole stack
From OX Research Newsroom
Are you using @olaservo/forge-mcp-server?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.6.1
@olaservo/forge-mcp-server was last scanned on 28 Nov 2026 at version 0.6.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.6.1 LATEST | 28 Nov 2026 | No rules fired |
| 0.6.0 | 28 Nov 2026 | No rules fired |
| 0.5.2 | 27 Nov 2026 | No rules fired |
| 0.5.1 | 26 Nov 2026 | Not shown |
| 0.5.0 | 25 Nov 2026 | Not shown |
Findings for v0.6.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.6.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
MCP server that gives an agent a seat in a Forge network draft or match. It talks to a headless Forge client (the agent bridge, forge-agent-bridge) over a loopback HTTP API and exposes the seat as MCP tools, resources and skills. Protocol revision 2026-07-28, TypeScript SDK v2.
This project is independent. It is not affiliated with, endorsed by or sponsored by Card-Forge, Wizards of the Coast or Hasbro. Magic: The Gathering is a trademark of Wizards of the Coast LLC. The card names and card text in the test fixtures were recorded from Forge and belong to Wizards of the Coast.
forge_host starts a host with no window on the server's machine; see Hosting.The forge-seat plugin starts this server and the Scryfall server, and its README says how to install it.
Without the plugin, start the server from npm with FORGE_HOME set, for example in a .mcp.json:
{
"mcpServers": {
"forge": {
"command": "npx",
"args": ["-y", "@olaservo/forge-mcp-server"],
"env": { "FORGE_HOME": "C:/tools/forge-2.0.16" }
}
}
}
Claude Code 2.1.332 on Windows starts npx as it is. An older version may need "command": "cmd" with "/c", "npx" in front of the arguments. To have the agent woken on its turn in Claude Code, install the mcp-events mod as Claude Code describes. Without it the agent waits with forge_wait.
From a clone:
npm install
npm run fetch-bridge # the bundled bridge jar, into bridge/
npm run build
npm start # stdio
npm run start:http # Streamable HTTP on http://127.0.0.1:3080/mcp (FORGE_MCP_HOST, FORGE_MCP_PORT, FORGE_MCP_ALLOWED_HOSTS)
node scripts/call.mjs <tool> '<json arguments>' calls one tool on a server running over HTTP, and node scripts/call.mjs --poll forge.your_move [cursor] polls an event. FORGE_MCP_URL names the endpoint.
The server starts the bridge on first use. Loading cards takes about 40 s. Each server process starts a bridge of its own on a free loopback port, with --exit-with-parent, and stops it on exit, so two agent sessions on one machine hold two seats. forge_status shows its URL as bridge.url.
FORGE_HOME: the folder that holds Forge's res/. That is the extracted folder for a release download and forge-gui in a checkout.FORGE_JAR: the Forge forge-gui-desktop-<version>-jar-with-dependencies.jar. Default: the one in FORGE_HOME.FORGE_BRIDGE_JAR: the bridge jar. Default: the bundled one, recorded with its sha256 in forgeAgentBridge in package.json. For another Forge version, build the bridge against it as the forge-agent-bridge README describes. With an older bridge, a tool that needs a newer one says so.FORGE_BRIDGE_URL: a bridge you started yourself, as its README describes, for example http://127.0.0.1:36744. The server starts one there only when nothing answers. Every server with the same URL drives the same seat.The server refuses to start a bridge whose jar name says it is built for a different Forge version than the desktop jar, and names both.
Auto-join is off unless FORGE_AUTO_JOIN is set to the host's host:port, for example 127.0.0.1:36743. The server then starts the bridge at start-up, and the bridge takes the first Open slot of each lobby that appears there, with no tool call. FORGE_AUTO_JOIN_NAME is the seat name (default Agent). FORGE_AUTO_JOIN_DECK is the path of a .dck file, or the name of a deck in the profile's constructed or network-events folder. A relative path is read from FORGE_HOME, for example res/quest/precons/Azorius Advance.dck. With a deck the seat also readies. The variables apply only to a bridge this server starts. Leave it off when another player is joining.
FORGE_SKILLS=0 stops the server serving its skills, for a client that has them as local files. FORGE_HOSTING=0 and FORGE_DECKS_READONLY=1 remove tools; see Security.
forge_host starts the bridge jar's MatchHost, a Forge host with no window and no seat of its own, and forge_host_stop ends it. Every slot is open: the agent takes a seat with forge_connect at 127.0.0.1, and other players join from a Forge desktop or mobile client at one of the addresses the tool returns. The match starts once every slot is taken and each seat is ready with a legal deck. Arguments are port (default 36743), seats (default 2), limited for 40-card decks and games (1, 3 or 5, default 1) for the games per match. ai (default 0) gives that many of the seats to Forge's AI and aiDecks lists a deck id from forge_decks for each. An AI seat with no deck plays a precon the host picks at random. The answer names each AI and its deck in aiSeats. AI seats are refused in a Limited lobby. One host per server process, stopped when the server stops.
forge_host with copilot set to a seat's lobby name has the host watch that seat, for an agent that advises a person playing it. forge_copilot_view returns what that player is shown, in the shape of the game tools' view, and with since and timeout waits for it to change. It reads only: no tool acts for the watched seat. The session that runs the copilot takes no seat in that game. The host tells each player in the lobby, in chat, that the seat has a copilot. The forge-copilot skill says how to advise.
A seat with FORGE_AUTO_JOIN set to the hosted port sits down by itself, and so does every other seat on the machine with the same setting, so host on another port when a slot is meant for someone else. Run on 2026-11-21 with one bridge seat joining a host started by the tool. A Forge client as the other player has not been run.
forge_deck_save can fetch from and forge_deck_search can search.forge.your_move and forge.chat over MCP Events, by poll or webhook, and the settings for both.mcp-events mod that starts a turn when an event fires.worker/ that puts the server behind Google sign-in.npm test runs an in-process MCP client against the server with a fake bridge, including a subscriptions/listen round trip. test/events.test.ts covers poll and push delivery. test/webhooks.test.ts covers webhook delivery, checks the signatures with the standardwebhooks package, and runs one subscription over real sockets behind a token. test/fixtures.test.ts checks every tool's output schema against real bridge payloads in test/fixtures/, then runs every tool over them. test/decks.test.ts covers the deck tools against a small Forge folder built in a temp directory: the card index, each text form, each site's parser over a trimmed recording of its real response in test/fixtures/decks/, and the folder and overwrite rules. The fixtures are recorded by the bridge's own tests, which host a draft and a match in-process and write its responses to target/agent-fixtures in forge-agent-bridge. Copy them over after a bridge change.
Lobby, draft and full matches work end to end. The bridge's tests run a draft and a match against an in-process host, on 2026-11-21 a seat drafted a four-seat pod through this server over HTTP against the bridge's windowless DraftHost, built its deck with forge_draft_deck and was started into the match, and on 2026-11-11 the agent seat played three Constructed matches against a human host in the Forge desktop client on the same machine, woken by events. Not yet run across machines. Skills are first drafts.
The HTTP endpoint has no authentication unless FORGE_MCP_TOKEN is set. It binds to 127.0.0.1 by default. Without a token, do not set FORGE_MCP_HOST to an address reachable from outside a network you trust: anyone who can reach the port can act as the seat. With a token, anyone who holds it can act as the seat, and the token is the only credential, so serve it over HTTPS only. The same holds for FORGE_MCP_PROXY_TOKEN, and its holder can also name any principal, so only the Worker should have it.
Whoever can call the tools can also read the deck files in Forge's folders and, through forge_deck_save, write .dck files into them and make the server fetch from the deck sites listed in Decks. forge_deck_search makes it send search requests to three of those sites. File names are stripped of path characters and deck ids are confined to their folder. FORGE_DECKS_READONLY=1 removes both tools.
Whoever can call the tools can also start a Forge host with forge_host. It listens on every network interface of the server's machine with no password, so anyone who can reach that port can take a seat in the lobby. FORGE_HOSTING=0 removes it.
MIT. Copyright (c) 2026 Carbon-Based Content LLC. See LICENSE.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.