@albertomarturelo/cta-mcp 0.2.0 → 0.3.0
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 +9 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -36,12 +36,18 @@ Requires **Node ≥ 20**. Claude Desktop (`claude_desktop_config.json`):
|
|
|
36
36
|
`bancos`, `login`, `logout`, `cuentas`, `saldo`, `movimientos`, `tarjetas`. Every bank-scoped
|
|
37
37
|
tool takes a required `banco`, e.g. `"bci"`.
|
|
38
38
|
|
|
39
|
+
## Demo bank
|
|
40
|
+
|
|
41
|
+
Set `CTA_DEMO=1` (`"env": { "CTA_DEMO": "1" }` in the server entry) to add a
|
|
42
|
+
fictitious bank, `banco: "demo"`: two accounts, about six weeks of movements and
|
|
43
|
+
two credit cards, all invented and dated relative to today. Its `login` opens a
|
|
44
|
+
local demo page; press «Ingresar». Nothing reaches a bank.
|
|
45
|
+
|
|
39
46
|
## BCI flow
|
|
40
47
|
|
|
41
48
|
1. `login` with `banco: "bci"` opens the bank's page. Log in there.
|
|
42
|
-
2. Once you reach your bank home, the window
|
|
43
|
-
the
|
|
44
|
-
closes. The server holds that session in
|
|
49
|
+
2. Once you reach your bank home, the window closes within seconds: cta takes
|
|
50
|
+
the read session the bank hands its own web, clicking nothing. The server holds that session in
|
|
45
51
|
memory, never on disk, for about an hour.
|
|
46
52
|
3. `bancos` shows `sesionHasta`. Until then, `cuentas`, `saldo`, `movimientos`
|
|
47
53
|
and `tarjetas` read over HTTP, with no browser. After it, log in again.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@albertomarturelo/cta-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "MCP (stdio) server to read your own Chilean bank accounts from an AI agent. Each tool is a thin call into @albertomarturelo/cta-core tasks (ADR-003).",
|
|
6
6
|
"keywords": [
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@modelcontextprotocol/sdk": "^1.30.1",
|
|
44
44
|
"playwright": "^1.63.0",
|
|
45
45
|
"zod": "^4.6.5",
|
|
46
|
-
"@albertomarturelo/cta-core": "0.
|
|
46
|
+
"@albertomarturelo/cta-core": "0.3.0"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "tsc -b"
|