edhvault-mcp 0.2.5 → 0.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -6
- package/dist/cli.js +42176 -32627
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,20 +7,22 @@ Lets an AI tool on your computer read your own EDHVault library: decks, collecti
|
|
|
7
7
|
## Before you start
|
|
8
8
|
|
|
9
9
|
1. Turn on sync in EDHVault (Settings, Sync & backup).
|
|
10
|
-
2.
|
|
10
|
+
2. In Settings, **AI tools**, press **Create access code**.
|
|
11
11
|
3. You see the code once. Keep the page open until you've connected.
|
|
12
12
|
|
|
13
13
|
You get a 10-character code good for 5 minutes, and a long code that starts with `EV-AI-` (under **Show long code**). Use the short one with `login`, and the long one where a client wants a fixed value.
|
|
14
14
|
|
|
15
|
-
Needs Node 20 or newer
|
|
15
|
+
Needs Node 20 or newer.
|
|
16
16
|
|
|
17
17
|
## Connect your client
|
|
18
18
|
|
|
19
19
|
### Claude Desktop
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
Run `npx -y edhvault-mcp login`. Then in Claude Desktop open Settings, Developer, **Edit Config**, add this to `claude_desktop_config.json`, and restart Claude Desktop:
|
|
22
|
+
|
|
23
|
+
```json
|
|
24
|
+
{ "mcpServers": { "edhvault": { "command": "npx", "args": ["-y", "edhvault-mcp"] } } }
|
|
25
|
+
```
|
|
24
26
|
|
|
25
27
|
### Claude Code
|
|
26
28
|
|
|
@@ -64,8 +66,17 @@ With a local model, nothing the tools return leaves your computer.
|
|
|
64
66
|
| `card_search` | Every Magic card, in EDHVault's Scryfall-style search, including every Scryfall tag (`otag:`), sets and finishes. Each result lists its roles and tags. Works without a code |
|
|
65
67
|
| `get_card` | Everything about one card: the printed rules text (every face), legality in every format, EDHREC rank, Game Changer, roles and Scryfall tags, today's price and its 1/7/30-day change, every printing with its prices, its land cycle, the combos it's in (and how each works, on ask), and with a code what you own of it and which decks use it. Works without a code |
|
|
66
68
|
| `get_commander` | A commander's EDHREC page, as EDHVault shows it: decks, rank overall and this week, bracket estimate, and every section (New Cards, Top Cards, High Lift, Creatures, Lands, ...) with each card's inclusion, synergy, lift and trending score. `cedh` gives the cEDH decks' cut; partners take both names. With a code, each card says how many you own. Works without a code |
|
|
69
|
+
| `card_tutors` | Tutors, as the deck builder reads them: what a tutor can find ("What can this find?") with its mana-value limit, and the tutors that can find a card ("Find tutors for this"). With `deck`, within that deck: the tutors it runs, and the ones in its colors it doesn't. Works without a code (a deck needs one) |
|
|
70
|
+
| `card_swaps` | Replacements for a card from the deck builder's swap engine: cards that do the same job, in the deck's colors and not already in it, ranked by match and by how many of the commander's decks run them. `lens`: any, cheaper (with the saving), or owned. Works without a code (owned needs one) |
|
|
71
|
+
| `deck_budget` | A deck's budget, as the Budget panel shows it: the whole deck's cost at today's prices by category (manabase, staples, tutors, ramp, the rest), your budget and how far over or under, the priciest cards and cheaper swaps for each |
|
|
72
|
+
| `deck_pull_list` | A deck's pull list: each card to pull with the printings you own, copies, what's checked off as pulled, which binders and other decks hold it, then the buy list |
|
|
73
|
+
| `collection_combos` | The /combos page: combos your whole collection already makes, and the ones a single card away, with search, hide, and views by effect or by the card that would complete the most. Needs a code |
|
|
74
|
+
| `list_combos` | Every Commander combo in Commander Spellbook's data: with all of some cards, inside a color identity, by what it makes, by how many cards. Most popular first. Works without a code |
|
|
67
75
|
| `deck_combos` | The combos in a deck and the ones it's one card from, as the deck builder finds them, and how many count toward its bracket |
|
|
68
|
-
| `
|
|
76
|
+
| `deck_stats` | A deck's DIRT, as the deck builder shows it: Draw, Interaction, Ramp and Tutors, each scored 1-10 against every Commander deck and compared with typical decks for its commander (and its cEDH decks), the DIRT average, interaction quality and finishers. `standard` lists the cards behind each number |
|
|
77
|
+
| `plan_odds` | The odds a deck's plan comes together by turn N: your saved Plan by turn, or rows you ask about (cards, groups, tags, or counts like cards in hand). The same 20,000 games as the Odds tab, with your own card reads. It lists what it had to assume, and can try card reads for one run (what-if, not saved). Every Odds tab setting works the same way here: per-row mulligan-for (including "one or a tutor that finds it"), tutors off per row, AND / OR parts, graveyard rows, what a row gives you, the land range to keep a 7 with, opponents, how many rows must come together, the table guesses and the deep sim |
|
|
78
|
+
|
|
79
|
+
**Any deck, not just saved ones.** Every deck tool (`get_deck`, `deck_stats`, `deck_combos`, `plan_odds`, `card_tutors`, `deck_pull_list`, `collection_lookup`) takes `list` instead of `deck`: a pasted decklist, or a public Moxfield or Archidekt deck link. It's read the way EDHVault's Import page reads it and is never saved. Reading one needs no access code; what you own of it does. A link is read by edhvault.com, as the site does it: for Moxfield, public decks only, with an honest EDHVault User-Agent and no login. If the list doesn't mark its commander, set `commander`.
|
|
69
80
|
|
|
70
81
|
Bracket floors count two-card infinite combos, as the deck builder does. Legality here is information, the same as on the site. It never stops you doing anything.
|
|
71
82
|
|