loading…
Search for a command to run...
loading…
Enables AI agents to perform Bitcoin and Lightning Network payments using a non-custodial, zero-trust architecture. It provides 13 tools for wallet management,
Enables AI agents to perform Bitcoin and Lightning Network payments using a non-custodial, zero-trust architecture. It provides 13 tools for wallet management, invoice creation, and payment processing while keeping node credentials local to the user's machine.
BYON (Bring Your Own Node) Bitcoin payments for AI agents via Model Context Protocol
The world's first Bitcoin/Lightning MCP server. Your Lightning node credentials never leave your machine. Works with Claude Desktop, OpenClaw, and any MCP-compatible AI tool.
[email protected]npx agentbtc-mcp start
npm install -g agentbtc-mcp
agentbtc-mcp start
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"agentbtc": {
"command": "npx",
"args": ["-y", "agentbtc-mcp", "start"],
"env": {
"AGENTBTC_LND_HOST": "your-node:8080",
"AGENTBTC_LND_MACAROON": "/path/to/readonly.macaroon",
"AGENTBTC_API_URL": "https://agentbtc.io",
"AGENTBTC_API_KEY": "your-api-key"
}
}
}
}
| Tool | Description |
|---|---|
list_agent_wallets |
List all agent wallets |
get_agent_balance |
Check wallet balance |
create_agent_wallet |
Create a new agent wallet |
delete_agent_wallet |
Remove an agent wallet |
get_node_info |
Lightning node status |
create_lightning_invoice |
Generate payment requests |
pay_lightning_invoice |
Send Lightning payments |
send_to_lightning_address |
Pay Lightning addresses |
decode_invoice |
Decode BOLT11 invoices |
check_channel_balance |
Channel liquidity info |
list_channels |
List Lightning channels |
get_transaction_history |
Payment history |
access_l402_api |
Access L402-protected APIs |
| Variable | Required | Description |
|---|---|---|
AGENTBTC_LND_HOST |
Yes | LND REST API endpoint (e.g., localhost:8080) |
AGENTBTC_LND_MACAROON |
Yes | Path to LND macaroon file |
AGENTBTC_API_URL |
No | AgentBTC server URL (default: http://localhost:8000) |
AGENTBTC_API_KEY |
No | Your owner API key for wallet management |
agentbtc-mcp start # Start MCP server
agentbtc-mcp setup # Interactive Claude Desktop setup
agentbtc-mcp test # Test Lightning node connection
agentbtc-mcp config # Show current configuration
agentbtc-mcp version # Show version
AgentBTC uses a BYON (Bring Your Own Node) architecture:
# Test with testnet
export AGENTBTC_LND_HOST=your-testnet-node:8080
export AGENTBTC_LND_MACAROON=/path/to/testnet/readonly.macaroon
agentbtc-mcp test
"Connection refused"
AGENTBTC_LND_HOST — usually localhost:8080 for LND RESTyour-node.t.voltageapp.io:8080"Permission denied"
readonly.macaroon for safety"Invalid macaroon"
MIT — see LICENSE.
Built by BK Block Solutions ⚡
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"agentbtc-mcp-server": {
"command": "npx",
"args": []
}
}
}