XFuel for VS Code
io.github.xfuel-lab/xfuel-mcp
Submit AI inference to XFuel, pay per task (USDC via x402 or TFUEL), fetch/verify ZK proofs.
client:VS Code
transport:stdio
runtime:npm
Install XFuel in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "xfuel-api-url",
"description": "XFUEL_API_URL",
"password": true
},
{
"type": "promptString",
"id": "xfuel-api-key",
"description": "XFUEL_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "xfuel-mcp-auth-token",
"description": "XFUEL_MCP_AUTH_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "xfuel-rpc-url",
"description": "XFUEL_RPC_URL",
"password": true
},
{
"type": "promptString",
"id": "zk-verifier-address",
"description": "ZK_VERIFIER_ADDRESS",
"password": true
},
{
"type": "promptString",
"id": "xfuel-payer-private-key",
"description": "XFUEL_PAYER_PRIVATE_KEY",
"password": true
}
],
"servers": {
"xfuel-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"xfuel-mcp"
],
"env": {
"XFUEL_API_URL": "${input:xfuel-api-url}",
"XFUEL_API_KEY": "${input:xfuel-api-key}",
"XFUEL_MCP_AUTH_TOKEN": "${input:xfuel-mcp-auth-token}",
"XFUEL_RPC_URL": "${input:xfuel-rpc-url}",
"ZK_VERIFIER_ADDRESS": "${input:zk-verifier-address}",
"XFUEL_PAYER_PRIVATE_KEY": "${input:xfuel-payer-private-key}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs