Skip to Content
Docs

Tools

MCP server

floprouter's tools for any MCP client, from Claude Code to Cursor and Codex.

floprouter-mcp lets an agent list models and miners, run paid chat completions, and check sessions, balance and grant state. It never handles wallet keys.

Not published yet. The package is built and tested, but it is not on npm. The commands below work once it is.

Shell
npx -y floprouter-mcp            # stdio, what desktop and IDE clients use
npx -y floprouter-mcp --http     # streamable HTTP on http://127.0.0.1:8792/mcp
VariableMeaning
FLOPROUTER_API_KEYYour fr_... key. Without it, the read-only tools work. Falls back to the key saved by floprouter login.
FLOPROUTER_BASE_URLDefault https://api.floprouter.com
ToolWhat it doesPaid
list_modelsModels, ready and reachable miners, escrow per 1,000 tokensno
list_minersMiners with score, settle rate, sessions, strikes, calibration and reachabilityno
get_minerOne miner in detailno
chatOne chat completion, auto or pinned mineryes
session_statusSettlement state of a sessionno
accountBalance, deposit address, fee and grant stateno
router_statusNetwork, sync state and payerno

Claude Code:

Shell
claude mcp add floprouter --scope user -e FLOPROUTER_API_KEY=fr_... -- npx -y floprouter-mcp

Claude Desktop (claude_desktop_config.json) and Cursor (~/.cursor/mcp.json):

JSON
{
  "mcpServers": {
    "floprouter": {
      "command": "npx",
      "args": ["-y", "floprouter-mcp"],
      "env": { "FLOPROUTER_API_KEY": "fr_..." }
    }
  }
}

Codex (~/.codex/config.toml):

TOML
[mcp_servers.floprouter]
command = "npx"
args = ["-y", "floprouter-mcp"]
env = { FLOPROUTER_API_KEY = "fr_..." }

chat returns once the reply is verified. Use session_status for the settlement; many MCP clients time a tool out before a settlement finishes.