splitwise-mcp 3.1.2 → 3.2.1
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/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +12 -1
- package/dist/bundle.js +658 -176
- package/dist/index.js +1 -1
- package/dist/tools/_confirm.js +28 -18
- package/dist/tools/expenses.js +41 -15
- package/dist/tools/friends.js +26 -9
- package/dist/tools/groups.js +52 -17
- package/dist/tools/receipts.js +10 -3
- package/dist/tools/user.js +15 -6
- package/dist/tools/utilities.js +26 -9
- package/package.json +3 -3
- package/server.json +2 -2
- package/skills/splitwise-mcp/SKILL.md +1 -0
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
},
|
|
8
8
|
"metadata": {
|
|
9
9
|
"description": "MCP server for Splitwise — natural-language expense and group management via the Splitwise API",
|
|
10
|
-
"version": "3.1
|
|
10
|
+
"version": "3.2.1"
|
|
11
11
|
},
|
|
12
12
|
"plugins": [
|
|
13
13
|
{
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"displayName": "Splitwise",
|
|
16
16
|
"source": "./",
|
|
17
17
|
"description": "MCP server for Splitwise — manage expenses, groups, and friends via natural language",
|
|
18
|
-
"version": "3.1
|
|
18
|
+
"version": "3.2.1",
|
|
19
19
|
"author": {
|
|
20
20
|
"name": "Chris Hall"
|
|
21
21
|
},
|
package/README.md
CHANGED
|
@@ -113,7 +113,17 @@ Add to Claude Desktop config:
|
|
|
113
113
|
| Env var | Required | Notes |
|
|
114
114
|
|---------|----------|-------|
|
|
115
115
|
| `SPLITWISE_API_KEY` | Yes | API key from [splitwise.com/apps/register](https://secure.splitwise.com/apps/register) |
|
|
116
|
-
| `SPLITWISE_OUTPUT_DIR` | No | Where `sw_get_receipt` writes downloaded receipts. Defaults to the current working directory. |
|
|
116
|
+
| `SPLITWISE_OUTPUT_DIR` | No | Where `sw_get_receipt` writes downloaded receipts. Defaults to the current working directory. When set, a per-call `output_dir` must be inside it. |
|
|
117
|
+
|
|
118
|
+
## Confirmations
|
|
119
|
+
|
|
120
|
+
Every Splitwise write (creating, editing or deleting expenses, groups, friends, comments, or your profile) notifies other people, so it asks you to confirm first. A client that can show a confirmation prompt (Claude Code) shows one. On a client that cannot (claude.ai, Claude Desktop), the first call changes nothing and returns a preview of exactly what will be sent plus a `confirmToken`; only a repeat call with that token goes through, and the token is refused if anything in the request changed in between.
|
|
121
|
+
|
|
122
|
+
| variable | default | |
|
|
123
|
+
|---|---|---|
|
|
124
|
+
| `MCP_CONFIRM_MODE` | `ask-user` | What a write does on a client that cannot show a confirmation prompt (claude.ai, Claude Desktop). `ask-user`: two steps — the first call does nothing and returns a preview plus a token, and the model must get your approval in chat before calling again with it. `auto`: the same two steps, but the model may use the token after reviewing the preview itself. `refuse`: writes are refused on such clients. A client that can show prompts (Claude Code) always gets the real prompt. An unrecognised value is treated as `refuse`. |
|
|
125
|
+
| `MCP_CONFIRM_TTL_SECONDS` | `600` | How long a token stays valid. |
|
|
126
|
+
| `MCP_CONFIRM_SECRET` | random per process | Signing key; set it only if tokens must survive a server restart. |
|
|
117
127
|
|
|
118
128
|
## Available tools
|
|
119
129
|
|
|
@@ -209,6 +219,7 @@ src/
|
|
|
209
219
|
expenses.ts expense CRUD
|
|
210
220
|
receipts.ts authenticated receipt download + PDF text extraction
|
|
211
221
|
utilities.ts notifications, categories, currencies, comments
|
|
222
|
+
_confirm.ts confirmation gate shared by every write
|
|
212
223
|
```
|
|
213
224
|
|
|
214
225
|
## License
|