AgenticBTC MCP
AgenticBTC MCP
Controla cómo los agentes de IA pagan y cobran.
AgenticBTC conecta agentes compatibles con MCP a políticas controladas por el propietario, pagos, cuentas por cobrar, enrutamiento y evidencia de transacciones verificable. Los propietarios mantienen el control de las credenciales y los fondos.
Pruébalo de forma segura primero
La prueba de Firewall de Pagos no requiere cuenta, billetera, firmante ni credenciales de pago. Evalúa una solicitud de pago x402 o MCP proporcionada y devuelve una decisión de permitir o bloquear, además de un recibo de evidencia descargable. No mueve fondos.
Related MCP server: ows-mcp-wallet
Requisitos
Node.js 18 o más reciente
Una cuenta de propietario gratuita de AgenticBTC y una clave de API para las herramientas alojadas
Un cliente compatible con MCP como OpenClaw o Claude Desktop
Una vía de pago conectada solo cuando estés listo para ejecutar pagos reales
Instala y verifica sin cuenta
npx agenticbtc-mcp@latest doctordoctor comprueba Node.js y la API pública de AgenticBTC. No utiliza credenciales, billetera, vía de pago ni fondos.
Conecta tu agente
npx agenticbtc-mcp@latest startLa configuración guiada muestra la URL de creación de cuenta antes de pedir una clave de API. Si sales sin una clave, no realiza ningún cambio de configuración.
Configuración manual de MCP
{
"mcpServers": {
"agenticbtc": {
"command": "npx",
"args": ["-y", "agenticbtc-mcp@latest", "server"],
"env": {
"AGENTICBTC_API_URL": "https://agenticbtc.app",
"AGENTICBTC_API_KEY": "your-owner-api-key"
}
}
}
}No comprometas claves de API, credenciales de billetera, macaroons ni claves privadas.
Qué requiere una cuenta
Prueba pública de Firewall de Pagos: sin cuenta, gratuita, sin fondos
doctory ayuda: sin cuenta, gratuitos, sin fondosPolíticas guardadas, claves de agente con alcance, recibos alojados y herramientas de AgenticBTC conectadas: se requiere cuenta gratuita y clave de API
Pagos reales: se requiere vía de pago configurada controlada por el propietario y fondos disponibles
Instalar este paquete no otorga acceso a los fondos de nadie más y no crea ni financia una billetera.
Configuración opcional de Lightning
Lightning es opcional. Para un nodo compatible con LND, establece AGENTICBTC_LND_HOST y AGENTICBTC_LND_MACAROON usando credenciales con alcance a las acciones que pretendes permitir.
Variables de entorno
Variable | Propósito | Valor predeterminado |
| API de AgenticBTC alojada o autoalojada |
|
| Clave de API del propietario | Requerida para herramientas autenticadas |
| Host REST de LND opcional | Sin establecer |
| Macaroon de LND opcional | Sin establecer |
Los nombres de variables heredados AGENTBTC_* siguen siendo aceptados por compatibilidad. Las nuevas configuraciones deben usar AGENTICBTC_*.
Desarrollo
npm install
npm testbin/agentbtc.js CLI setup, status, and server launcher
src/server.js MCP server implementation
package.json npm package metadataSeguridad y soporte
Informes sensibles a la seguridad:
support@agenticbtc.ioDocumentación: agenticbtc.io/docs
Problemas: GitHub Issues
Licencia
MIT. Consulta LICENSE.
Available Tools
26 toolsaccess_l402_apiC
Access an L402-protected API endpoint with automatic Lightning payment
Inputs: endpoint (required), symbol.
check_channel_balanceB
Check available Lightning channel balance (outbound and inbound liquidity)
Inputs: no named parameters.
create_agent_walletB
Create a new Bitcoin wallet for an AI agent (owner access required)
Inputs: agent_name (required).
create_lightning_invoiceB
Create a Lightning Network invoice to receive Bitcoin payments
Inputs: amount_sats (required), agent, description.
decode_invoiceA
Decode a Lightning invoice to inspect amount, expiry, destination before paying
Inputs: invoice (required).
delete_agent_walletA
Delete an agent wallet by name or ID (owner access required)
Inputs: agent (required).
get_agent_balanceB
Get Bitcoin balance for an agent wallet
Inputs: agent_id (required).
get_mentionsA
Get recent @mentions and replies to @agentbtcio. Use to monitor engagement and find conversations to join.
Inputs: limit.
get_node_infoB
Get Lightning node connection status and info
Inputs: no named parameters.
get_own_timelineA
Get recent tweets posted by @agentbtcio. Use to review posting history before drafting new content.
Inputs: limit.
get_transaction_historyB
Get recent Lightning payment history
Inputs: max_payments.
list_agent_walletsB
List all agent wallets with their balances and status (agent key: own wallet only)
Inputs: no named parameters.
list_channelsA
List all Lightning channels with capacity, balance, and peer info
Inputs: no named parameters.
pay_lightning_invoiceA
Pay a Lightning Network invoice using agent wallet funds
Inputs: invoice (required), agent, fee_limit_sats.
post_tweetA
Post a tweet from @agentbtcio. Use for announcing launches, updates, or responding to relevant discussions. Keep under 280 chars.
Inputs: text (required), reply_to_tweet_id.
search_xA
Search recent X posts by keyword. Use to find conversations about AI agents, Lightning Network, Bitcoin payments, or AgenticBTC.
Inputs: query (required), limit.
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.
Inputs: recipient (required), memo, agent, amount_usd, +1 more.
send_to_lightning_addressA
Send sats to a Lightning address (user@domain.com) using LNURL-pay protocol
Inputs: address (required), amount_sats (required), agent, comment.
setup_check_statusA
Check current AgenticBTC configuration status. Returns what's configured, what's missing, and the recommended next step.
Inputs: no named parameters.
setup_complete_onboardingB
Mark onboarding as complete. Returns a summary of everything that was configured.
Inputs: no named parameters.
setup_configure_lightningA
Configure Lightning node connection. Accepts lndconnect URL or host + macaroon. Validates before saving.
Inputs: host, macaroon, lndconnect_url.
setup_create_first_walletB
Create the user's first agent wallet with sensible defaults (1000 sat per-tx limit, 10000 sat daily budget).
Inputs: wallet_name.
setup_diagnose_issuesA
Diagnose AgenticBTC configuration problems. Returns specific error messages with fix instructions.
Inputs: no named parameters.
setup_get_onboarding_promptA
Returns a conversational prompt the AI should use to guide the user through AgenticBTC setup step by step.
Inputs: no named parameters.
setup_test_payment_capabilitiesB
Test that AgenticBTC payments work end to end. Checks API, Lightning, channels, and liquidity.
Inputs: no named parameters.
setup_validate_credentialsA
Validate API key and Lightning credentials without making any payments.
Inputs: api_key, lnd_host, lnd_macaroon.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 26 tools
Each tool targets a distinct operation, with clear separation between payment methods (pay_lightning_invoice, send_to_lightning_address, send_payment), wallet management, channel operations, and social media actions. The setup tools are cleanly prefixed with 'setup_' to avoid confusion.
All tool names follow a consistent verb_noun pattern in snake_case (e.g., create_agent_wallet, post_tweet, get_mentions). Setup tools uniformly use the 'setup_' prefix, and social tools use common verbs like get, search, post.
26 tools is on the higher side but justified by the server's dual domain (Bitcoin/Lightning and X/Twitter). Each set of tools (setup, payments, wallet, social) has a purposeful number of endpoints. Slight overreach with 7 setup tools, but they streamline onboarding.
Covers the full lifecycle for wallet management, Lightning payments, and social media interaction. Includes onboarding, diagnostics, and testing. Minor gaps like replying to tweets or managing tweets beyond posting are absent but not critical for the core use case.
Maintenance
Related MCP Connectors
Give AI agents a wallet with a spending limit. Non-custodial USDC on Base, server-enforced limits.
Wallets and rails that let AI agents spend money safely.
Wallets and rails that let AI agents spend money safely.
Crypto wallet for AI agents: balances, payments, swaps and trading with owner controls.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI agents to manage USDC wallets on Solana, allowing them to send payments, create invoices, and access paid APIs within human-defined spending limits. It uses threshold signatures to provide agents with financial autonomy while ensuring secure oversight and transaction approval.36248 npm4Apache 2.0
- AlicenseAqualityDmaintenanceEnables AI agents to check balances and send transactions across multiple blockchains with automatic spending limit protection and policy enforcement.3MIT
- AlicenseAqualityDmaintenancePersistent memory and payment safety for AI agents on Lightning. Enables agents to remember purchases, track vendor reputations, enforce budgets, and share trust signals via Nostr.2212 PyPI9MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to make autonomous payments on Solana with on-chain enforced spending limits, preventing unauthorized fund drainage.1MIT