creditkarma-mcp 1.2.0 → 1.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/dist/bundle.js CHANGED
@@ -21512,10 +21512,10 @@ var sqlToolDefinitions = [
21512
21512
  ];
21513
21513
 
21514
21514
  // src/index.ts
21515
+ var __dirname = dirname4(fileURLToPath2(import.meta.url));
21515
21516
  try {
21516
21517
  const { config: config2 } = await import("dotenv");
21517
- const __dirname2 = dirname4(fileURLToPath2(import.meta.url));
21518
- config2({ path: join3(__dirname2, "..", ".env"), override: false });
21518
+ config2({ path: join3(__dirname, "..", ".env"), override: false });
21519
21519
  } catch {
21520
21520
  }
21521
21521
  var allTools = [
@@ -21546,7 +21546,7 @@ async function main() {
21546
21546
  mcpJsonPath
21547
21547
  };
21548
21548
  const server = new Server(
21549
- { name: "creditkarma-mcp", version: "1.1.0" },
21549
+ { name: "creditkarma-mcp", version: "1.2.1" },
21550
21550
  { capabilities: { tools: {} } }
21551
21551
  );
21552
21552
  server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: allTools }));
package/dist/index.js CHANGED
@@ -4,21 +4,21 @@ import { CallToolRequestSchema, ListToolsRequestSchema } from '@modelcontextprot
4
4
  import { homedir } from 'os';
5
5
  import { join, dirname } from 'path';
6
6
  import { fileURLToPath } from 'url';
7
+ import { CreditKarmaClient } from './client.js';
8
+ import { initDb } from './db.js';
9
+ import { authToolDefinitions, handleSetSession } from './tools/auth.js';
10
+ import { syncToolDefinitions, handleSyncTransactions } from './tools/sync.js';
11
+ import { queryToolDefinitions, handleListTransactions, handleGetRecentTransactions, handleGetSpendingByCategory, handleGetSpendingByMerchant, handleGetAccountSummary } from './tools/query.js';
12
+ import { sqlToolDefinitions, handleQuerySql } from './tools/sql.js';
13
+ const __dirname = dirname(fileURLToPath(import.meta.url));
7
14
  // Load .env for local dev; silently skip if dotenv is unavailable (e.g. mcpb bundle)
8
15
  try {
9
16
  const { config } = await import('dotenv');
10
- const __dirname = dirname(fileURLToPath(import.meta.url));
11
17
  config({ path: join(__dirname, '..', '.env'), override: false });
12
18
  }
13
19
  catch {
14
20
  // not available — rely on process.env (mcpb sets credentials via mcp_config.env)
15
21
  }
16
- import { CreditKarmaClient } from './client.js';
17
- import { initDb } from './db.js';
18
- import { authToolDefinitions, handleSetSession } from './tools/auth.js';
19
- import { syncToolDefinitions, handleSyncTransactions } from './tools/sync.js';
20
- import { queryToolDefinitions, handleListTransactions, handleGetRecentTransactions, handleGetSpendingByCategory, handleGetSpendingByMerchant, handleGetAccountSummary } from './tools/query.js';
21
- import { sqlToolDefinitions, handleQuerySql } from './tools/sql.js';
22
22
  const allTools = [
23
23
  ...authToolDefinitions,
24
24
  ...syncToolDefinitions,
@@ -47,7 +47,7 @@ async function main() {
47
47
  db: initDb(dbPath),
48
48
  mcpJsonPath
49
49
  };
50
- const server = new Server({ name: 'creditkarma-mcp', version: '1.1.0' }, { capabilities: { tools: {} } });
50
+ const server = new Server({ name: 'creditkarma-mcp', version: '1.2.1' }, { capabilities: { tools: {} } });
51
51
  server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: allTools }));
52
52
  server.setRequestHandler(CallToolRequestSchema, async (request) => {
53
53
  const { name, arguments: args = {} } = request.params;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "creditkarma-mcp",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "MCP server for Credit Karma — natural-language access to your transactions, spending, and accounts",
5
5
  "author": "Claude Sonnet 4.6 (AI) <https://www.anthropic.com/claude>",
6
6
  "repository": {