MCP Server of FluxA AI Wallet
README
MCP server for FluxA AI Wallet with x402 (EIP-3009 exact) payment support.
This repository contains two packages:
| Package | Description | Install |
|---------|-------------|---------|
| @fluxa-pay/fluxa-wallet-mcp | MCP server for AI agent frameworks (Claude Desktop, etc.) | npm install @fluxa-pay/fluxa-wallet-mcp |
| @fluxa-pay/fluxa-wallet | Standalone CLI for scripts and automation | npm install -g @fluxa-pay/fluxa-wallet |
This MCP server enables AI agents to make x402 payments using the FluxA Wallet API. It provides a simple interface for agents to register, authenticate, and execute blockchain payments without managing private keys locally.
npm install -g @fluxa-pay/fluxa-wallet
fluxa-wallet status
npm install
npm run build
npm start
npm run dev
# Build MCP server only
npm run build
# Build CLI bundle only
npm run build:wallet
# Build both
npm run build:all
The server stores configuration in ~/.fluxa-ai-wallet-mcp/config.json by default.
You can override the data directory:
export FLUXA_DATA_DIR=/path/to/custom/dir
There are two methods to configure Agent ID via environment variables:
**Method 1: Use existing credentials (highest priorit