MTG MCP Server
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"scryfall-api": {
"cwd": "/path/to/mtg-mcp",
"args": [
"run",
"scryfall-mcp",
"--transport",
"stdio"
],
"command": "swift"
},
"rules-splitter": {
"cwd": "/path/to/mtg-mcp",
"args": [
"run",
"rules-splitter"
],
"command": "swift"
},
"mtg-deck-manager": {
"cwd": "/path/to/mtg-mcp",
"args": [
"run",
"mtg-mcp",
"--transport",
"stdio"
],
"command": "swift"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Swift implementation of Magic: The Gathering (MTG) Model Context Protocol (MCP) servers, providing deck management and card search capabilities through the MCP protocol.
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.
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 entertainment
The official MCP Server for the Mux API
MCP Server for Text to Speech
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
Unity MCP Server — 268 tools for AI-assisted game development. Connect Claude, Cursor, or any MCP client to Unity Editor & Unity Hub. Scene management, GameObjects, components, builds, profiling, Shader Graph, Amplify, terrain, physics, NavMesh, animation, MPPM multiplayer & more. Free & open source by AnkleBreaker Studio.
MCP Security Weekly
Get CVE alerts and security updates for Mtg Mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Swift implementation of Magic: The Gathering (MTG) Model Context Protocol (MCP) servers, providing deck management and card search capabilities through the MCP protocol.
This project provides two MCP servers:
mtg-mcp) - Game state management including deck loading, card drawing, mulligans, and sideboardingscryfall-mcp) - Card information retrieval using the Scryfall APIBoth servers implement the MCP protocol for seamless integration with MCP-compatible clients like Claude Desktop.
# Clone the repository
git clone <repository-url>
cd mtg-mcp
# Build the project
swift build
# Run tests
swift test
# Build in release mode
swift build -c release
# Install to local bin (optional)
cp .build/release/mtg-mcp /usr/local/bin/
cp .build/release/scryfall-mcp /usr/local/bin/
# Run with stdio transport (for MCP integration)
swift run mtg-mcp --transport stdio
# Run standalone for testing
swift run mtg-mcp --transport stdio --verbose
# Run with stdio transport
swift run scryfall-mcp --transport stdio
# Run with debug output
swift run scryfall-mcp --transport stdio --verbose
Add the servers to your Claude Desktop configuration file. The configuration file is typically located at:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": {
"mtg-deck-manager": {
"command": "swift",
"args": ["run", "mtg-mcp", "--transport", "stdio"],
"cwd": "/path/to/mtg-mcp"
},
"scryfall-api": {
"command": "swift",
"args": ["run", "scryfall-mcp", "--transport", "stdio"],
"cwd": "/path/to/mtg-mcp"
},
"rules-splitter": {
"command": "swift",
"args": ["run", "rules-splitter"],
"cwd": "/path/to/mtg-mcp"
}
}
}
{
"mcpServers": {
"mtg-deck-manager": {
"command": "/path/to/.build/release/mtg-mcp",
"args": ["--transport", "stdio"]
},
"scryfall-api": {
"command": "/path/to/.build/release/scryfall-mcp",
"args": ["--transport", "stdio"]
}
}
}
{
"mcpServers": {
"mtg-deck-manager": {
"command": "swift",
"args": ["run", "mtg-mcp", "--transport", "stdio"],
"cwd": "/Users/ericraio/mcp/mtg-mcp"
},
"scryfall-api": {
"command": "swift",
"args": ["run", "scryfall-mcp", "--transport", "stdio"],
"cwd": "/Users/ericraio/mcp/mtg-mcp"
}
}
}
First, build the executables:
cd /Users/ericraio/mcp/mtg-mcp
swift build -c release
Then use this configuration:
{
"mcpServers": {
"mtg-deck-manager": {
... [View full README on GitHub](https://github.com/ericraio/mtg-mcp#readme)