@txtcel/mcp
Advanced tools
+6
-2
| { | ||
| "name": "@txtcel/mcp", | ||
| "version": "0.4.1", | ||
| "version": "0.4.2", | ||
| "description": "Model Context Protocol server for the Txtcel Solana program: lets AI agents create channels, post/read messages and run every protocol operation.", | ||
@@ -31,2 +31,5 @@ "license": "MIT", | ||
| "typecheck": "tsc --noEmit", | ||
| "test": "vitest run", | ||
| "test:watch": "vitest", | ||
| "smoke": "node scripts/smoke.mjs", | ||
| "clean": "rm -rf dist", | ||
@@ -39,3 +42,3 @@ "start": "node dist/index.js", | ||
| "@solana/web3.js": "^1.98.4", | ||
| "@txtcel/protocol": "file:../txtcel-protocol", | ||
| "@txtcel/protocol": "^0.9.0", | ||
| "@types/node": "^22.10.0", | ||
@@ -45,2 +48,3 @@ "bs58": "^6.0.0", | ||
| "typescript": "~5.9.3", | ||
| "vitest": "^4.1.10", | ||
| "zod": "^3.23.8" | ||
@@ -47,0 +51,0 @@ }, |
+7
-4
@@ -59,7 +59,10 @@ # @txtcel/mcp | ||
| | `TXTCEL_COMMITMENT` | no | `confirmed` | `processed` \| `confirmed` \| `finalized` | | ||
| | `TXTCEL_PRIORITY_FEE` | no | `10000` | ComputeBudget price, micro-lamports per CU (`0` disables) | | ||
| | `TXTCEL_SECRET_KEY` | one of | – | Agent secret key: JSON byte array or base58 | | ||
| | `TXTCEL_KEYPAIR` | these | – | Path to a Solana keypair JSON file | | ||
| If neither key var is set, the Solana CLI default (`~/.config/solana/id.json`) | ||
| is used. | ||
| One of `TXTCEL_SECRET_KEY` / `TXTCEL_KEYPAIR` is required. Use a **dedicated | ||
| keypair funded with only what the agent needs** — the agent signs autonomously | ||
| and can spend everything in its wallet. Personal wallets (Solana CLI default, | ||
| `~/.config/solana/id.json`) are never used implicitly; there is no fallback. | ||
@@ -81,3 +84,3 @@ ## Register with an MCP client | ||
| "TXTCEL_PROGRAM_ID": "<your program id>", | ||
| "TXTCEL_KEYPAIR": "/path/to/your/solana/id.json" | ||
| "TXTCEL_KEYPAIR": "/path/to/dedicated-agent-keypair.json" | ||
| } | ||
@@ -100,3 +103,3 @@ } | ||
| "TXTCEL_PROGRAM_ID": "<your devnet program id>", | ||
| "TXTCEL_KEYPAIR": "/path/to/your/solana/id.json" | ||
| "TXTCEL_KEYPAIR": "/path/to/dedicated-agent-keypair.json" | ||
| } | ||
@@ -103,0 +106,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
6256151
0.13%50685
0.16%2
-33.33%141
2.17%9
12.5%