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_balanceC

Get Bitcoin balance for an agent wallet

list_agent_walletsB

List all agent wallets with their balances and status (agent key: own wallet only)

create_agent_walletA

Create a new Bitcoin wallet for an AI agent (owner access required)

create_lightning_invoiceC

Create a Lightning Network invoice to receive Bitcoin payments

pay_lightning_invoiceB

Pay a Lightning Network invoice using agent wallet funds

access_l402_apiC

Access an L402-protected API endpoint with automatic Lightning payment

get_node_infoB

Get Lightning node connection status and info

get_transaction_historyC

Get recent Lightning payment history

check_channel_balanceB

Check available Lightning channel balance (outbound and inbound liquidity)

delete_agent_walletB

Delete an agent wallet by name or ID (owner access required)

send_to_lightning_addressB

Send sats to a Lightning address (user@domain.com) using LNURL-pay protocol

decode_invoiceA

Decode a Lightning invoice to inspect amount, expiry, destination before paying

list_channelsA

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