mcpField
P
prismnetwork-tech

prismnetwork-tech

Local
prismnetwork.techCloud & Infra1Updated 5w ago

About prismnetwork-tech

@prismnetwork/mcp lets Claude and other MCP clients inspect and lease GPUs from Prism Network, for agents that need GPU compute. It also supports per-second billing, remote command execution, inference, and spending controls.

Key features

  1. 01View live GPU capacity and prices
  2. 02Lease GPUs and run commands
  3. 03Single and batch LLM inference
  4. 04Budget ceilings and spending policies
  5. 05Encrypted vault operations

Use cases

  1. 01Lease a GPU and run a task
  2. 02Run LLM inference on rented GPUs
  3. 03Estimate GPU costs and review charges
  4. 04Restrict confidential data to trusted environments

MCP support

As an MCP server, it exposes GPU discovery, leasing, inference, command execution, and vault tools. Browsing GPUs requires no wallet; paid actions do.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"prismnetwork-tech": {
"command": "npx",
"args": [
"-y",
"@prismnetwork/mcp"
],
"env": {
"PRISM_AGENT_KEY": "<PRISM_AGENT_KEY>",
"PRISM_ESCROW": "<PRISM_ESCROW>",
"PRISM_DAILY_BUDGET_USDG": "<PRISM_DAILY_BUDGET_USDG>",
"PRISM_MAX_USDG": "<PRISM_MAX_USDG>",
"PRISM_SPEND_POLICY": "<PRISM_SPEND_POLICY>"
}
}
}
}
Run commandnpx -y @prismnetwork/mcp
Environment variables to set
PRISM_AGENT_KEYSecretAgent wallet private key (0x...). Only needed to lease and pay; browsing works without it
PRISM_ESCROWPrism LeaseEscrow contract address
PRISM_DAILY_BUDGET_USDGMost this wallet may spend through Prism in any 24 hours. Defaults to 5. Set 0 to remove the ceiling
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

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@prismnetwork/mcp0.10.0

Tools

21

Saved tool list · updated 2w ago

This tool takes no parameters.

Details

From the project README

@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

ToolWallet
prism_budgetno
prism_list_gpusno
prism_price_indexno
prism_receiptsno
prism_walletyes
prism_leasesyes
prism_inferyes
prism_infer_batchyes
prism_confidential_inferyes
prism_verify_attestationno
prism_lease_and_runyes
prism_leaseyes
prism_runyes
prism_batch_runyes
prism_end_leaseyes
prism_vault_storeyes
prism_vault_listyes
prism_vault_readyes
prism_vault_deleteyes
prism_vault_releaseyes
  • 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 a lease_id and SSH access. The SSH block carries host_key_fingerprint and host_key_claim when the network can say which machine should answer, and says so plainly when it cannot. Check it before connecting by hand; prism_run checks 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 class isolated or 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.

VariableDefaultWhat it bounds
PRISM_MAX_USDG1Any single lease or generation. max_usdg on a call may lower it, never raise it past this.
PRISM_DAILY_BUDGET_USDG5Everything in a rolling 24 hours. 0 removes the ceiling.
PRISM_LEDGER_PATH~/.prism/spend.jsonWhere 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.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.