edhvault-mcp 0.2.11 → 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 +11 -2
- package/dist/cli.js +1477 -108
- 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.
|
|
@@ -74,9 +74,12 @@ With a local model, nothing the tools return leaves your computer.
|
|
|
74
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 |
|
|
75
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 |
|
|
76
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
|
+
| `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 |
|
|
77
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 |
|
|
78
81
|
|
|
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`.
|
|
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`.
|
|
80
83
|
|
|
81
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.
|
|
82
85
|
|
|
@@ -90,6 +93,10 @@ Prices are today's, the same the site shows. Everything comes from edhvault.com:
|
|
|
90
93
|
|
|
91
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.
|
|
92
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
|
+
|
|
93
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.
|
|
94
101
|
|
|
95
102
|
## Where your code is kept
|
|
@@ -125,6 +132,8 @@ npx -y edhvault-mcp logout
|
|
|
125
132
|
|
|
126
133
|
- **"Not connected yet"**: run `npx -y edhvault-mcp login`.
|
|
127
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.
|
|
128
137
|
- **"Your library isn't ready yet"**: open EDHVault on a synced device, wait for it to sync, and try again.
|
|
129
138
|
|
|
130
139
|
Logs go to `edhvault-mcp.log` in the folder above. Add `--debug` for more.
|