@manifest-network/manifest-mcp-node 0.8.0 → 0.9.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 CHANGED
@@ -3,9 +3,9 @@
3
3
  Node.js CLI entry points for the Manifest MCP servers with stdio transport and encrypted keyfile wallet.
4
4
 
5
5
  Provides four binaries:
6
- - **`manifest-mcp-chain`** -- Chain MCP server (5 tools: queries, transactions, module discovery)
7
- - **`manifest-mcp-lease`** -- Lease MCP server (6 tools: credit balance, funding, lease queries, SKUs, providers)
8
- - **`manifest-mcp-fred`** -- Fred MCP server (8 tools: catalog, deployment, status, logs, restart, update, diagnostics, releases)
6
+ - **`manifest-mcp-chain`** -- Chain MCP server (6 tools, +1 optional `request_faucet`: queries, transactions, fee estimation, module discovery)
7
+ - **`manifest-mcp-lease`** -- Lease MCP server (8 tools: credit balance, funding, lease queries, custom-domain claim/lookup, SKUs, providers)
8
+ - **`manifest-mcp-fred`** -- Fred MCP server (11 tools, plus 3 resources & 3 prompts: catalog, deployment readiness, manifest preview, deployment, ready polling, status, logs, restart, update, diagnostics, releases)
9
9
  - **`manifest-mcp-cosmwasm`** -- CosmWasm MCP server (2 tools: MFX-to-PWR rate query, token conversion)
10
10
 
11
11
  ## Setup
@@ -167,17 +167,19 @@ Set `COSMOS_RPC_URL` + `COSMOS_GAS_PRICE` for full access (queries + transaction
167
167
 
168
168
  `COSMOS_CHAIN_ID` and at least one endpoint URL are only required when starting an MCP server, not for `keygen` or `import`.
169
169
 
170
- ## Chain server tools (5)
170
+ ## Chain server tools (6, +1 optional)
171
171
 
172
172
  | Tool | Description |
173
173
  |------|-------------|
174
174
  | `get_account_info` | Get account address for the configured key |
175
175
  | `cosmos_query` | Execute any Cosmos SDK query command |
176
176
  | `cosmos_tx` | Execute any Cosmos SDK transaction |
177
+ | `cosmos_estimate_fee` | Estimate gas + fee for a transaction without broadcasting |
177
178
  | `list_modules` | List all available query and transaction modules |
178
179
  | `list_module_subcommands` | List available subcommands for a specific module |
180
+ | `request_faucet` | Request tokens from a faucet (registered only when `MANIFEST_FAUCET_URL` is set) |
179
181
 
180
- ## Lease server tools (6)
182
+ ## Lease server tools (8)
181
183
 
182
184
  | Tool | Description |
183
185
  |------|-------------|
@@ -185,15 +187,20 @@ Set `COSMOS_RPC_URL` + `COSMOS_GAS_PRICE` for full access (queries + transaction
185
187
  | `fund_credit` | Send tokens to a billing credit account (defaults to the sender; accepts `tenant`) |
186
188
  | `leases_by_tenant` | List leases by state (defaults to the caller; accepts `tenant`) |
187
189
  | `close_lease` | Close a lease on-chain |
190
+ | `set_item_custom_domain` | Claim or release a custom domain on a lease item |
191
+ | `lease_by_custom_domain` | Look up the lease that owns a custom domain |
188
192
  | `get_skus` | List available SKUs |
189
193
  | `get_providers` | List available providers |
190
194
 
191
- ## Fred server tools (8)
195
+ ## Fred server tools (11)
192
196
 
193
197
  | Tool | Description |
194
198
  |------|-------------|
195
199
  | `browse_catalog` | Browse available providers and service tiers with health checks |
196
- | `deploy_app` | Deploy a new application (create lease + deploy container) |
200
+ | `check_deployment_readiness` | Pre-flight checks (balance, SKU availability, image pull) before `deploy_app` |
201
+ | `build_manifest_preview` | Preview the SDL/manifest that `deploy_app` would submit |
202
+ | `deploy_app` | Deploy a new application (create lease + deploy container, optional custom domain) |
203
+ | `wait_for_app_ready` | Poll provider until a deployed app reports ready |
197
204
  | `app_status` | Get detailed status for a deployed app by lease UUID |
198
205
  | `get_logs` | Get logs for a deployed app by lease UUID |
199
206
  | `restart_app` | Restart a deployed app via the provider |
@@ -201,6 +208,8 @@ Set `COSMOS_RPC_URL` + `COSMOS_GAS_PRICE` for full access (queries + transaction
201
208
  | `app_diagnostics` | Get provision diagnostics for a deployed app |
202
209
  | `app_releases` | Get release/version history for a deployed app |
203
210
 
211
+ The Fred server also exposes 3 MCP resources (`manifest://leases/active`, `manifest://leases/recent`, `manifest://providers`) and 3 prompts (`deploy-containerized-app`, `diagnose-failing-app`, `shutdown-all-leases`).
212
+
204
213
  ## CosmWasm server tools (2)
205
214
 
206
215
  | Tool | Description |
@@ -208,6 +217,17 @@ Set `COSMOS_RPC_URL` + `COSMOS_GAS_PRICE` for full access (queries + transaction
208
217
  | `get_mfx_to_pwr_rate` | Get the current MFX-to-PWR conversion rate and preview amounts |
209
218
  | `convert_mfx_to_pwr` | Convert MFX tokens to PWR via the on-chain converter contract |
210
219
 
220
+ ## See also
221
+
222
+ The links below resolve from the GitHub repo. They use absolute URLs because the published npm package only ships `dist/` and the `docs/` tree isn't included, so relative paths would 404 on npmjs.com.
223
+
224
+ - [Tool selection guide](https://github.com/manifest-network/manifest-mcp-mono/blob/main/docs/tool-selection-guide.md) — which server to wire up and which tool to call
225
+ - [Usage examples](https://github.com/manifest-network/manifest-mcp-mono/blob/main/docs/usage-examples.md) — end-to-end transcripts (balances, deploys, diagnostics, conversions)
226
+ - [Prompts and resources](https://github.com/manifest-network/manifest-mcp-mono/blob/main/docs/prompts-and-resources.md) — what the Fred server's 3 prompts and 3 resources expose
227
+ - [Troubleshooting](https://github.com/manifest-network/manifest-mcp-mono/blob/main/docs/troubleshooting.md) — error codes, common failure modes, and how to recover
228
+ - [Security model](https://github.com/manifest-network/manifest-mcp-mono/blob/main/docs/security.md) — wallet handling, ADR-036 auth, output redaction, trust boundaries
229
+ - [Library usage](https://github.com/manifest-network/manifest-mcp-mono/blob/main/docs/library-usage.md) — using the packages outside an MCP host
230
+
211
231
  ## License
212
232
 
213
233
  MIT
package/dist/chain.js CHANGED
@@ -1,8 +1,18 @@
1
1
  #!/usr/bin/env node
2
2
  import { bootstrap } from "./bootstrap.js";
3
+ import { validateEndpointUrl } from "@manifest-network/manifest-mcp-core";
3
4
  import { ChainMCPServer } from "@manifest-network/manifest-mcp-chain";
4
5
  //#region src/chain.ts
5
- const faucetUrl = process.env.MANIFEST_FAUCET_URL?.trim() || void 0;
6
+ const rawFaucetUrl = process.env.MANIFEST_FAUCET_URL?.trim() || void 0;
7
+ let faucetUrl;
8
+ if (rawFaucetUrl) {
9
+ const check = validateEndpointUrl(rawFaucetUrl, "MANIFEST_FAUCET_URL");
10
+ if (!check.valid) {
11
+ console.error(`Invalid MANIFEST_FAUCET_URL: ${check.reason}`);
12
+ process.exit(1);
13
+ }
14
+ faucetUrl = rawFaucetUrl;
15
+ }
6
16
  bootstrap({
7
17
  cliName: "manifest-mcp-chain",
8
18
  label: "chain",
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\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"}
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 { validateEndpointUrl } from '@manifest-network/manifest-mcp-core';\nimport { bootstrap } from './bootstrap.js';\n\nconst rawFaucetUrl = process.env.MANIFEST_FAUCET_URL?.trim() || undefined;\nlet faucetUrl: string | undefined;\nif (rawFaucetUrl) {\n const check = validateEndpointUrl(rawFaucetUrl, 'MANIFEST_FAUCET_URL');\n if (!check.valid) {\n console.error(`Invalid MANIFEST_FAUCET_URL: ${check.reason}`);\n process.exit(1);\n }\n faucetUrl = rawFaucetUrl;\n}\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":";;;;;AAKA,MAAM,eAAe,QAAQ,IAAI,qBAAqB,MAAM,IAAI,KAAA;AAChE,IAAI;AACJ,IAAI,cAAc;CAChB,MAAM,QAAQ,oBAAoB,cAAc,sBAAsB;AACtE,KAAI,CAAC,MAAM,OAAO;AAChB,UAAQ,MAAM,gCAAgC,MAAM,SAAS;AAC7D,UAAQ,KAAK,EAAE;;AAEjB,aAAY;;AAGd,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.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "Node.js MCP servers for Manifest Network with stdio transport and keyfile wallet",
5
5
  "type": "module",
6
6
  "bin": {
@@ -44,11 +44,11 @@
44
44
  "@cosmjs/amino": "0.32.4",
45
45
  "@cosmjs/encoding": "0.32.4",
46
46
  "@cosmjs/proto-signing": "0.32.4",
47
- "@manifest-network/manifest-mcp-core": "^0.8.0",
48
- "@manifest-network/manifest-mcp-chain": "^0.8.0",
49
- "@manifest-network/manifest-mcp-lease": "^0.8.0",
50
- "@manifest-network/manifest-mcp-cosmwasm": "^0.8.0",
51
- "@manifest-network/manifest-mcp-fred": "^0.8.0",
47
+ "@manifest-network/manifest-mcp-core": "^0.9.0",
48
+ "@manifest-network/manifest-mcp-chain": "^0.9.0",
49
+ "@manifest-network/manifest-mcp-lease": "^0.9.0",
50
+ "@manifest-network/manifest-mcp-cosmwasm": "^0.9.0",
51
+ "@manifest-network/manifest-mcp-fred": "^0.9.0",
52
52
  "@modelcontextprotocol/sdk": "1.27.1",
53
53
  "dotenv": "^17.2.3"
54
54
  },