MTG MCP Server for VS Code
io.github.j4th/mtg-mcp-server
Magic: The Gathering card search, combo lookup, draft analytics, and Commander tools.
client:VS Code
transport:stdio
runtime:pypi
Install MTG MCP Server in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "mtg-mcp-transport",
"description": "MTG_MCP_TRANSPORT",
"password": true
},
{
"type": "promptString",
"id": "mtg-mcp-http-port",
"description": "MTG_MCP_HTTP_PORT",
"password": true
},
{
"type": "promptString",
"id": "mtg-mcp-log-level",
"description": "MTG_MCP_LOG_LEVEL",
"password": true
},
{
"type": "promptString",
"id": "mtg-mcp-enable-17lands",
"description": "MTG_MCP_ENABLE_17LANDS",
"password": true
},
{
"type": "promptString",
"id": "mtg-mcp-enable-edhrec",
"description": "MTG_MCP_ENABLE_EDHREC",
"password": true
},
{
"type": "promptString",
"id": "mtg-mcp-enable-bulk-data",
"description": "MTG_MCP_ENABLE_BULK_DATA",
"password": true
},
{
"type": "promptString",
"id": "mtg-mcp-scryfall-rate-limit-ms",
"description": "MTG_MCP_SCRYFALL_RATE_LIMIT_MS",
"password": true
},
{
"type": "promptString",
"id": "mtg-mcp-bulk-data-refresh-hours",
"description": "MTG_MCP_BULK_DATA_REFRESH_HOURS",
"password": true
},
{
"type": "promptString",
"id": "mtg-mcp-enable-rules",
"description": "MTG_MCP_ENABLE_RULES",
"password": true
},
{
"type": "promptString",
"id": "mtg-mcp-disable-cache",
"description": "MTG_MCP_DISABLE_CACHE",
"password": true
},
{
"type": "promptString",
"id": "mtg-mcp-enable-moxfield",
"description": "MTG_MCP_ENABLE_MOXFIELD",
"password": true
},
{
"type": "promptString",
"id": "mtg-mcp-enable-spicerack",
"description": "MTG_MCP_ENABLE_SPICERACK",
"password": true
},
{
"type": "promptString",
"id": "mtg-mcp-enable-mtggoldfish",
"description": "MTG_MCP_ENABLE_MTGGOLDFISH",
"password": true
}
],
"servers": {
"mtg-mcp-server": {
"type": "stdio",
"command": "uvx",
"args": [
"mtg-mcp-server"
],
"env": {
"MTG_MCP_TRANSPORT": "${input:mtg-mcp-transport}",
"MTG_MCP_HTTP_PORT": "${input:mtg-mcp-http-port}",
"MTG_MCP_LOG_LEVEL": "${input:mtg-mcp-log-level}",
"MTG_MCP_ENABLE_17LANDS": "${input:mtg-mcp-enable-17lands}",
"MTG_MCP_ENABLE_EDHREC": "${input:mtg-mcp-enable-edhrec}",
"MTG_MCP_ENABLE_BULK_DATA": "${input:mtg-mcp-enable-bulk-data}",
"MTG_MCP_SCRYFALL_RATE_LIMIT_MS": "${input:mtg-mcp-scryfall-rate-limit-ms}",
"MTG_MCP_BULK_DATA_REFRESH_HOURS": "${input:mtg-mcp-bulk-data-refresh-hours}",
"MTG_MCP_ENABLE_RULES": "${input:mtg-mcp-enable-rules}",
"MTG_MCP_DISABLE_CACHE": "${input:mtg-mcp-disable-cache}",
"MTG_MCP_ENABLE_MOXFIELD": "${input:mtg-mcp-enable-moxfield}",
"MTG_MCP_ENABLE_SPICERACK": "${input:mtg-mcp-enable-spicerack}",
"MTG_MCP_ENABLE_MTGGOLDFISH": "${input:mtg-mcp-enable-mtggoldfish}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs