@expensebot/mcp-server-auth 0.6.4 → 0.6.5
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 +5 -2
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.5",
|
|
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-05-07T05:13:24.014Z",
|
|
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
|
@@ -20,7 +20,7 @@ export class ExpenseBotClient {
|
|
|
20
20
|
headers: {
|
|
21
21
|
Authorization: `Bearer ${this.token}`,
|
|
22
22
|
"Content-Type": "application/json",
|
|
23
|
-
"User-Agent": "expensebot-mcp-auth/0.6.
|
|
23
|
+
"User-Agent": "expensebot-mcp-auth/0.6.5",
|
|
24
24
|
"X-ExpenseBot-MCP-Transport": "stdio",
|
|
25
25
|
...options.headers,
|
|
26
26
|
},
|
package/src/index.js
CHANGED
|
@@ -372,7 +372,10 @@ const TOOLS = [
|
|
|
372
372
|
{
|
|
373
373
|
name: "submit_receipt",
|
|
374
374
|
description:
|
|
375
|
-
"Submit a photo or PDF of a receipt for processing.
|
|
375
|
+
"Submit a photo or PDF of a receipt for processing. Covers requests " +
|
|
376
|
+
"phrased as 'log this', 'log this receipt', 'save this receipt', " +
|
|
377
|
+
"'expense this', or 'add this to my expenses', including when the user " +
|
|
378
|
+
"simply shares a photo of a receipt or invoice. The receipt image " +
|
|
376
379
|
"is sent as base64, validated, uploaded to cloud storage, and processed " +
|
|
377
380
|
"by AI to extract vendor, amount, date, tax, and category. The expense " +
|
|
378
381
|
"appears in the user's spreadsheet within 30 seconds.",
|
|
@@ -1740,7 +1743,7 @@ function formatResult(result) {
|
|
|
1740
1743
|
|
|
1741
1744
|
async function main() {
|
|
1742
1745
|
const server = new Server(
|
|
1743
|
-
{ name: "expensebot-auth", version: "0.6.
|
|
1746
|
+
{ name: "expensebot-auth", version: "0.6.5" },
|
|
1744
1747
|
{ capabilities: { tools: {} } }
|
|
1745
1748
|
);
|
|
1746
1749
|
|