Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AGENTBTC_API_KEY | No | Your owner API key for wallet management | |
| AGENTBTC_API_URL | No | AgentBTC server URL (default: http://localhost:8000) | http://localhost:8000 |
| AGENTBTC_LND_HOST | Yes | LND REST API endpoint (e.g., localhost:8080) | |
| AGENTBTC_LND_MACAROON | Yes | Path to LND macaroon file |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_agent_balance | Get Bitcoin balance for an agent wallet |
| list_agent_wallets | List all agent wallets with their balances and status (agent key: own wallet only) |
| create_agent_wallet | Create a new Bitcoin wallet for an AI agent (owner access required) |
| create_lightning_invoice | Create a Lightning Network invoice to receive Bitcoin payments |
| pay_lightning_invoice | Pay a Lightning Network invoice using agent wallet funds |
| access_l402_api | Access an L402-protected API endpoint with automatic Lightning payment |
| get_node_info | Get Lightning node connection status and info |
| get_transaction_history | Get recent Lightning payment history |
| check_channel_balance | Check available Lightning channel balance (outbound and inbound liquidity) |
| delete_agent_wallet | Delete an agent wallet by name or ID (owner access required) |
| send_to_lightning_address | Send sats to a Lightning address (user@domain.com) using LNURL-pay protocol |
| decode_invoice | Decode a Lightning invoice to inspect amount, expiry, destination before paying |
| list_channels | List all Lightning channels with capacity, balance, and peer info |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |