Bitcoin SV Walletのロゴ

Bitcoin SV Wallet

組織
opldotdev

An MCP Server for Bitcoin SV

公開者opldotdev
リポジトリbsv-mcp
言語TypeScript
フォーク
8
スター
22
利用可能なツール
0
通信方式stdio
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    Bitcoin SV Walletは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには22件のスターと8件のフォークがあります。

BSV MCP

BSV MCP connects your AI assistant to Bitcoin SV. Ask it to check a transaction, show your balance, send a payment, or create and trade ordinals (content recorded on the blockchain).

Documentation · All tools · npm · Issues

Install

Install Bun to run the server and Node.js for the npx commands below, then add it to your client:

sh
# Codex
codex mcp add bsv-mcp -- npx -y bsv-mcp@latest --stdio

# Claude Code
claude mcp add --transport stdio bsv-mcp -- npx -y bsv-mcp@latest --stdio

# Grok Build
grok plugin install b-open-io/bsv-mcp --trust

Choose one command. For Cursor or Claude Desktop, use this server configuration:

json
{
  "mcpServers": {
    "bsv-mcp": {
      "command": "npx",
      "args": ["-y", "bsv-mcp@latest", "--stdio"]
    }
  }
}

Restart your client, then ask: “Run bsv_status and explain what is available.” Local stdio needs no Sigma account or OAuth sign-in. It is also the default when no transport is specified. Existing self-hosted HTTP remains opt-in through TRANSPORT=http; the deployed hosted endpoint is unchanged.

For the Codex desktop plugin, add b-open-io/claude-plugins in the plugin marketplace and install BSV MCP. The plugin starts the local npm executable and requires Node.js and Bun. Claude Code and Grok plugins bundle the local server and require Bun. Choose one registration to avoid duplicate tools.

Connect a wallet

Ask your assistant to run wallet_onboarding. Create, import or unlock a Vault in the local browser. Back it up before funding. Enter passwords only in the local setup UI, never in chat. After a server restart, unlock it again.

To use an existing BRC-100 wallet, configure its signing API instead:

json
{
  "mcpServers": {
    "bsv-mcp": {
      "command": "npx",
      "args": ["-y", "bsv-mcp@latest", "--stdio"],
      "env": {
        "BRC100_WALLET_URL": "http://127.0.0.1:3321",
        "BRC100_WALLET_ORIGINATOR": "bsv-mcp.local"
      }
    }
  }
}

The wallet keeps its keys and controls permission requests. Its signing API is separate from a wallet-storage endpoint. See wallet setup for network settings, account selection and project roles.

The package also includes the Bun-based bsv-mcp-local launcher for explicit external, legacy embedded and project configurations. Source-checkout examples live in the installation guide.

MCP protocol compatibility

Protocol revision 2026-07-28 is preferred, with supported 2025 clients accepted automatically on stdio and HTTP. No compatibility override is needed. Set MCP_LEGACY_COMPATIBILITY=false only to require modern clients. This setting also passes through the local launcher. The installed desktop client was verified using legacy requests; modern support is tested separately.

Modern clients support wallet operations and request-scoped approval. Approval continuations retain the original operation and bind to its authenticated user, arguments, and expiry. Decline, cancellation, or session revocation stops the operation; replaying a continuation does not repeat a transaction. A client without form elicitation cannot approve a spend. External wallets retain their own signer permission flow. The hosted route exposes public reads only.

For the split SDK v2 client:

ts
const client = new Client(
  { name: "my-app", version: "1" },
  { versionNegotiation: { mode: "auto" }, capabilities: { elicitation: { form: {} } } },
);

Register a real human approval handler before using approval-dependent tools. Legacy protocol compatibility is enabled by default; the connected client must support the approval flow needed by the requested tool.

The full tool catalog remains the default and is capability-derived: wallet mode, enabled modules, account context, and the selected profile determine what tools/list returns. The checked-in manifest is a synthetic baseline for one configured server, not a promise of a fixed default count. Set MCP_TOOL_CATALOG=compact only to opt into bounded read families; compact mode uses the same underlying handlers. Tool availability still depends on wallet mode and enabled modules. Its baseline read families are bsv_read, ordinals_read, wallet_read, and utility, each with a bounded operation enum; unknown operations are rejected. Eligible sessions also expose separate mutating wallet_setup and wallet_payments families. See the MCP client protocol support guide for the per-family operation bounds, endpoint contracts, MCP Apps compatibility, and validation status.

Social

Two tools cover social operations in both full and compact catalogs:

  • bsocial_read: posts, replies, search, likes, friends, channels, messages, videos, and raw action history.
  • bsocial_publish: posts/replies, reposts, likes/unlikes, follows/unfollows, friend/unfriend records, messages, and video records. Tags and attachments use separate, independently signed outputs.
json
{"action":{"type":"post","content":"Hello Bitcoin","tags":["bitcoin"]},"preview":true}

Preview returns unsigned outputs without using keys or spending. Remove preview to publish through the selected identity wallet's existing permissions. Messages are public unless their content was encrypted beforehand; a recipient context does not encrypt them. Friend records advertise a communication public key from an established key-agreement workflow.

See the social guide for examples and migration from the old tool names. PUBLIC_BMAP_URL is the indexer server root (with /social and /q routes), not a wallet or identity API. Raw follow/unfollow records are event history, not a claim about current relationship state.

Local wallet modes

External mode connects to an existing BRC-100 signer. The signer keeps the private keys, wallet storage, and permission decisions; BSV MCP receives only the SDK signer interface. Embedded mode uses an encrypted local Vault wallet. The wallet-ready screen displays an interactive cloud of the connected session’s available tools, generated from its live catalog.

When setup is needed, wallet_onboarding opens the private browser flow to create, import, or unlock it. The selected account's database and storage configuration remain in use. The launcher's existing-account embedded mode still supplies BSV_MCP_PASSWORD at runtime. Project mode opens every explicitly assigned role: payments, identity-signing, one-sat, and encryption. It requires paired project selectors and BSV_MCP_PASSWORD at runtime; set VAULT_PATH when the Vault module does not provide a default path. Bindings pin the selected public key and support direct keys, BRC-42 children, and BRC-157/Yours profile leaves. Changing the project binding or expiring its session revokes captured handles. Derived keys have separate storage; selecting the account's payment root keeps its existing database and deposit prefix.

BRC-100 tools accept walletRole (payments, identity, ordinals, or encryption). Method defaults select the matching role, and sign/abort action continuations retain their originating wallet and authenticated user. An unassigned role fails rather than borrowing another key. BAP tools use the identity wallet for publication, rotation, attestations, and profiles without exporting an xprv. That wallet also funds those transactions and retains BAP records. Signed BSocial posts and SIGMA inscriptions use the configured identity.

External registrations can use the same project root/ID pair to derive an isolated permission origin, without a Vault password. Optional BRC100_WALLET_PUBLIC_KEY pins the signer identity. BRC100_WALLET_ROLES is a JSON object selecting independent role endpoints and public-key pins; see external signer configuration. The source launcher accepts external --project-root /absolute/project --project-id project.example. It defaults to disabled broadcasting; set DISABLE_BROADCASTING=false in its runtime environment to enable transaction tools with the signer's approval.

Each mode has its own process environment and should be registered as a separate server when you need to switch between them. Use only the registrations needed by the project.

Embedded wallets can list pending PeerPay payments and receive a selected payment with wallet_peerPayments. Receiving requires a message ID and acknowledges the message only after the wallet accepts it. These operations do not pay MessageBox service fees. External signers and Droplit do not expose this tool. Project sessions require an assigned payment role.

Find a skill

Use utils_find_skills with a short keyword query to find skills in the bOpen catalog. It returns up to five descriptions and links to versioned SKILL.md files. It does not download skill contents or install plugins. In compact mode, select utils_find_skills from the utility tool.

The static tutorial prompts and BRC/BitCom resource catalog have been retired. Use the skill finder for those references. Changelog, JungleBus documentation, and the dashboard app resource remain available.

Bring your wallet and infrastructure

Connect a compatible existing wallet with BRC100_WALLET_URL, or use the local Vault browser setup (wallet_onboarding). BSV_MCP_PASSWORD is only for headless agents: set it in the process environment for that session, never in MCP client configuration. PRIVATE_KEY_WIF and IDENTITY_KEY_WIF are migration sources, not live signing keys; import them into Vault and remove the plaintext copies. Startup never creates keys. See the wallet setup guide for the required wallet API and configuration.

The default 1Sat API backend is https://api.1sat.app. New mainnet embedded accounts use https://wallet.1sat.app for wallet storage by default; testnet accounts do not select a remote storage provider unless configured. Override ONESAT_API_URL for API services and REMOTE_STORAGE_URL for wallet storage; these are separate settings. Available tools depend on wallet mode and enabled modules.

Development

sh
bun install
bun run dev          # Website
bun run build:all    # MCP server and dashboard
# Supply BRC100_WALLET_URL in the host environment before this launch.
bun --no-env-file scripts/local-mcp-launcher.ts external # Source-checkout local launch
bun test

Experimental software; APIs may change. Keep a wallet backup. If a transaction request times out, check whether it succeeded before sending it again. MIT licensed.

Preparing a release package

package.json "files" is the tarball. prepack runs bun run build:all. Publish with bun publish. Compile-time libraries are devDependencies; consumers get the bundled dist/ files, not a second copy of the source tree.

インストール

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "Bitcoin SV": {
      "command": "npx",
      "args": [
        "bsv-mcp@latest"
      ],
      "env": {
        "PRIVATE_KEY_WIF": "<your_private_key_wif>",
        "IDENTITY_KEY_WIF": "<your_identity_key_wif>"
      }
    }
  }
}

Bitcoin SV WalletのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Bitcoin SV Walletに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Bitcoin SV Walletをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. Bitcoin SV WalletのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "bitcoin-sv-wallet": {
      "command": "npx",
      "args": [
        "-y",
        "bsv-mcp"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてBitcoin SV WalletのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. Bitcoin SV WalletのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Bitcoin SV Walletを使ってこのタスクを手伝ってもらえますか?
Bitcoin SV Wallet
はい、読みました。
Bitcoin SV Walletで調べた結果をお伝えします。

よくある質問

Bitcoin SV Wallet MCPサーバーは何に使いますか?

Bitcoin SV Walletは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでBitcoin SV Wallet MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでBitcoin SV Walletを利用できます。

TypingMindでBitcoin SV Wallet MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Bitcoin SV Walletを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Bitcoin SV Wallet MCPをTypingMindに接続するにはどうすればよいですか?

Bitcoin SV WalletはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでBitcoin SV Wallet MCPのどのようなツールを利用できますか?

Bitcoin SV WalletはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Bitcoin SV Wallet MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Bitcoin SV Walletで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇