Allows AI agents to browse, lease, and run workloads on real NVIDIA GPUs with onchain payments and confidential computing capabilities.
Also known as prismnetwork-tech/prism, @prismnetwork/mcp
- Stars
- 1
- Tools
- 20
- Downloads, 30 days
- —
- Latest version
- 0.10.0
- Last commit
- Oct 20, 2026
- License
- Apache-2.0
What is Prism Network MCP?
Prism Network allows AI agents to browse, lease, and run workloads on real NVIDIA GPUs with onchain payments and confidential computing capabilities. It exposes 20 tools, such as prism_budget, prism_list_gpus, prism_price_index.
Summary generated from the project's README
About Prism Network MCP server
Leasing and running workloads on real NVIDIA GPUs through onchain payments is what this MCP server enables for AI agents. It allows users to connect Claude or other MCP clients to the Prism Network to browse available hardware, check real-time pricing, and execute tasks. Users can perform simple inquiries like checking GPU availability or price indexes without a wallet, but active leasing and inference require a wallet with USDG and ETH for gas.
Developers can manage compute resources using tools like prism_lease to gain SSH access or prism_infer for single or batch LLM generations. The server includes specialized capabilities for confidential computing via prism_confidential_infer, which runs workloads inside a GPU TEE to ensure message contents remain encrypted. For security, the prism_vault tools allow agents to seal sensitive data under a wallet-derived key, ensuring that even if a workspace is compromised, the underlying information remains protected.
What you can do with it
- 1Check GPU availability and pricingAn agent can query the network to see which NVIDIA GPUs are currently available for rent and what they cost.
Written from the project's README. Every use case is checked against a quote from it.
How to install Prism Network MCP
Formats verified 10 Nov 2026Add to CursorAdd to GooseInstall Prism Network MCP in Claude Code
$ claude mcp add --env 'PRISM_AGENT_KEY=<YOUR_PRISM_AGENT_KEY>' mcp -- npx -y @prismnetwork/mcpInstall Prism Network MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@prismnetwork/mcp"
],
"env": {
"PRISM_AGENT_KEY": "<YOUR_PRISM_AGENT_KEY>"
}
}
}
}Install Prism Network MCP in VS Code
.vscode/mcp.json
{
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@prismnetwork/mcp"
],
"env": {
"PRISM_AGENT_KEY": "<YOUR_PRISM_AGENT_KEY>"
}
}
}
}Install Prism Network MCP in VS Code CLI
$ code --add-mcp '{"name":"mcp","type":"stdio","command":"npx","args":["-y","@prismnetwork/mcp"],"env":{"PRISM_AGENT_KEY":"<YOUR_PRISM_AGENT_KEY>"}}'Install Prism Network MCP in Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@prismnetwork/mcp"
],
"env": {
"PRISM_AGENT_KEY": "<YOUR_PRISM_AGENT_KEY>"
}
}
}
}Install Prism Network MCP in Codex
$ codex mcp add mcp --env 'PRISM_AGENT_KEY=<YOUR_PRISM_AGENT_KEY>' -- npx -y @prismnetwork/mcpInstall Prism Network MCP in Codex config.toml
~/.codex/config.toml
[mcp_servers.mcp] command = "npx" args = ["-y", "@prismnetwork/mcp"] [mcp_servers.mcp.env] PRISM_AGENT_KEY = "<YOUR_PRISM_AGENT_KEY>"
Install Prism Network MCP in Gemini CLI
$ gemini mcp add -s user -e 'PRISM_AGENT_KEY=<YOUR_PRISM_AGENT_KEY>' mcp npx -- -y @prismnetwork/mcpInstall Prism Network MCP in Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@prismnetwork/mcp"
],
"env": {
"PRISM_AGENT_KEY": "<YOUR_PRISM_AGENT_KEY>"
}
}
}
}Prism Network MCP tools 20
Detected from the READMEprism_budgetprism_list_gpusprism_price_indexprism_receiptsprism_walletprism_leasesprism_inferprism_infer_batchprism_confidential_inferprism_verify_attestationprism_lease_and_runprism_lease
| prism_budget | — | |
| prism_list_gpus | — | |
| prism_price_index | — | |
| prism_receipts | — | |
| prism_wallet | — | |
| prism_leases | — | |
| prism_infer | — | |
| prism_infer_batch | — | |
| prism_confidential_infer | — | |
| prism_verify_attestation | — | |
| prism_lease_and_run | — | |
| prism_lease | — |
Show all 20 toolsShow fewer tools
prism_runprism_batch_runprism_end_leaseprism_vault_storeprism_vault_listprism_vault_readprism_vault_deleteprism_vault_release
| prism_run | — | |
| prism_batch_run | — | |
| prism_end_lease | — | |
| prism_vault_store | — | |
| prism_vault_list | — | |
| prism_vault_read | — | |
| prism_vault_delete | — | |
| prism_vault_release | — |
Configuration
PRISM_AGENT_KEYSecretAgent wallet private key (0x...). Only needed to lease and pay; browsing works without it
PRISM_DAILY_BUDGET_USDGMost this wallet may spend through Prism in any 24 hours. Defaults to 5. Set 0 to remove the ceiling
PRISM_ESCROWPrism LeaseEscrow contract address
PRISM_MAX_USDGMost any single lease or generation may cost. Defaults to 1. A max_usdg argument can lower it and cannot raise it
PRISM_SPEND_POLICYOptional spend policy as JSON or a path to a JSON file: policy_id, allowed actions, required answers and confidence floors. When set, every lease must carry a decision that meets it
| Name | Description | |
|---|---|---|
| PRISM_AGENT_KEY | Agent wallet private key (0x...). Only needed to lease and pay; browsing works without it | Secret |
| PRISM_DAILY_BUDGET_USDG | Most this wallet may spend through Prism in any 24 hours. Defaults to 5. Set 0 to remove the ceiling | |
| PRISM_ESCROW | Prism LeaseEscrow contract address | |
| PRISM_MAX_USDG | Most any single lease or generation may cost. Defaults to 1. A max_usdg argument can lower it and cannot raise it | |
| PRISM_SPEND_POLICY | Optional spend policy as JSON or a path to a JSON file: policy_id, allowed actions, required answers and confidence floors. When set, every lease must carry a decision that meets it |
Automated checks
Ran Nov 13, 2026Full report →Passed our automated checks. That is not a security audit: read the code and give the server the narrowest access it needs. How checks work
- Source repository linked and reachablePass
- Open source license (OSI)Pass
- Commit or release in the last yearPass
- Package name not close to a popular packagePass
- Remote endpoint uses HTTPSNot checked
- Destructive tools are labelledPass
- No hidden instructions to the modelPass
- No critical advisory in the package or its dependenciesPass
README
View on GitHub@prismnetwork/mcp
An MCP server that lets Claude (or any MCP client) see and lease real GPUs through Prism Network. Give it a wallet and it handles auth, onchain payment, provisioning, and SSH.
Try it without a wallet
Looking costs nothing and needs no configuration:
claude mcp add prism -- npx -y @prismnetwork/mcp
Then ask what you can rent. prism_list_gpus answers from live capacity with
real prices. Leasing spends money, so those tools ask for a wallet and say so.
Tools
| Tool | Wallet |
|---|---|
prism_budget |
no |
prism_list_gpus |
no |
prism_price_index |
no |
prism_receipts |
no |
prism_wallet |
yes |
prism_leases |
yes |
prism_infer |
yes |
prism_infer_batch |
yes |
prism_confidential_infer |
yes |
prism_verify_attestation |
no |
prism_lease_and_run |
yes |
prism_lease |
yes |
prism_run |
yes |
prism_batch_run |
yes |
prism_end_lease |
yes |
prism_vault_store |
yes |
prism_vault_list |
yes |
prism_vault_read |
yes |
prism_vault_delete |
yes |
prism_vault_release |
yes |
prism_budget: the spending limits this server enforces, what it has spent in the last 24 hours, and the recent charges.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_price_index: sourced and settled pricing per GPU model, for cost estimates.prism_receipts: recent settled receipts from the public proof feed, with the settlement transaction on Robinhood Chain.prism_leases: this wallet's leases and their state.prism_infer: buy one LLM generation from the managed inference endpoint, paying the quoted USDG price from this wallet (about 0.01 USDG). Waits through a cold start; an unconsumed payment is kept and reused on the next call instead of paying twice.prism_infer_batch: buy many generations in one paid call, at the single-generation price times the number of prompts. Each prompt runs whole on a rented GPU and they are spread across every GPU the endpoint holds, so a list of prompts finishes far sooner than the same prompts sent one at a time. Returns every answer in order with a Merkle receipt naming the leases that did the work.prism_confidential_infer: buy one generation that runs inside a GPU TEE. The message contents are encrypted to a key the enclave's own attestation commits to, so this server's relay carries ciphertext and cannot read the prompt or the answer. Returns the answer, the cost and a receipt id the workload signed over the exact bytes of the exchange.prism_verify_attestation: check one of those generations against its receipt and the hardware behind it. The server remembers the digests of the last few confidential calls, so the verdict is bound to the bytes it actually sent and received. Every check is reported with its result, including the two that cannot be established today: private-key custody, and where TLS terminates.prism_lease_and_run: lease a GPU, run a command, return the output (one shot).prism_lease: lease a GPU and keep it; returns alease_idand SSH access. The SSH block carrieshost_key_fingerprintandhost_key_claimwhen the network can say which machine should answer, and says so plainly when it cannot. Check it before connecting by hand;prism_runchecks it for you.prism_run: run a command on an existing lease.prism_batch_run: fund a lease that runs one command with no interactive access; the node reports the signed output. Matches only suppliers at trust classisolatedor above, so it can find no supplier when none is online.prism_end_lease: release a lease. Billing stops at the release; the unused deposit returns after settlement.prism_vault_store: seal private data under the wallet-derived key.prism_vault_list: list sealed items; values are never returned.prism_vault_read: decrypt one item in this process.prism_vault_delete: permanently delete an item.prism_vault_release: authorize an item into a lease that clears its trust floor.
Spending limits
Two ceilings bound what this server can spend, and a refusal quotes both.
| Variable | Default | What it bounds |
|---|---|---|
PRISM_MAX_USDG |
1 | Any single lease or generation. max_usdg on a call may lower it, never raise it past this. |
PRISM_DAILY_BUDGET_USDG |
5 | Everything in a rolling 24 hours. 0 removes the ceiling. |
PRISM_LEDGER_PATH |
~/.prism/spend.json |
Where the spend is recorded. |
A max_usdg above PRISM_MAX_USDG is clamped back to it. The argument is
written by the agent being bounded, so it is treated as a request for a lower
ceiling and never as permission for a higher one.
Spend is written before the money moves, so a crash between funding an escrow and answering is counted rather than forgiven, and a restart does not hand back a fresh day's allowance. Only an attempt that provably never reached the chain is reverted. Two clients pointed at one wallet share one ceiling, because they share the ledger file.
None of this is the real limit. Fund a dedicated wallet with what you are willing to lose: that balance is what survives a bug in everything above.
Spend policy
The limits above cap how much an agent spends. A spend policy decides whether a
given lease has a reason you accept. Set PRISM_SPEND_POLICY to the policy as
JSON, or to the path of a JSON file:
{
"policy_id": "gpu-v1",
"allow": ["fine_tune", "benchmark"],
"require": ["needs_gpu"],
"minimums": { "needs_gpu": 0.8 }
}
Every lease tool then takes a decision: the action, what made the call, and
typed answers with a confidence from 0 to 1. A decision that misses the policy
is refused with every reason before anything is quoted, funded or counted
against the budget. One that passes is hashed into the escrow deposit, so the
lease on chain carries a reference only that decision reproduces. prism_budget
shows the policy in force. Without PRISM_SPEND_POLICY a decision is optional
and still binds when given.
The binding shows a decision existed before the money moved and met your rules. It does not show the decision was sound.
Tools that spend are annotated destructiveHint and carry
anthropic/requiresUserInteraction, so Claude Code asks before every one of
them even in modes that otherwise approve tools automatically.
Vault
An agent that handles a card, an identity document or a credential should not
write it into a leased workspace. prism_vault_store seals it under a key
derived from the agent's wallet inside this server process; Prism receives
ciphertext and holds no way to read it.
Each item names the weakest workspace trust class it may ever be released into,
and new items default to confidential, above anything the network serves
today. prism_vault_release is therefore refused on current capacity instead of
handing a secret to a host that can read it. Lowering an item's floor is a
deliberate act, and allowed releases are recorded against the account.
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": "0xfD4228eEEfC49e4b76A0CD40af9fdd546220B2FD"
}
}
}
}
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=0xfD4228eEEfC49e4b76A0CD40af9fdd546220B2FD \
--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.
Prism Network MCP questions
How do I add Prism Network MCP to Claude Code?
Run claude mcp add --env 'PRISM_AGENT_KEY=<YOUR_PRISM_AGENT_KEY>' mcp -- npx -y @prismnetwork/mcp in your terminal. Add --scope user to make it available in every project.
How do I add Prism Network MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.
What tools does Prism Network MCP provide?
It exposes 20 tools, including prism_budget, prism_list_gpus, prism_price_index, prism_receipts, prism_wallet.
How long does it take to provision a GPU?
GPU provisioning typically takes between one and four minutes, though it can occasionally take longer.