Skip to main content
Glama
getsec

edhrec-mcp

by getsec

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
EDHREC_MCP_CACHE_DIRNoOverride the cache directory for EDHREC and Scryfall responses.~/.cache/edhrec-mcp/

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_cardA

Look up a Magic card by name (exact, falling back to fuzzy match).

Returns oracle text, mana cost, type line, color identity, Commander legality, USD price, image URL and set.

search_cardsC

Search for Magic cards using Scryfall query syntax.

Example queries: 't:dragon c:r cmc<=4', 'o:"draw a card" t:instant'.

get_commander_recommendationsA

EDHREC card recommendations for a Commander.

Optional theme is a theme slug from list_commander_themes (e.g. 'infect'). Optional budget is 'budget' or 'expensive'. Returns card lists (top cards, high-synergy cards, game changers, by type) with synergy and inclusion stats.

list_commander_themesA

List EDHREC themes/archetypes available for a Commander, with deck counts.

get_average_decklistB

The typical ~99-card EDHREC decklist for a Commander.

Optional theme (theme slug) and budget ('budget'/'expensive') narrow it.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/getsec/mtg-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server