@oliverames/ynab-mcp-server 1.2.3 → 1.3.0
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 +23 -9
- package/index.js +1140 -1169
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
</p>
|
|
11
11
|
|
|
12
12
|
<p align="center">
|
|
13
|
-
<code>
|
|
13
|
+
<code>44 tools</code> •
|
|
14
14
|
<code>100% API coverage</code> •
|
|
15
|
-
<code>YNAB API v1.
|
|
15
|
+
<code>YNAB API v1.82</code>
|
|
16
16
|
</p>
|
|
17
17
|
|
|
18
18
|
<p align="center">
|
|
@@ -121,14 +121,14 @@ That's it. Your AI can now talk to YNAB.
|
|
|
121
121
|
|
|
122
122
|
## Features
|
|
123
123
|
|
|
124
|
-
**Complete YNAB API v1.
|
|
124
|
+
**Complete YNAB API v1.82 coverage** with 44 tools:
|
|
125
125
|
|
|
126
126
|
| Resource | Tools | Capabilities |
|
|
127
127
|
|----------|-------|-------------|
|
|
128
128
|
| **Budgets** | 4 | List, view details, settings |
|
|
129
129
|
| **Accounts** | 3 | List, view, create |
|
|
130
130
|
| **Categories** | 9 | Full CRUD, groups, search, goals, monthly budgets |
|
|
131
|
-
| **Payees** |
|
|
131
|
+
| **Payees** | 5 | List, view, create, rename, search |
|
|
132
132
|
| **Payee Locations** | 3 | GPS coordinates for mobile transactions |
|
|
133
133
|
| **Months** | 2 | Monthly summaries with per-category breakdown |
|
|
134
134
|
| **Money Movements** | 4 | Budget re-allocation tracking |
|
|
@@ -191,6 +191,7 @@ That's it. Your AI can now talk to YNAB.
|
|
|
191
191
|
|------|-------------|
|
|
192
192
|
| `list_payees` | List all payees with transfer account mappings |
|
|
193
193
|
| `get_payee` | Get payee details |
|
|
194
|
+
| `create_payee` | Create a new payee |
|
|
194
195
|
| `update_payee` | Rename a payee |
|
|
195
196
|
| `search_payees` | Case-insensitive partial name search |
|
|
196
197
|
|
|
@@ -255,18 +256,31 @@ That's it. Your AI can now talk to YNAB.
|
|
|
255
256
|
|
|
256
257
|
| Variable | Required | Description |
|
|
257
258
|
|----------|----------|-------------|
|
|
258
|
-
| `YNAB_API_TOKEN` | Yes | [Personal access token](https://app.ynab.com/settings/developer) from YNAB Developer Settings |
|
|
259
|
+
| `YNAB_API_TOKEN` | Yes* | [Personal access token](https://app.ynab.com/settings/developer) from YNAB Developer Settings |
|
|
259
260
|
| `YNAB_BUDGET_ID` | No | Default budget ID. If omitted, uses `"last-used"` (your most recently accessed budget). Run `list_budgets` to find IDs. |
|
|
261
|
+
| `YNAB_OP_PATH` | No | 1Password secret reference for your API token (see below). Required only if using the 1Password fallback instead of `YNAB_API_TOKEN`. |
|
|
262
|
+
|
|
263
|
+
*`YNAB_API_TOKEN` is required unless `YNAB_OP_PATH` is set.
|
|
260
264
|
|
|
261
265
|
### 1Password Integration
|
|
262
266
|
|
|
263
|
-
If
|
|
267
|
+
If you store your YNAB token in [1Password CLI](https://developer.1password.com/docs/cli/), set `YNAB_OP_PATH` to your secret reference and omit `YNAB_API_TOKEN`:
|
|
264
268
|
|
|
265
|
-
```
|
|
266
|
-
|
|
269
|
+
```json
|
|
270
|
+
{
|
|
271
|
+
"mcpServers": {
|
|
272
|
+
"ynab": {
|
|
273
|
+
"command": "npx",
|
|
274
|
+
"args": ["-y", "@oliverames/ynab-mcp-server"],
|
|
275
|
+
"env": {
|
|
276
|
+
"YNAB_OP_PATH": "op://Personal/YNAB API Token/credential"
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
267
281
|
```
|
|
268
282
|
|
|
269
|
-
|
|
283
|
+
The fallback adds ~1-2s to startup and is silently skipped if `op` is unavailable or the item is not found.
|
|
270
284
|
|
|
271
285
|
---
|
|
272
286
|
|