
mcp bitcoin server
A Model Context Protocol (MCP) server that enables AI agents to interact with a Bitcoin wallet.
Repository Info
About This Server
A Model Context Protocol (MCP) server that enables AI agents to interact with a Bitcoin wallet.
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Bitcoin Wallet MCP Server
A Model Context Protocol (MCP) server that enables AI agents to interact with a Bitcoin wallet.
Features
get_address: Display a Bitcoin address to receive a paymentget_balance: Display the current balance of the walletsend_transaction: Send a transaction to a specific address
Setup
- Install dependencies:
pnpm install
- Set environment variables:
export WALLET_PASSWORD="your-secure-password"
- Build the project:
pnpm build
- Run the server:
pnpm start
Development
- Run in development mode with the MCP CLI:
pnpm dev
- Run with the MCP Inspector:
pnpm inspect
Architecture
This is a simple SPV (Simplified Payment Verification) Bitcoin wallet that:
- Stores a single private key encrypted in the OS keychain
- Uses the password from WALLET_PASSWORD env var for key encryption
- Follows a stateless-ready architecture where all network data is fetched on-demand
Security Notes
- The wallet password must be provided via environment variable
- The private key is stored encrypted in the OS keychain
- Never logs sensitive information like private keys or mnemonics
- All operations are performed in memory and cleaned up after use
Quick Start
Clone the repository
git clone https://github.com/cabriola/mcp-bitcoin-serverInstall dependencies
cd mcp-bitcoin-server
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.