@attocash/mcp 0.1.1 → 0.2.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 +4 -4
- package/dist/stdio.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -93,9 +93,9 @@ Replace the example path with the absolute directory selected during setup.
|
|
|
93
93
|
Sharing a directory shares the wallet's funds, history, and spending limits.
|
|
94
94
|
Omitting `--data-dir` always selects the default dedicated MCP wallet.
|
|
95
95
|
|
|
96
|
-
Setup prints a configuration
|
|
97
|
-
|
|
98
|
-
|
|
96
|
+
Setup prints a configuration using `@attocash/mcp@latest` and the selected
|
|
97
|
+
directory. You can copy it directly; keep the selected directory when using
|
|
98
|
+
another wallet.
|
|
99
99
|
|
|
100
100
|
### Install globally
|
|
101
101
|
|
|
@@ -457,7 +457,7 @@ the CLI from the same checkout:
|
|
|
457
457
|
|
|
458
458
|
```sh
|
|
459
459
|
npm run pack
|
|
460
|
-
npm install --global ./attocash-cli-0.
|
|
460
|
+
npm install --global ./attocash-cli-0.0.0.tgz ./attocash-mcp-0.0.0.tgz
|
|
461
461
|
atto-mcp setup
|
|
462
462
|
```
|
|
463
463
|
|
package/dist/stdio.js
CHANGED
|
@@ -39,7 +39,7 @@ export async function runMcp(argv = process.argv) {
|
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
41
|
program.command('setup').description('Choose a wallet and approve MCP access in this terminal')
|
|
42
|
-
.action(async () => { process.stdout.write(`${JSON.stringify(await setupMcp({
|
|
42
|
+
.action(async () => { process.stdout.write(`${JSON.stringify(await setupMcp({ directory: directory() }), null, 2)}\n`); });
|
|
43
43
|
const limits = program.command('limits').description('Approve or reject proposed limits in this terminal');
|
|
44
44
|
limits.command('approve <id>').description('Review and approve an immutable proposal')
|
|
45
45
|
.action(async (id) => output(await approveLimitsProposal({ id, directory: directory() ?? dedicatedMcpDirectory() })));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@attocash/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Local Atto MCP server using the Atto CLI wallet engine",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"type": "module",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"directory": "atto-mcp"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@attocash/cli": "0.
|
|
24
|
+
"@attocash/cli": "0.2.0",
|
|
25
25
|
"@modelcontextprotocol/server": "2.0.0",
|
|
26
26
|
"commander": "14.0.2"
|
|
27
27
|
}
|