Gives AI agents a Bitcoin Lightning wallet with budget controls and support for L402 and x402 paid APIs.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add lightning-wallet -- npx -y lightning-wallet-mcp~/.codex/config.toml
[mcp_servers.lightning-wallet]
command = "npx"
args = ["-y", "lightning-wallet-mcp"]
# codex mcp add lightning-wallet -- npx -y lightning-wallet-mcp~/.cursor/mcp.json
{
"mcpServers": {
"lightning-wallet": {
"command": "npx",
"args": [
"-y",
"lightning-wallet-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"lightning-wallet": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"lightning-wallet-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"lightning-wallet": {
"command": "npx",
"args": [
"-y",
"lightning-wallet-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"lightning-wallet": {
"command": "npx",
"args": [
"-y",
"lightning-wallet-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"lightning-wallet": {
"command": "npx",
"args": [
"-y",
"lightning-wallet-mcp"
]
}
}
}