MCP Server
MCP
XFuel
Submit AI inference to XFuel, pay per task (USDC via x402 or TFUEL), fetch/verify ZK proofs.
Install
npx -y [email protected]
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"identifier": "xfuel-mcp",
"version": "0.1.1",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "XFuel API base URL. Defaults to the hosted testnet demo.",
"format": "string",
"default": "https://api-testnet.xfuel.app",
"name": "XFUEL_API_URL"
},
{
"description": "API key sent as X-API-Key. Defaults to the shared public demo key.",
"format": "string",
"isSecret": true,
"default": "xfuel-demo",
"name": "XFUEL_API_KEY"
},
{
"description": "Optional bearer token required on the HTTP transport (Authorization: Bearer <token>).",
"format": "string",
"isSecret": true,
"name": "XFUEL_MCP_AUTH_TOKEN"
},
{
"description": "Theta RPC URL enabling verify_proof's optional on-chain nullifier read.",
"format": "string",
"name": "XFUEL_RPC_URL"
},
{
"description": "ZKVerifierSP1 contract address (paired with XFUEL_RPC_URL).",
"format": "string",
"name": "ZK_VERIFIER_ADDRESS"
},
{
"description": "Funded payer private key that enables the pay_with_usdc tool. Moves USDC — keep secret; use a low-balance wallet.",
"format": "string",
"isSecret": true,
"name": "XFUEL_PAYER_PRIVATE_KEY"
}
]
}
]
}
mcp
model-context-protocol
npm
By
Comments
Sign in to leave a comment