@manifest-network/manifest-mcp-node 0.2.3 → 0.3.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/README.md +30 -6
- package/dist/chain.js +5 -1
- package/dist/chain.js.map +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -67,6 +67,8 @@ manifest-mcp-fred import Import a mnemonic into an encrypted keyfile
|
|
|
67
67
|
|
|
68
68
|
Add the following to your `claude_desktop_config.json`:
|
|
69
69
|
|
|
70
|
+
Replace the placeholder values below with your actual chain ID, RPC/REST endpoint, gas price, and keyfile password.
|
|
71
|
+
|
|
70
72
|
```jsonc
|
|
71
73
|
{
|
|
72
74
|
"mcpServers": {
|
|
@@ -74,8 +76,8 @@ Add the following to your `claude_desktop_config.json`:
|
|
|
74
76
|
"command": "npx",
|
|
75
77
|
"args": ["manifest-mcp-chain"],
|
|
76
78
|
"env": {
|
|
77
|
-
"COSMOS_CHAIN_ID": "
|
|
78
|
-
"COSMOS_RPC_URL": "https://
|
|
79
|
+
"COSMOS_CHAIN_ID": "your-chain-id",
|
|
80
|
+
"COSMOS_RPC_URL": "https://your-rpc-endpoint/",
|
|
79
81
|
"COSMOS_GAS_PRICE": "0.01umfx",
|
|
80
82
|
"MANIFEST_KEY_PASSWORD": "your-keyfile-password"
|
|
81
83
|
}
|
|
@@ -84,8 +86,8 @@ Add the following to your `claude_desktop_config.json`:
|
|
|
84
86
|
"command": "npx",
|
|
85
87
|
"args": ["manifest-mcp-lease"],
|
|
86
88
|
"env": {
|
|
87
|
-
"COSMOS_CHAIN_ID": "
|
|
88
|
-
"COSMOS_RPC_URL": "https://
|
|
89
|
+
"COSMOS_CHAIN_ID": "your-chain-id",
|
|
90
|
+
"COSMOS_RPC_URL": "https://your-rpc-endpoint/",
|
|
89
91
|
"COSMOS_GAS_PRICE": "0.01umfx",
|
|
90
92
|
"MANIFEST_KEY_PASSWORD": "your-keyfile-password"
|
|
91
93
|
}
|
|
@@ -94,8 +96,8 @@ Add the following to your `claude_desktop_config.json`:
|
|
|
94
96
|
"command": "npx",
|
|
95
97
|
"args": ["manifest-mcp-fred"],
|
|
96
98
|
"env": {
|
|
97
|
-
"COSMOS_CHAIN_ID": "
|
|
98
|
-
"COSMOS_RPC_URL": "https://
|
|
99
|
+
"COSMOS_CHAIN_ID": "your-chain-id",
|
|
100
|
+
"COSMOS_RPC_URL": "https://your-rpc-endpoint/",
|
|
99
101
|
"COSMOS_GAS_PRICE": "0.01umfx",
|
|
100
102
|
"MANIFEST_KEY_PASSWORD": "your-keyfile-password"
|
|
101
103
|
}
|
|
@@ -106,6 +108,28 @@ Add the following to your `claude_desktop_config.json`:
|
|
|
106
108
|
|
|
107
109
|
If you use a mnemonic instead of a keyfile, replace `MANIFEST_KEY_PASSWORD` with `COSMOS_MNEMONIC`.
|
|
108
110
|
|
|
111
|
+
#### Query-only mode (REST/LCD)
|
|
112
|
+
|
|
113
|
+
To use query-only mode without transaction signing, replace `COSMOS_RPC_URL` and `COSMOS_GAS_PRICE` with `COSMOS_REST_URL`:
|
|
114
|
+
|
|
115
|
+
```jsonc
|
|
116
|
+
{
|
|
117
|
+
"mcpServers": {
|
|
118
|
+
"manifest-chain": {
|
|
119
|
+
"command": "npx",
|
|
120
|
+
"args": ["manifest-mcp-chain"],
|
|
121
|
+
"env": {
|
|
122
|
+
"COSMOS_CHAIN_ID": "your-chain-id",
|
|
123
|
+
"COSMOS_REST_URL": "https://your-rest-endpoint/",
|
|
124
|
+
"MANIFEST_KEY_PASSWORD": "your-keyfile-password"
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
A wallet is still required at startup even in query-only mode. Transaction tools will return an `INVALID_CONFIG` error.
|
|
132
|
+
|
|
109
133
|
## Environment variables
|
|
110
134
|
|
|
111
135
|
| Variable | Required | Default | Description |
|
package/dist/chain.js
CHANGED
|
@@ -2,10 +2,14 @@
|
|
|
2
2
|
import { bootstrap } from "./bootstrap.js";
|
|
3
3
|
import { ChainMCPServer } from "@manifest-network/manifest-mcp-chain";
|
|
4
4
|
//#region src/chain.ts
|
|
5
|
+
const faucetUrl = process.env.MANIFEST_FAUCET_URL?.trim() || void 0;
|
|
5
6
|
bootstrap({
|
|
6
7
|
cliName: "manifest-mcp-chain",
|
|
7
8
|
label: "chain",
|
|
8
|
-
createServer: (opts) => new ChainMCPServer(
|
|
9
|
+
createServer: (opts) => new ChainMCPServer({
|
|
10
|
+
...opts,
|
|
11
|
+
faucetUrl
|
|
12
|
+
}).getServer()
|
|
9
13
|
});
|
|
10
14
|
//#endregion
|
|
11
15
|
export {};
|
package/dist/chain.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chain.js","names":[],"sources":["../src/chain.ts"],"sourcesContent":["#!/usr/bin/env node\nimport { ChainMCPServer } from '@manifest-network/manifest-mcp-chain';\nimport { bootstrap } from './bootstrap.js';\n\nbootstrap({\n cliName: 'manifest-mcp-chain',\n label: 'chain',\n createServer: (opts)
|
|
1
|
+
{"version":3,"file":"chain.js","names":[],"sources":["../src/chain.ts"],"sourcesContent":["#!/usr/bin/env node\nimport { ChainMCPServer } from '@manifest-network/manifest-mcp-chain';\nimport { bootstrap } from './bootstrap.js';\n\nconst faucetUrl = process.env.MANIFEST_FAUCET_URL?.trim() || undefined;\n\nbootstrap({\n cliName: 'manifest-mcp-chain',\n label: 'chain',\n createServer: (opts) =>\n new ChainMCPServer({\n ...opts,\n faucetUrl,\n }).getServer(),\n});\n"],"mappings":";;;;AAIA,MAAM,YAAY,QAAQ,IAAI,qBAAqB,MAAM,IAAI,KAAA;AAE7D,UAAU;CACR,SAAS;CACT,OAAO;CACP,eAAe,SACb,IAAI,eAAe;EACjB,GAAG;EACH;EACD,CAAC,CAAC,WAAW;CACjB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manifest-network/manifest-mcp-node",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Node.js MCP servers for Manifest Network with stdio transport and keyfile wallet",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"@cosmjs/amino": "0.32.4",
|
|
44
44
|
"@cosmjs/encoding": "0.32.4",
|
|
45
45
|
"@cosmjs/proto-signing": "0.32.4",
|
|
46
|
-
"@manifest-network/manifest-mcp-core": "^0.
|
|
47
|
-
"@manifest-network/manifest-mcp-chain": "^0.
|
|
48
|
-
"@manifest-network/manifest-mcp-lease": "^0.
|
|
49
|
-
"@manifest-network/manifest-mcp-fred": "^0.
|
|
46
|
+
"@manifest-network/manifest-mcp-core": "^0.3.1",
|
|
47
|
+
"@manifest-network/manifest-mcp-chain": "^0.3.1",
|
|
48
|
+
"@manifest-network/manifest-mcp-lease": "^0.3.1",
|
|
49
|
+
"@manifest-network/manifest-mcp-fred": "^0.3.1",
|
|
50
50
|
"@modelcontextprotocol/sdk": "1.27.1",
|
|
51
51
|
"dotenv": "^17.2.3"
|
|
52
52
|
},
|