scryfall mcp
Enables interaction with the Scryfall API, allowing users to search for Magic: The Gathering card details, retrieve card rulings, and access pricing information using the Model Context Protocol.
Enables interaction with the Scryfall API, allowing users to search for Magic: The Gathering card details, retrieve card rulings, and access pricing information using the Model Context Protocol.
A Model Context Protocol (MCP) server for interacting with the Scryfall API. It provides tools to look up Magic: The Gathering card details, card rulings, and price information.
The server can be run in two modes:
If you have Node.js installed locally:
# Stdio mode
npx scryfall-mcp-server
# SSE mode
npx scryfall-mcp-server --sse
Your application or environment (like Claude Desktop) can communicate directly via stdio with the server.
When running in SSE mode (with --sse
), you can connect using the MCP CLI:
npx @wong2/mcp-cli --sse http://localhost:3000/sse
The server will be available at:
http://localhost:3000/sse
http://localhost:3000/messages
Example snippet for stdio mode:
{
"mcpServers": {
"scryfall": {
"command": "docker",
"args": ["run", "-i", "--rm", "mcp/scryfall"]
}
}
}
Or with npx:
{
"mcpServers": {
"scryfall": {
"command": "npx",
"args": ["scryfall-mcp-server"]
}
}
}
docker build -t mcp/scryfall .
Then you can run in stdio mode:
docker run -i --rm mcp/scryfall
Or in SSE mode:
docker run -i --rm -p 3000:3000 mcp/scryfall --sse
Licensed under the MIT License.