Loading...

Bitcoin MCP server enables AI models to interact with Bitcoin and Lightning Network for key management, blockchain queries, and transaction handling.
Boost this tool
Subscribe to listing upgrades or segmented pushes.
Bitcoin MCP server enables AI models to interact with Bitcoin and Lightning Network for key management, blockchain queries, and transaction handling.
This server provides both read and write capabilities related to Bitcoin and Lightning Network. While address validation and transaction decoding are relatively safe, the payment tool and key generation introduce risks if not handled securely. Use with caution, especially when dealing with real funds.
Performance depends on the speed of the Bitcoin network and the LNBits API. Blockchain queries can be slow, especially for older blocks. Consider caching frequently accessed data to improve response times.
Using the 'pay_invoice' tool incurs transaction fees on the Lightning Network. LNBits may also have its own fees or limitations. Blockchain queries are generally free but can be rate-limited.
npx -y"mcpServers"generate_key_pairGenerates a new Bitcoin key pair, including address, public key, and private key.
Private key generation requires secure handling to prevent theft.
validate_addressValidates the correctness of a Bitcoin address.
Read-only operation with no side effects.
decode_transactionParses a raw Bitcoin transaction and displays its details in a human-readable format.
Read-only operation; only decodes existing data.
get_latest_blockRetrieves details about the most recent block on the Bitcoin blockchain.
Read-only access to public blockchain data.
get_transaction_detailsFetches detailed information about a transaction using its TXID.
Read-only access to public blockchain data.
decode_invoiceParses a BOLT11 Lightning invoice and displays human-readable information.
Read-only operation; only decodes existing data.
pay_invoicePays a Lightning invoice directly from your LNBits wallet.
Allows spending funds, requiring careful authorization and control.
Environment Variable
hybrid
This server provides both read and write capabilities related to Bitcoin and Lightning Network. While address validation and transaction decoding are relatively safe, the payment tool and key generation introduce risks if not handled securely. Use with caution, especially when dealing with real funds.
The autonomy level depends on the configuration and the AI's programming. The 'pay_invoice' tool is particularly sensitive and requires careful control to prevent unintended financial actions. Consider implementing safeguards such as transaction limits and approval workflows.
Production Tip
Monitor LNBits wallet balance regularly to detect any unauthorized transactions.
It allows AI models to interact with the Bitcoin and Lightning Network, enabling them to perform tasks like generating keys, validating addresses, and making payments.
The security depends on how it's configured and used. The 'pay_invoice' tool is high-risk and requires careful control. Ensure LNBits credentials are kept secure.
LNBits is a Lightning Network wallet and API that this server uses to make payments. You'll need an LNBits wallet to use the 'pay_invoice' tool.
No, this server generates new key pairs or integrates with an LNBits wallet. It doesn't directly access existing Bitcoin wallets.
The main risk is unauthorized spending from your LNBits wallet if the AI is compromised or misconfigured. Set spending limits and monitor transactions closely.
You need to set the LNBits API key and URL as environment variables. Refer to the server's documentation for specific instructions.
The documentation does not explicitly mention testnet support. Check the server's configuration options or code to confirm.