A .NET MCP server for MTG deckbuilding with Scryfall data and Archidekt writeback.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"mtg-mcp": {
"env": {
"MTGMCP__OPERATION_MODE": "plan"
},
"command": "mtg-mcp"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
mtg-mcp is an unofficial MCP server for Magic: The Gathering deckbuilding. It connects MCP clients to Scryfall card data, local deck workspaces, optional Moxfield imports, Archidekt writeback, Playgroup.gg playgroup data, Commander Spellbook combos, and API-backed deckbuilding evidence.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in other
Pi Coding Agent extension (CLI-first) — routes bash/read/grep/find/ls through lean-ctx CLI for strong token savings. Optional MCP bridge can register advanced tools.
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 60-95% fewer tokens, same answers. Library, proxy, MCP server.
97% token reduction for AI coding sessions — zero deps, 21 languages, MCP server
Autonomous spec-to-product coding-agent CLI with an MCP server exposing 34 tools over stdio.
MCP Security Weekly
Get CVE alerts and security updates for io.github.nccurry/mtg-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
mtg-mcp is an unofficial MCP server for Magic: The Gathering deckbuilding. It
connects MCP clients to Scryfall card data, local deck workspaces, optional
Moxfield imports, Archidekt writeback, Playgroup.gg playgroup data, Commander
Spellbook combos, and API-backed deckbuilding evidence.
It is not affiliated with Hasbro, Wizards of the Coast, Magic: The Gathering, Scryfall, Moxfield, Archidekt, Playgroup.gg, or Commander Spellbook.
The easiest manual install is the published NuGet tool package:
dotnet tool install --global Nccurry.MtgMcp
mtg-mcp --version
mtg-mcp --smoke
To upgrade an existing install:
dotnet tool update --global Nccurry.MtgMcp
PowerShell note: when invoking the executable by a quoted full path, prefix it with the call operator:
& "C:\Users\you\.dotnet\tools\mtg-mcp.exe" --version
Registry-aware MCP clients can discover the server by its registry name:
io.github.nccurry/mtg-mcp
The registry entry points to the NuGet package Nccurry.MtgMcp and uses stdio
transport. You can also inspect it in the
official MCP Registry.
Release archives are attached to GitHub Releases for the published desktop runtimes:
win-x64: download mtg-mcp-<version>-win-x64.zip.linux-x64: download mtg-mcp-<version>-linux-x64.tar.gz.osx-arm64: download mtg-mcp-<version>-osx-arm64.tar.gz.Extract the archive and configure your MCP client to run the extracted
mtg-mcp executable.
For local development or testing an unreleased branch:
git clone https://github.com/nccurry/mtg-mcp.git
cd mtg-mcp
./bootstrap.sh
task install:local
On Windows:
git clone https://github.com/nccurry/mtg-mcp.git
cd mtg-mcp
.\bootstrap.ps1
task install:local
task install:local packs the current checkout, publishes a self-contained
binary for the current machine, and updates the configured local MCP command
path when possible.
Configure your MCP client to run the mtg-mcp stdio command. Scryfall lookup
and local deck analysis work without account credentials.
Codex example:
codex mcp add mtg-mcp \
--env MTGMCP__OPERATION_MODE=plan \
-- mtg-mcp
JSON MCP client example:
{
"mcpServers": {
"mtg-mcp": {
"command": "mtg-mcp",
"env": {
"MTGMCP__OPERATION_MODE": "plan"
}
}
}
}
Set MTGMCP__OPERATION_MODE explicitly:
read-only: lookup and analysis only.plan: lookup, analysis, metadata refresh, local collection writes, and saved edit plans.apply: deck edits, checkpoints, and Archidekt writeback. Writeback still
requires opening the Archidekt workspace with writeback enabled.| Area | What the MCP expo