Back to Browse

Flux Cloud MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocalRemote
Free

Server data from the Official MCP Registry

Deploy, pay for and manage apps on Flux Cloud, the decentralized cloud. Prices in USD.

About

Deploy, pay for and manage apps on Flux Cloud, the decentralized cloud. Prices in USD.

Remote endpoints: streamable-http: https://mcp.runonflux.com/mcp

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (2 strong, 2 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.

15 tools verified · Open access · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

What You'll Need

Set these up before or after installing:

WIF private key of the Flux ID that owns your apps. Optional; read-only tools work without it. flux_generate_keys creates one.Required

Environment variable: FLUX_ID_PRIVATE_KEY

WIF private key of the Flux address that pays deployment fees. Optional; fund it with only what you intend to spend.Required

Environment variable: FLUX_PAYMENT_PRIVATE_KEY

How to Install & Connect

Available as Local & Remote

This plugin can run on your machine or connect to a hosted endpoint. during install.

Documentation

View on GitHub

From the project's GitHub README.

Flux Cloud MCP server

An MCP server that lets any AI agent use Flux Cloud, the decentralized cloud: quote an app in US dollars, deploy it, pay for it, watch it come up, read its logs, update it, and cancel it. Works with Claude Code, Claude Desktop, Cursor, Windsurf, OpenCode and every other MCP host.

There is no account. Two keys are the whole identity:

KeyAddressRole
FLUX_ID_PRIVATE_KEYFlux ID, 1...Owns apps. Signs specifications and API sessions. Never holds funds.
FLUX_PAYMENT_PRIVATE_KEYFlux address, t1...Holds FLUX and pays deployment fees on-chain.

The server generates a pair for you (flux_generate_keys); fund the payment address with FLUX and deploy.

Pricing policy

Every price this server shows is the Flux Cloud USD price, the same one home.runonflux.io charges, converted to FLUX at the live market rate with the 5 percent pay-in-FLUX discount. Quotes come from the network itself (/apps/calculatefiatandfluxprice), so they include the $0.99 minimum, hardware and term discounts, and update credits.

The blockchain's own acceptance threshold is several times lower. It is never shown as a price; it is only checked as a guard before a payment is broadcast.

Install

npm install -g @runonflux/flux-cloud-mcp     # or: yarn global add @runonflux/flux-cloud-mcp

Or run it without installing: npx @runonflux/flux-cloud-mcp.

Claude Code

claude mcp add flux-cloud -s user \
  -e FLUX_ID_PRIVATE_KEY=<wif> -e FLUX_PAYMENT_PRIVATE_KEY=<wif> \
  -- npx -y @runonflux/flux-cloud-mcp

Claude Desktop, Cursor, Windsurf (JSON config)

{
  "mcpServers": {
    "flux-cloud": {
      "command": "npx",
      "args": ["-y", "@runonflux/flux-cloud-mcp"],
      "env": {
        "FLUX_ID_PRIVATE_KEY": "<wif of the Flux ID>",
        "FLUX_PAYMENT_PRIVATE_KEY": "<wif of the payment address>"
      }
    }
  }
}

Keys are optional. Without them every read-only tool works, and flux_generate_keys will create a pair to put into the config.

OpenCode

{
  "mcp": {
    "flux-cloud": {
      "type": "local",
      "command": ["npx", "-y", "@runonflux/flux-cloud-mcp"],
      "environment": {
        "FLUX_ID_PRIVATE_KEY": "<wif>",
        "FLUX_PAYMENT_PRIVATE_KEY": "<wif>"
      }
    }
  }
}

Tools

ToolWhat it doesSpends FLUX
flux_get_identityFlux ID, payment address, balance in FLUX and USDno
flux_generate_keysNew Flux ID + payment key pair with setup instructionsno
flux_get_pricingUSD rate card, FLUX/USD rate, discounts, reference sizesno
flux_build_specSimple description (image, ports, cpu/ram/hdd, months) to a full v8 specno
flux_validate_specLocal rules plus verification on a FluxOS nodeno
flux_quote_appUSD price and FLUX to pay, for a registration or an updateno
flux_deploy_appPlan (default) or, with confirm=true, sign, broadcast and paywith confirm
flux_wait_for_appPoll until accepted and instances run; returns URLsno
flux_get_appAny app's spec, expiry, instances, URLsno
flux_list_my_appsApps owned by the Flux ID, with instance counts and days leftno
flux_get_app_logsContainer logs from a running instance (owner only)no
flux_get_app_statsLive CPU/memory/network of an instance (owner only)no
flux_control_appRestart, redeploy or remove instances, per node or globallyno
flux_cancel_appEnd an app early by shortening its termwith confirm
flux_get_network_infoNode counts, height, FLUX/USD, deployment addressno

Resources flux://guide/overview, flux://guide/spec-format, flux://guide/pricing and flux://guide/gotchas give the agent the domain knowledge; the deploy_on_flux prompt walks it through a deployment.

A typical session

> deploy nginx on flux, 3 instances, one month

flux_get_identity      -> Flux ID 1Ab..., payer t1Cd..., 996.98 FLUX ($48.74)
flux_build_spec        -> v8 spec, port 39978 -> 80, r:/data, valid
flux_quote_app         -> $0.99 for 1 month, pay 19.24 FLUX (5% FLUX discount)
   user agrees
flux_deploy_app confirm=true
                       -> message hash 8d2f..., paid 19.24 FLUX, txid 0c41...
flux_wait_for_app      -> accepted at height 2941560, 3/3 instances running
                          https://myapp.app.runonflux.io

How a deployment works

  1. The spec is verified through api.runonflux.io exactly as it will be at registration (image reachable, architecture, ports, name free). If the balancer refuses, a few healthy nodes are probed and tried in turn.
  2. The network quotes the USD price; the server checks the payer's balance.
  3. With confirm=true the Flux ID signs the spec, the same endpoint broadcasts it to the network and returns a 64-character message hash.
  4. The payment address sends the quoted FLUX to the network deployment address with the hash in an OP_RETURN output. Right before signing, the amount is re-checked against a freshly fetched price table, because an underpaid message is dropped silently and the FLUX is not refunded.
  5. Nodes pair the confirmed payment with the message and publish the app. Instances then spawn and pull the image.

Updates use the same tool: an existing app of the same owner gets a fluxappupdate message and the network credits the unused part of the old term. Private (enterprise) apps are supported through the enterprise argument: components are encrypted for the network and only ArcaneOS nodes can run them.

Hosted server: mcp.runonflux.com

The same server also runs on Flux Cloud itself, over Streamable HTTP, for hosts that cannot start a local process (claude.ai connectors, ChatGPT, browser and mobile agents). Add it as a remote MCP server:

https://mcp.runonflux.com/mcp   (also https://mcp.runonflux.io/mcp)

The hosted server holds no keys. Read-only tools need none. Tools that sign or pay take fluxIdPrivateKey and paymentPrivateKey as call arguments, used in memory for that call and never logged or stored. The server's instructions tell agents to create a dedicated pair with flux_generate_keys and to have the user fund only what a deployment needs, rather than asking for the keys of a wallet used elsewhere. Anything typed into a chat passes through the AI vendor and the host's history, so treat such a pair as disposable and keep its balance small. For larger budgets, run the local server, where keys never leave your machine.

Run your own copy with Docker:

docker run -p 3000:3000 runonflux/flux-cloud-mcp

It is stateless, so any number of instances can sit behind one load balancer. GET /healthz reports liveness. The Flux app specification that runs the public instance is in deploy/cloudmcp.json.

Configuration

VariableDefaultPurpose
FLUX_ID_PRIVATE_KEYWIF of the Flux ID (owner)
FLUX_PAYMENT_PRIVATE_KEYWIF of the paying address
FLUX_API_URLhttps://api.runonflux.ioLoad-balanced FluxOS API for reads and quotes
FLUX_NODE_URLautoPin one FluxOS node for registrations
FLUX_EXPLORER_URLSexplorer.runonflux.io,flux-explorer.sspwallet.ioInsight explorers for UTXOs and broadcast
FLUX_STATS_URLhttps://stats.runonflux.ioUSD rate card
FLUX_RATES_URLhttps://viprates.runonflux.ioFLUX market rate

Security notes

  • Private keys stay in the server process. No tool ever returns a configured key; flux_generate_keys returns only the keys it just created.
  • Nothing is spent unless a tool is called with confirm=true. Hosts that ask before tool calls will show the USD amount in the arguments' context.
  • FluxOS sessions are self-issued signed phrases valid for a few hours; no password or token is stored anywhere.
  • Use a dedicated payment address holding only what you intend to spend.

Development

yarn install
yarn type-check && yarn lint && yarn format:check && yarn build && yarn test
yarn test:live      # differential test of the USD estimator against the network

The USD estimator, the specification formatter and the consensus guard mirror the FluxOS code (appSpecHelpers.js, appUtilities.js, messageVerifier.js) and the live test checks the estimator against the network on every run.

License

MIT

Reviews

No reviews yet

Be the first to review this server!