@prismnetwork/mcp 0.1.0 → 0.1.2
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 +13 -10
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -11,22 +11,16 @@ An MCP server that lets Claude (or any MCP client) lease and run on real GPUs th
|
|
|
11
11
|
- `prism_run`: run a command on an existing lease.
|
|
12
12
|
- `prism_end_lease`: release a lease.
|
|
13
13
|
|
|
14
|
-
##
|
|
14
|
+
## Configure
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
```
|
|
19
|
-
cd prism-public/mcp && npm install
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
Then point your MCP client at the local entrypoint (Claude Desktop / Code):
|
|
16
|
+
Point your MCP client (Claude Desktop / Code) at the published server:
|
|
23
17
|
|
|
24
18
|
```json
|
|
25
19
|
{
|
|
26
20
|
"mcpServers": {
|
|
27
21
|
"prism": {
|
|
28
|
-
"command": "
|
|
29
|
-
"args": ["
|
|
22
|
+
"command": "npx",
|
|
23
|
+
"args": ["-y", "@prismnetwork/mcp"],
|
|
30
24
|
"env": {
|
|
31
25
|
"PRISM_AGENT_KEY": "0x<agent wallet private key>",
|
|
32
26
|
"PRISM_ESCROW": "0x71Df0eF3bc81022cB3bec0b1a05f52f12bAfcDeD"
|
|
@@ -38,6 +32,15 @@ Then point your MCP client at the local entrypoint (Claude Desktop / Code):
|
|
|
38
32
|
|
|
39
33
|
The wallet needs USDG (`0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168`) and Robinhood-Chain ETH for gas. See the SDK's Funding section for how to fund a fresh wallet.
|
|
40
34
|
|
|
35
|
+
Or add it to Claude Code in one line:
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
claude mcp add prism \
|
|
39
|
+
--env PRISM_ESCROW=0x71Df0eF3bc81022cB3bec0b1a05f52f12bAfcDeD \
|
|
40
|
+
--env PRISM_AGENT_KEY=0x<agent wallet private key> \
|
|
41
|
+
-- npx -y @prismnetwork/mcp
|
|
42
|
+
```
|
|
43
|
+
|
|
41
44
|
## Timing
|
|
42
45
|
|
|
43
46
|
`prism_lease` and `prism_lease_and_run` block while a GPU provisions (usually one to four minutes, occasionally longer on a slow host). Configure your MCP client to allow long tool calls.
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prismnetwork/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "MCP server for leasing and running on Prism Network GPUs.",
|
|
5
|
+
"mcpName": "io.github.prismnetwork-tech/mcp",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"bin": { "prism-mcp": "server.mjs" },
|
|
7
8
|
"files": ["server.mjs", "README.md"],
|