Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AGENTICBTC_API_KEYYesOwner API key required for authenticated tools
AGENTICBTC_API_URLNoHosted or self-hosted AgenticBTC APIhttps://agenticbtc.app
AGENTICBTC_LND_HOSTNoOptional LND REST host
AGENTICBTC_LND_MACAROONNoOptional LND macaroon

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_agent_balanceB

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_walletB

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

create_lightning_invoiceB

Create a Lightning Network invoice to receive Bitcoin payments

pay_lightning_invoiceA

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_historyB

Get recent Lightning payment history

check_channel_balanceB

Check available Lightning channel balance (outbound and inbound liquidity)

delete_agent_walletA

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

send_to_lightning_addressA

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

send_paymentB

Send a payment to any recipient. Automatically detects recipient type: BOLT11 Lightning invoice (lnbc.../lntb...), Lightning address (user@domain.com), Strike handle ($username), or on-chain Bitcoin address (bc1.../1.../3...). Routes through the optimal payment rail.

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

setup_check_statusA

Check current AgenticBTC configuration status. Returns what's configured, what's missing, and the recommended next step.

setup_configure_lightningA

Configure Lightning node connection. Accepts lndconnect URL or host + macaroon. Validates before saving.

setup_test_payment_capabilitiesB

Test that AgenticBTC payments work end to end. Checks API, Lightning, channels, and liquidity.

setup_diagnose_issuesA

Diagnose AgenticBTC configuration problems. Returns specific error messages with fix instructions.

setup_create_first_walletB

Create the user's first agent wallet with sensible defaults (1000 sat per-tx limit, 10000 sat daily budget).

setup_get_onboarding_promptA

Returns a conversational prompt the AI should use to guide the user through AgenticBTC setup step by step.

setup_validate_credentialsA

Validate API key and Lightning credentials without making any payments.

setup_complete_onboardingB

Mark onboarding as complete. Returns a summary of everything that was configured.

post_tweetA

Post a tweet from @agentbtcio. Use for announcing launches, updates, or responding to relevant discussions. Keep under 280 chars.

get_mentionsA

Get recent @mentions and replies to @agentbtcio. Use to monitor engagement and find conversations to join.

search_xA

Search recent X posts by keyword. Use to find conversations about AI agents, Lightning Network, Bitcoin payments, or AgenticBTC.

get_own_timelineA

Get recent tweets posted by @agentbtcio. Use to review posting history before drafting new content.

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/agenticbtc-mcp'

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