AgenticBTC MCP
AgenticBTC MCP
管理 AI 代理如何付款和收款。
AgenticBTC 将兼容 MCP 的代理连接到所有者控制的策略、付款、应收账款、路由和可验证的交易证据。所有者保留对凭证和资金的掌控。
先安全试用
支付防火墙测试无需账户、钱包、签名器或支付凭证。它会评估提供的 x402 或 MCP 支付请求,并返回允许或阻止决定以及可下载的证据收据。它不会转移资金。
Related MCP server: ows-mcp-wallet
要求
Node.js 18 或更高版本
一个免费的 AgenticBTC 所有者账户和用于托管工具的 API 密钥
一个兼容 MCP 的客户端,例如 OpenClaw 或 Claude Desktop
仅在您准备好执行真实支付时才需要连接支付通道
无需账户即可安装和验证
npx agenticbtc-mcp@latest doctordoctor 会检查 Node.js 和公共 AgenticBTC API。它不使用任何凭证、钱包、支付通道或资金。
连接您的代理
npx agenticbtc-mcp@latest start引导式设置会在询问 API 密钥之前显示账户创建 URL。如果您在没有密钥的情况下退出,它不会进行任何配置更改。
手动 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"
}
}
}
}请勿提交 API 密钥、钱包凭证、macaroon 或私钥。
哪些功能需要账户
公共支付防火墙测试:无需账户,免费,无需资金
doctor和帮助:无需账户,免费,无需资金已保存的策略、作用域代理密钥、托管收据和已连接的 AgenticBTC 工具:需要免费账户和 API 密钥
真实支付:需要已配置的所有者控制通道和可用资金
安装此软件包不会授予对他人资金的访问权限,也不会创建或注资钱包。
可选的 Lightning 配置
Lightning 是可选的。对于兼容 LND 的节点,请使用限定为您打算允许的操作的凭证设置 AGENTICBTC_LND_HOST 和 AGENTICBTC_LND_MACAROON。
环境变量
变量 | 用途 | 默认值 |
| 托管或自托管的 AgenticBTC API |
|
| 所有者 API 密钥 | 认证工具必需 |
| 可选的 LND REST 主机 | 未设置 |
| 可选的 LND macaroon | 未设置 |
为兼容性考虑,旧的 AGENTBTC_* 变量名仍然被接受。新设置应使用 AGENTICBTC_*。
开发
npm install
npm testbin/agentbtc.js CLI setup, status, and server launcher
src/server.js MCP server implementation
package.json npm package metadata安全与支持
安全敏感报告:
support@agenticbtc.io
许可证
MIT。参见 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