edhvault-mcp 0.2.17 → 0.2.21
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 -4
- package/dist/cli.js +6019 -4973
- 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't change anything on its own.** By default a code only reads. If you allow it (**Can ask to: Change decks**, **Make decks
|
|
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**, and so on), it can *ask* to change something, and nothing happens until you approve the request in EDHVault, or until your device applies it because you set that code to apply its changes without asking. The server enforces the permissions, not this program.
|
|
6
6
|
|
|
7
7
|
## Before you start
|
|
8
8
|
|
|
@@ -80,7 +80,11 @@ With a local model, nothing the tools return leaves your computer.
|
|
|
80
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
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
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
|
+
| `collection_add` / `collection_remove` | Ask to add copies of cards to your collection, or remove them (name the printing if you own several). At most 100 per request, never most of the collection at once. Needs a code that can read the collection and is allowed to change it |
|
|
84
|
+
| `wishlist_edit` | Ask to add cards to your wishlist or take them off (any printing, or a specific one). Needs a code that can read your lists and is allowed to change them |
|
|
85
|
+
| `binder_edit` | Ask to put cards you own into a binder (made if there's none by that name), or take them out. Needs a code that can read your lists and collection, and is allowed to change your lists |
|
|
83
86
|
| `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 |
|
|
87
|
+
| `set_card_read` | Ask to save card reads for the Odds tab, as `plan_odds`' `reads` try them: what a card costs, makes, draws or finds (at most 20 cards). Draws and Treasure off the other players are that deck's table guess; the rest is the card's, in every deck. Each field it sets is marked AI-suggested for you, and you can undo them all at once. Needs a code that can read decks and is allowed to change card reads |
|
|
84
88
|
| `get_requests` | The requests this code filed and what became of each: pending, applied, declined, or expired (not answered within 7 days) |
|
|
85
89
|
| `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 |
|
|
86
90
|
|
|
@@ -94,11 +98,14 @@ Prices are today's, the same the site shows. Everything comes from edhvault.com:
|
|
|
94
98
|
|
|
95
99
|
## Changes an AI asks for
|
|
96
100
|
|
|
97
|
-
- **
|
|
101
|
+
- **Five permissions, all off by default:** "Change decks" (cards, a deck's text, its folder), "Make decks", "Change collection", "Change wishlist and binders", and "Change card reads" (the Odds tab's). Tick them for a code in Settings, AI tools access. A code can only change what it can also read.
|
|
102
|
+
- **Or let a code apply its changes without asking** (Edit access, per code, off by default). Text you imported (a deck's name, description or primer from Moxfield, Archidekt or a shared link) can carry instructions an AI might follow; with this on, those changes land without you seeing them first. They still go in only on your own device at its next sync, each one in its History with Undo, and anything that changed since the AI looked still waits for you.
|
|
98
103
|
- **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
104
|
- **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
105
|
- **Requests expire after 7 days.** The AI sees them as expired (or applied, or declined), never pending forever.
|
|
101
106
|
- **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.
|
|
107
|
+
- **Changes to your collection, wishlist, binders and card reads** are listed in Settings, AI tools, under **AI changes**, each with Undo, the last 50 kept and the same on all your devices. Undo puts back what it can and names what you changed since.
|
|
108
|
+
- **A card read an AI set is marked AI-suggested** in the Odds tab, which can show only those (or only yours). Type over a field and it's yours. Settings, AI tools, **AI-suggested reads** undoes them by code, a deck's table guesses, or all at once.
|
|
102
109
|
- **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
110
|
- Removing a code removes its waiting requests.
|
|
104
111
|
|
|
@@ -145,8 +152,8 @@ npx -y edhvault-mcp logout
|
|
|
145
152
|
|
|
146
153
|
## Trouble
|
|
147
154
|
|
|
148
|
-
- **"Not connected yet"**: run `npx -y edhvault-mcp login`.
|
|
149
|
-
- **"This access code was removed"**: make a new code in Settings and log in again.
|
|
155
|
+
- **"Not connected yet"**: run `npx -y edhvault-mcp login`. The running server picks it up on the next request; no restart needed. A code logged in over another one is used from the next request that passes `refresh: true`.
|
|
156
|
+
- **"This access code was removed"**: make a new code in Settings and log in again. No restart needed.
|
|
150
157
|
- **"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.
|
|
151
158
|
- **"This access code can't read ..."**: the code wasn't given that part. Add it with **Edit access** on the code in Settings.
|
|
152
159
|
- **"Your library isn't ready yet"**: open EDHVault on a synced device, wait for it to sync, and try again.
|