edhvault-mcp 0.2.7 → 0.2.15
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 -2
- package/dist/cli.js +11382 -2134
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ 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. In Settings, **AI tools**, press **Create access code**.
|
|
10
|
+
2. In Settings, **AI tools**, tick what the code may read (Decks, Deck notes, Collection, and Wishlist, binders, seeds: all four by default) and press **Create access code**. **Edit access** on a code changes it later.
|
|
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.
|
|
@@ -67,10 +67,19 @@ With a local model, nothing the tools return leaves your computer.
|
|
|
67
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 |
|
|
68
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
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 |
|
|
70
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 |
|
|
71
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 |
|
|
72
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 |
|
|
73
|
-
| `
|
|
77
|
+
| `deck_compare` | Two decks side by side, as the deck builder's Compare: cards only in each, in both (with each side's copies), and what the second deck's extras would cost to buy, minus what you own. Either deck can be saved, pasted, or a Moxfield / Archidekt link |
|
|
78
|
+
| `deck_overlap` | Cards shared across your decks, as /overlap: how many decks run each and which, and what sharing one physical copy between decks saves, in copies and dollars. Needs a code |
|
|
79
|
+
| `deck_manabase` | A deck's mana base, as the deck builder's Manabase: lands vs the recommended count, opening-hand odds, and per color the sources vs Frank Karsten's target with the card that sets it. For a short color, fixing lands to add (owned first) and the basic to cut. Works on a pasted list or link too |
|
|
80
|
+
| `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 |
|
|
81
|
+
|
|
82
|
+
**Any deck, not just saved ones.** Every deck tool (`get_deck`, `deck_stats`, `deck_combos`, `plan_odds`, `card_tutors`, `deck_pull_list`, `deck_compare`, `deck_manabase`, `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`.
|
|
74
83
|
|
|
75
84
|
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.
|
|
76
85
|
|
|
@@ -84,6 +93,10 @@ Prices are today's, the same the site shows. Everything comes from edhvault.com:
|
|
|
84
93
|
|
|
85
94
|
The code reads a separate copy of your library, made on your own device with secrets taken out: public-link edit tokens, your sync keys, device names and the like. Your own text comes through as you typed it, including deck names, notes, primers and tags. If you pasted something private into a note, the tool can read it.
|
|
86
95
|
|
|
96
|
+
**A code reads only what you ticked.** The copy is in four parts (decks, deck notes, collection, and wishlist / binders / seeds), each locked with its own key. A code gets the keys of its parts only, and edhvault.com refuses it the others, so a part is kept from it twice. Tools say when something is left out: `get_deck` without deck notes skips the primer and says so, and a code without the collection is told it can't read it. Deck notes are their own part because free text is where pasted links and emails end up.
|
|
97
|
+
|
|
98
|
+
**Taking something away is real.** When a part is taken from a code (with Edit access, or by removing the code), the server refuses it at once, and that part's key is swapped: the part is written again under a new key, and every other code that still reads it gets the new key. A key the old code kept opens nothing written after that. What it already read stays with it.
|
|
99
|
+
|
|
87
100
|
The copy updates when a device on the current version of EDHVault syncs. It can take up to an hour to start on your other devices after you make your first code.
|
|
88
101
|
|
|
89
102
|
## Where your code is kept
|
|
@@ -119,6 +132,8 @@ npx -y edhvault-mcp logout
|
|
|
119
132
|
|
|
120
133
|
- **"Not connected yet"**: run `npx -y edhvault-mcp login`.
|
|
121
134
|
- **"This access code was removed"**: make a new code in Settings and log in again.
|
|
135
|
+
- **"This access code is from an older version of EDHVault"**: codes made before you could choose what a code reads no longer work. Remove it in Settings, make a new one, and log in again.
|
|
136
|
+
- **"This access code can't read ..."**: the code wasn't given that part. Add it with **Edit access** on the code in Settings.
|
|
122
137
|
- **"Your library isn't ready yet"**: open EDHVault on a synced device, wait for it to sync, and try again.
|
|
123
138
|
|
|
124
139
|
Logs go to `edhvault-mcp.log` in the folder above. Add `--debug` for more.
|