Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AGENTBTC_API_KEYNoYour owner API key for wallet management
AGENTBTC_API_URLNoAgentBTC server URL (default: http://localhost:8000)http://localhost:8000
AGENTBTC_LND_HOSTYesLND REST API endpoint (e.g., localhost:8080)
AGENTBTC_LND_MACAROONYesPath to LND macaroon file

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bkblocksolutions-rgb/agentbtc-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server