@expensebot/mcp-server-auth 0.6.24 → 0.6.25

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 CHANGED
@@ -118,7 +118,7 @@ transport and authentication support.
118
118
  ## Discovery
119
119
 
120
120
  - **Official MCP Registry** — active as
121
- `io.github.TotesMagotes/mcp-server-auth`; version `0.6.24` is the current
121
+ `io.github.TotesMagotes/mcp-server-auth`; version `0.6.25` is the current
122
122
  listing with both npm stdio and remote Streamable HTTP transports
123
123
  - **awesome-mcp-servers** — Finance & Fintech section
124
124
  - **Glama** — <https://glama.ai/mcp/servers/TotesMagotes/expensebot>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expensebot/mcp-server-auth",
3
- "version": "0.6.24",
3
+ "version": "0.6.25",
4
4
  "mcpName": "io.github.TotesMagotes/mcp-server-auth",
5
5
  "description": "ExpenseBot MCP server for receipt and income capture, Gmail scans, spending analytics, and reviewed expense reports from AI assistants.",
6
6
  "homepage": "https://www.expensebot.ai/mcp",
package/server.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "https://github.com/TotesMagotes/expensebot-mcp",
8
8
  "source": "github"
9
9
  },
10
- "version": "0.6.24",
10
+ "version": "0.6.25",
11
11
  "websiteUrl": "https://www.expensebot.ai/mcp",
12
12
  "icons": [
13
13
  {
@@ -28,7 +28,7 @@
28
28
  {
29
29
  "registryType": "npm",
30
30
  "identifier": "@expensebot/mcp-server-auth",
31
- "version": "0.6.24",
31
+ "version": "0.6.25",
32
32
  "transport": {
33
33
  "type": "stdio"
34
34
  }
package/src/client.js CHANGED
@@ -46,7 +46,7 @@ export class ExpenseBotClient {
46
46
  headers: {
47
47
  Authorization: `Bearer ${this.token}`,
48
48
  "Content-Type": "application/json",
49
- "User-Agent": "expensebot-mcp-auth/0.6.24",
49
+ "User-Agent": "expensebot-mcp-auth/0.6.25",
50
50
  "X-ExpenseBot-MCP-Transport": "stdio",
51
51
  ...options.headers,
52
52
  },
package/src/index.js CHANGED
@@ -1527,7 +1527,10 @@ const TOOLS = [
1527
1527
  {
1528
1528
  name: "add_income",
1529
1529
  description:
1530
- "Log an income entry manually (cash, check, Stripe payout, etc.). " +
1530
+ "Log exactly one user-confirmed income payment manually (cash, check, Stripe payout, etc.). " +
1531
+ "Never loop this tool over a statement, export, table, or multi-row list. For two or more " +
1532
+ "payments, use add_income_from_csv for CSV/TSV/text or add_income_from_file for an image/PDF; " +
1533
+ "those tools stage a duplicate-checked preview and require confirmation before writing. " +
1531
1534
  "Writes to the Income tab of the user's expense spreadsheet. Useful " +
1532
1535
  "for income that isn't auto-detected from Gmail or Plaid. Call " +
1533
1536
  "list_income_categories first and use one of its fixed tax categories; " +
@@ -2873,6 +2876,9 @@ const TOOLS = [
2873
2876
  "Two-phase operation: calls with confirm omitted or false return a " +
2874
2877
  "preview of the current→proposed change and make no change. After user " +
2875
2878
  "confirmation, a call with confirm:true applies the proposed change. " +
2879
+ "If the expense is not found, search once for a current exact expenseId; never retry the " +
2880
+ "same stale ID. If a business-purpose update exceeds the Notes capacity, stop and send the " +
2881
+ "user to https://www.expensebot.ai/review-expenses?source=mcp instead of retrying. " +
2876
2882
  "Only category/tag/merchant/businessPurpose are " +
2877
2883
  "editable — amounts, dates, and notes are not editable via the " +
2878
2884
  "assistant. Does not create or delete rows.",
@@ -3402,7 +3408,7 @@ async function handleTool(name, args) {
3402
3408
  url.searchParams.set("query", args?.feature || "");
3403
3409
  url.searchParams.set("utm_source", "mcp-onboarding");
3404
3410
  const res = await fetch(url.toString(), {
3405
- headers: { "User-Agent": "expensebot-mcp-auth/0.6.0" },
3411
+ headers: { "User-Agent": "expensebot-mcp-auth/0.6.25" },
3406
3412
  });
3407
3413
  const data = await res.json();
3408
3414
  return formatResultWithSchema(name, data);
@@ -3712,7 +3718,7 @@ function formatResultWithSchema(toolName, result) {
3712
3718
 
3713
3719
  async function main() {
3714
3720
  const server = new Server(
3715
- { name: "expensebot-auth", version: "0.6.24" },
3721
+ { name: "expensebot-auth", version: "0.6.25" },
3716
3722
  { capabilities: { tools: {} }, instructions: SERVER_INSTRUCTIONS }
3717
3723
  );
3718
3724