
MCP-Server-bitcoin-Wallet
MCP服务器允许AI代理发送和接收比特币付款。
2
Github Watches
0
Github Forks
0
Github Stars
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 payment -
get_balance
: Display the current balance of the wallet -
send_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
相关推荐
Confidential guide on numerology and astrology, based of GG33 Public information
Take an adjectivised noun, and create images making it progressively more adjective!
Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease
Reviews

user_ySbcQe44
The mcp-server-bitcoin-wallet by marcopesani is an outstanding tool for anyone handling cryptocurrencies. Its seamless integration and efficient performance make managing Bitcoin transactions a breeze. Highly recommend for anyone in need of a reliable Bitcoin wallet solution. Check it out on GitHub: https://github.com/marcopesani/mcp-server-bitcoin-wallet.