@expensebot/mcp-server-auth 0.6.20 → 0.6.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 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.20` is the current
121
+ `io.github.TotesMagotes/mcp-server-auth`; version `0.6.21` 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.20",
3
+ "version": "0.6.21",
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/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.20",
49
+ "User-Agent": "expensebot-mcp-auth/0.6.21",
50
50
  "X-ExpenseBot-MCP-Transport": "stdio",
51
51
  ...options.headers,
52
52
  },
package/src/index.js CHANGED
@@ -292,7 +292,7 @@ const TOOLS = [
292
292
  "not already assigned to another ordinary report. Can optionally share " +
293
293
  "with recipients. If no unreported matches remain, create no duplicate " +
294
294
  "report and explain that the expenses are already in Reports. Terminal " +
295
- "results also include accountingHandoffUrls for QuickBooks, Xero, and " +
295
+ "results also include accountingHandoffUrls for QuickBooks, Xero, Zoho Books, and " +
296
296
  "the existing file-export workflow. Use only the exact " +
297
297
  "destination the user requested; the link opens the reviewed app flow " +
298
298
  "and does not mean an export occurred. Complete " +
@@ -1093,7 +1093,9 @@ const TOOLS = [
1093
1093
  description:
1094
1094
  "Check whether an accounting destination is connected and ready for owner-authorized " +
1095
1095
  "agent posting. Returns the selected organization/account, authorization state, rollout " +
1096
- "state, and a setup or reconnect link. This is read-only and never posts accounting data. " +
1096
+ "state, and a setup or reconnect link. When an existing ExpenseBot report is available, " +
1097
+ "pass reportId so the link opens that exact report's provider setup control instead of the " +
1098
+ "general Reports setup. This is read-only and never posts accounting data. " +
1097
1099
  "Zoho Books is the first supported provider; the contract is shared for future providers.",
1098
1100
  inputSchema: {
1099
1101
  type: "object",
@@ -1103,6 +1105,12 @@ const TOOLS = [
1103
1105
  enum: ["zoho_books"],
1104
1106
  description: "Accounting destination provider.",
1105
1107
  },
1108
+ reportId: {
1109
+ type: "string",
1110
+ description:
1111
+ "Optional existing ExpenseBot report ID. When supplied, setupUrl opens this exact " +
1112
+ "report and highlights the selected accounting provider's setup control.",
1113
+ },
1106
1114
  },
1107
1115
  required: ["provider"],
1108
1116
  },
@@ -2672,7 +2680,7 @@ function formatResult(result) {
2672
2680
 
2673
2681
  async function main() {
2674
2682
  const server = new Server(
2675
- { name: "expensebot-auth", version: "0.6.20" },
2683
+ { name: "expensebot-auth", version: "0.6.21" },
2676
2684
  { capabilities: { tools: {} }, instructions: SERVER_INSTRUCTIONS }
2677
2685
  );
2678
2686