Back to MCP directory
publicPublicdnsLocal runtime

bsv-mcp

Bitcoin SV MCP Server是一个实验性的比特币SV工具集,为Model Context Protocol框架提供钱包、Ordinals和区块链交互功能。该项目处于早期开发阶段,包含丰富的BSV工具、教育资源及区块链浏览器功能,支持与多种AI客户端集成。

article

README

🚀 Bitcoin SV 网络协议 (BSV)

Bitcoin SV 是比特币的原始版本,它严格遵循中本聪的设计理念,致力于保留比特币作为货币的核心功能。本项目的 BSV 网络协议文档详细介绍了协议细节、交易结构以及网络节点的操作规范。

🚀 快速开始

你可以通过以下步骤快速上手 BSV 网络协议项目:

  1. 克隆仓库
git clone https://github.com/b-open-io/bsv-mcp.git
cd bsv-mcp
  1. 安装依赖项
bun install
# 或使用 npm
npm install
  1. 运行服务器
bun run index.ts
# 或使用 npm
npm run start

✨ 主要特性

  • 完整的比特币设计:严格遵守中本聪的白皮书,确保了项目的纯正性和权威性。
  • 增强的功能支持:涵盖了原始比特币的所有特性,如脚本系统和 Merkel 区块树,为用户提供了丰富的功能体验。
  • 性能优化:针对大规模区块链应用进行了优化,能够更好地应对高并发和大数据量的场景。

💻 使用示例

基础用法

以下是一些常见操作的示例:

  1. 创建新的 Bitcoin SV 账户
bsvaccount create --network mainnet
  1. 连接到 BSV 网络
bsvenode connect --network testnet
  1. 生成新交易
bsvenode generate-transaction --from 0 --to 1ExampleBsvAddressXXXXXXXX --amount 0.5
  1. 验证交易签名
bsvutil verify-signature --tx-hash a1b2c3d4e5f6...

📦 安装指南

要参与开发或本地运行该项目,你需要进行以下操作:

  1. 克隆仓库
git clone https://github.com/b-open-io/bsv-mcp.git
cd bsv-mcp
  1. 安装依赖项
bun install
# 或使用 npm
npm install

运行服务器

bun run index.ts
# 或使用 npm
npm run start

测试运行

bun test
# 或使用 npm
npm test

📄 许可证

该项目在 MIT 许可证下开源,详情请参阅 LICENSE 文件。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client