@expensebot/mcp-server-auth 0.6.10 → 0.6.11
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/package.json +1 -1
- package/scripts/descriptions.generated.json +10 -0
- package/src/client.js +1 -1
- package/src/index.js +12 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expensebot/mcp-server-auth",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.11",
|
|
4
4
|
"mcpName": "io.github.TotesMagotes/mcp-server-auth",
|
|
5
5
|
"description": "Authenticated MCP server for ExpenseBot — lets Claude Desktop, Cursor, and other AI assistants search your expenses, create reports, and analyze spending using your actual ExpenseBot data.",
|
|
6
6
|
"bin": {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_meta": {
|
|
3
|
+
"generatedAt": "2026-08-07T18:23:29.233Z",
|
|
4
|
+
"sourceKb": "../server/config/kb/entries/income-and-pnl-analytics.md",
|
|
5
|
+
"note": "Auto-generated from KB. Do NOT edit by hand — re-run `npm run gen-descriptions` after the KB changes."
|
|
6
|
+
},
|
|
7
|
+
"get_income_summary": "Get income totals and breakdowns from the Income tab — Schedule C / T2125 basis. Excludes Schedule B (interest, dividends), tax refunds, and security deposits (mirrors year-end report routing). Examples: \"How much income YTD?\", \"Income by source\", \"by month\", \"by payment method\".",
|
|
8
|
+
"get_pnl": "Compute Profit & Loss across the Income tab and expenses. Examples: \"Am I profitable this year?\", \"Net income last quarter\", \"What's my margin?\", \"P&L for Q1\".",
|
|
9
|
+
"get_per_tag_pnl": "Per-tag P&L — revenue, cost, profit, and margin grouped by tag. Requires both income AND expense rows to be tagged consistently. Examples: ."
|
|
10
|
+
}
|
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.
|
|
49
|
+
"User-Agent": "expensebot-mcp-auth/0.6.11",
|
|
50
50
|
"X-ExpenseBot-MCP-Transport": "stdio",
|
|
51
51
|
...options.headers,
|
|
52
52
|
},
|
package/src/index.js
CHANGED
|
@@ -1124,11 +1124,11 @@ const TOOLS = [
|
|
|
1124
1124
|
{
|
|
1125
1125
|
name: "export_report",
|
|
1126
1126
|
description:
|
|
1127
|
-
"Get
|
|
1128
|
-
"
|
|
1129
|
-
"
|
|
1130
|
-
"
|
|
1131
|
-
"
|
|
1127
|
+
"Get a short-lived direct PDF download for one exact authorized expense " +
|
|
1128
|
+
"report, plus the exact highlighted in-app report link. Use the in-app " +
|
|
1129
|
+
"report for CSV, XLSX, receipt ZIP (when available), comments, invoicing, " +
|
|
1130
|
+
"and other visually reviewed actions. Use list_reports first to find the " +
|
|
1131
|
+
"reportId.",
|
|
1132
1132
|
inputSchema: {
|
|
1133
1133
|
type: "object",
|
|
1134
1134
|
properties: {
|
|
@@ -1152,7 +1152,10 @@ const TOOLS = [
|
|
|
1152
1152
|
"For a Gmail scan or connection request, use the Scan Gmail link, which " +
|
|
1153
1153
|
"opens the existing Gmail scanning interface. Bank/card requests use the " +
|
|
1154
1154
|
"Reconcile link; configuration requests use the returned Automation Hub " +
|
|
1155
|
-
"or General Settings link.
|
|
1155
|
+
"or General Settings link. Category, G/L, and account-code requests use " +
|
|
1156
|
+
"Category management; client, project, and trip groups use Group " +
|
|
1157
|
+
"management; questions about what counts as Personal use Personal rules. " +
|
|
1158
|
+
"Complex or visually reviewed report requests " +
|
|
1156
1159
|
"use the returned Create report link. Read-only; this tool does " +
|
|
1157
1160
|
"not create or modify spreadsheet rows.",
|
|
1158
1161
|
inputSchema: { type: "object", properties: {} },
|
|
@@ -1312,7 +1315,8 @@ const TOOLS = [
|
|
|
1312
1315
|
"Check the authoritative status of the user's Gmail receipt scans. " +
|
|
1313
1316
|
"Returns the active scan lock, the same live phase and item progress " +
|
|
1314
1317
|
"shown by ExpenseBot's in-app status pill, queued or attention-needed " +
|
|
1315
|
-
"years,
|
|
1318
|
+
"years, completed calendar years, current merchant/category exclusions, " +
|
|
1319
|
+
"and recent outcomes. Call when the user asks whether a scan is " +
|
|
1316
1320
|
"running, finished, stuck, or what it is doing. When complete, show the " +
|
|
1317
1321
|
"returned spreadsheetUrl or reviewExpensesUrl; when setup or reconnection " +
|
|
1318
1322
|
"is needed, show gmailScanUrl. Read-only.",
|
|
@@ -2091,7 +2095,7 @@ function formatResult(result) {
|
|
|
2091
2095
|
|
|
2092
2096
|
async function main() {
|
|
2093
2097
|
const server = new Server(
|
|
2094
|
-
{ name: "expensebot-auth", version: "0.6.
|
|
2098
|
+
{ name: "expensebot-auth", version: "0.6.11" },
|
|
2095
2099
|
{ capabilities: { tools: {} }, instructions: SERVER_INSTRUCTIONS }
|
|
2096
2100
|
);
|
|
2097
2101
|
|