Skip to content
MCP server

XFuel

Submit AI inference to XFuel, pay per task (USDC via x402 or TFUEL), fetch/verify ZK…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.1
Listing updated
5 days ago

About XFuel

XFuel is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Submit AI inference to XFuel, pay per task (USDC via x402 or TFUEL), fetch/verify ZK proofs.

Install

Run in a terminal

claude mcp add xfuel-mcp --env XFUEL_API_KEY='<XFUEL_API_KEY>' --env XFUEL_MCP_AUTH_TOKEN='<XFUEL_MCP_AUTH_TOKEN>' --env XFUEL_PAYER_PRIVATE_KEY='<XFUEL_PAYER_PRIVATE_KEY>' -- npx -y xfuel-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "xfuel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "xfuel-mcp"
      ],
      "env": {
        "XFUEL_API_KEY": "<XFUEL_API_KEY>",
        "XFUEL_MCP_AUTH_TOKEN": "<XFUEL_MCP_AUTH_TOKEN>",
        "XFUEL_PAYER_PRIVATE_KEY": "<XFUEL_PAYER_PRIVATE_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "xfuel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "xfuel-mcp"
      ],
      "env": {
        "XFUEL_API_KEY": "<XFUEL_API_KEY>",
        "XFUEL_MCP_AUTH_TOKEN": "<XFUEL_MCP_AUTH_TOKEN>",
        "XFUEL_PAYER_PRIVATE_KEY": "<XFUEL_PAYER_PRIVATE_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "xfuel-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "xfuel-mcp"
      ],
      "env": {
        "XFUEL_API_KEY": "<XFUEL_API_KEY>",
        "XFUEL_MCP_AUTH_TOKEN": "<XFUEL_MCP_AUTH_TOKEN>",
        "XFUEL_PAYER_PRIVATE_KEY": "<XFUEL_PAYER_PRIVATE_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "xfuel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "xfuel-mcp"
      ],
      "env": {
        "XFUEL_API_KEY": "<XFUEL_API_KEY>",
        "XFUEL_MCP_AUTH_TOKEN": "<XFUEL_MCP_AUTH_TOKEN>",
        "XFUEL_PAYER_PRIVATE_KEY": "<XFUEL_PAYER_PRIVATE_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "xfuel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "xfuel-mcp"
      ],
      "env": {
        "XFUEL_API_KEY": "<XFUEL_API_KEY>",
        "XFUEL_MCP_AUTH_TOKEN": "<XFUEL_MCP_AUTH_TOKEN>",
        "XFUEL_PAYER_PRIVATE_KEY": "<XFUEL_PAYER_PRIVATE_KEY>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • XFUEL_API_URLXFuel API base URL. Defaults to the hosted testnet demo.
  • XFUEL_API_KEYAPI key sent as X-API-Key. Defaults to the shared public demo key.
  • XFUEL_MCP_AUTH_TOKENOptional bearer token required on the HTTP transport (Authorization: Bearer <token>).
  • XFUEL_RPC_URLTheta RPC URL enabling verify_proof's optional on-chain nullifier read.
  • ZK_VERIFIER_ADDRESSZKVerifierSP1 contract address (paired with XFUEL_RPC_URL).
  • XFUEL_PAYER_PRIVATE_KEYFunded payer private key that enables the pay_with_usdc tool. Moves USDC — keep secret; use a low-balance wallet.

Pricing

Open source

XFuel FAQ

Is XFuel free?

Yes. XFuel is open source, so you can use and self-host it for free.

How do I add XFuel to Claude Code?

Run this command in your terminal: claude mcp add xfuel-mcp --env XFUEL_API_KEY='<XFUEL_API_KEY>' --env XFUEL_MCP_AUTH_TOKEN='<XFUEL_MCP_AUTH_TOKEN>' --env XFUEL_PAYER_PRIVATE_KEY='<XFUEL_PAYER_PRIVATE_KEY>' -- npx -y xfuel-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers