@prismnetwork/mcp
An MCP server that lets Claude (or any MCP client) lease and run on real GPUs through Prism Network. Give it a wallet; it handles auth, on-chain payment, provisioning, and SSH.
Tools
prism_wallet: the agent's address and USDG/ETH balances.
prism_list_gpus: GPUs available to lease, with price per second and per hour.
prism_lease_and_run: lease a GPU, run a command, return the output (one shot).
prism_lease: lease a GPU and keep it; returns a lease_id and SSH access.
prism_run: run a command on an existing lease.
prism_end_lease: release a lease.
Configure
Point your MCP client (Claude Desktop / Code) at the published server:
{
"mcpServers": {
"prism": {
"command": "npx",
"args": ["-y", "@prismnetwork/mcp"],
"env": {
"PRISM_AGENT_KEY": "0x<agent wallet private key>",
"PRISM_ESCROW": "0x71Df0eF3bc81022cB3bec0b1a05f52f12bAfcDeD"
}
}
}
}
The wallet needs USDG (0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168) and Robinhood-Chain ETH for gas. See the SDK's Funding section for how to fund a fresh wallet.
Or add it to Claude Code in one line:
claude mcp add prism \
--env PRISM_ESCROW=0x71Df0eF3bc81022cB3bec0b1a05f52f12bAfcDeD \
--env PRISM_AGENT_KEY=0x<agent wallet private key> \
-- npx -y @prismnetwork/mcp
Timing
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.