edhvault-mcp 0.2.15 → 0.2.17
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 +16 -1
- package/dist/cli.js +1690 -163
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Lets an AI tool on your computer read your own EDHVault library: decks, collection, binders and wishlist. It can also search every Magic card.
|
|
4
4
|
|
|
5
|
-
**It can
|
|
5
|
+
**It can't change anything on its own.** By default a code only reads. If you allow it (**Can ask to: Change decks**, **Make decks**), it can *ask* to change a deck or make one, and nothing happens until you approve the request in EDHVault. The server enforces both, not this program.
|
|
6
6
|
|
|
7
7
|
## Before you start
|
|
8
8
|
|
|
@@ -77,6 +77,11 @@ With a local model, nothing the tools return leaves your computer.
|
|
|
77
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
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
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
|
+
| `edit_deck` | Ask to change a saved deck: add, cut, set copies, or move cards between the deck, considering and the sideboard (at most 30 cards). Files a **request**: nothing changes until you approve it in EDHVault. It's checked first (already in, not in it, outside the commander's colors, banned, one copy only). Needs a code allowed to change decks |
|
|
81
|
+
| `set_deck_notes` | Ask to change a saved deck's name, description, notes, primer or tags. Each field given replaces what's there. The description, notes and primer need a code that can read deck notes, so it never writes over text it can't see. Needs a code allowed to change decks |
|
|
82
|
+
| `move_to_folder` | Ask to move decks into a folder (made if there's none by that name), or out of their folders. Needs a code allowed to change decks |
|
|
83
|
+
| `create_deck` | Ask to make a new deck: its commander (or a legal pair), name, the cards it starts with (at most 120), and a folder. Owned cards go in the deck, others on its buy list. Needs a code allowed to make decks |
|
|
84
|
+
| `get_requests` | The requests this code filed and what became of each: pending, applied, declined, or expired (not answered within 7 days) |
|
|
80
85
|
| `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
86
|
|
|
82
87
|
**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`.
|
|
@@ -87,6 +92,16 @@ The first combo question downloads the combo index (about 28 MB) once; after tha
|
|
|
87
92
|
|
|
88
93
|
Prices are today's, the same the site shows. Everything comes from edhvault.com: nothing calls Scryfall directly. Asking how combos work downloads their steps (about 57 MB) once; answers say so until then.
|
|
89
94
|
|
|
95
|
+
## Changes an AI asks for
|
|
96
|
+
|
|
97
|
+
- **Two permissions, both off by default:** "Change decks" (cards, a deck's text, its folder) and "Make decks". Tick them for a code in Settings, AI tools access.
|
|
98
|
+
- **You approve each one** in Settings, AI tools, under **Requests**, or on the deck itself when it's open. It shows the deck, the cards (or the new text, in full), and the AI's reason. Approved on the deck, a card change is a normal edit there: Ctrl+Z takes it back.
|
|
99
|
+
- **If the deck changed since** the request was made, it says so and checks every change again against the deck as it is now: cards already added or cut, more than 30 cards, a card outside the commander's colors or banned. **Approve** only appears when all of it still applies.
|
|
100
|
+
- **Requests expire after 7 days.** The AI sees them as expired (or applied, or declined), never pending forever.
|
|
101
|
+
- **Every approved change is in the deck's History** (Tools, History, "AI changes"), with the code's name and an **Undo**. Undo puts back what it can and tells you what it couldn't, if you changed those cards, that text, or that deck's folder since; it never overwrites your edits. The last 50 per deck are kept. Only the newest change to a deck's text can be undone (the History keeps one old copy per field, not 50 primers). A deck an AI made has no Undo: delete it from Decks.
|
|
102
|
+
- **An AI never makes anything public.** A deck it makes is private even with "Make new decks public" on; publish it yourself. Its changes to a deck you made public leave that as it is.
|
|
103
|
+
- Removing a code removes its waiting requests.
|
|
104
|
+
|
|
90
105
|
## Privacy
|
|
91
106
|
|
|
92
107
|
**Whatever AI tools read is sent to the AI service you use (Anthropic, OpenAI...), unless you run a local model.**
|