Logo de Bitcoin SV Wallet

Bitcoin SV Wallet

Organização
opldotdev

An MCP Server for Bitcoin SV

Publicado poropldotdev
Repositóriobsv-mcp
IdiomaTypeScript
Forks
8
Estrelas
22
Ferramentas disponíveis
0
Tipo de transportestdio
Categorias
LicençaMIT
Links
  • Conecte ferramentas a fluxos de trabalho de IA

    Bitcoin SV Wallet disponibiliza recursos MCP que podem ser usados por clientes e agentes de IA compatíveis.

  • 0 ferramentas disponíveis

    Confira abaixo as ações que podem ser chamadas, incluindo nomes e descrições quando fornecidos pelo servidor.

  • Configuração pronta para copiar

    Use os exemplos de instalação para configurar este servidor no seu cliente MCP preferido.

  • Indicadores da comunidade de código aberto

    22 estrelas e 8 forks no repositório vinculado.

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.

Instalação

TypingMind
Pré-requisitos:

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>"
      }
    }
  }
}

Use o MCP de Bitcoin SV Wallet com vários modelos de IA

O TypingMind conecta as ferramentas MCP no nível do espaço de trabalho. Assim, após conectar Bitcoin SV Wallet, é possível usá-lo com diferentes modelos de IA no TypingMind, em vez de configurá-lo separadamente para cada modelo. Este MCP é executado localmente no seu dispositivo por meio do conector MCP do TypingMind.

Guia de configuração para usar o conector local

Use esta opção quando o servidor MCP precisar acessar arquivos locais, aplicativos ou recursos privados no seu computador.

1

Abra as configurações de MCP

No TypingMind, vá até Configurações, Configurações avançadas e depois Model Context Protocol e selecione Configurar conector.

  1. Abra o TypingMind no navegador.
  2. Clique no ícone de Ajustes.
  3. Acesse Configurações avançadas.
  4. Abra a seção Model Context Protocol.
  5. Clique em Configurar conector e selecione Este dispositivo.
Tela de configuração do conector MCP do TypingMind com a opção Este dispositivo selecionada
2

Execute o comando do conector

Selecione Este dispositivo, copie o comando do TypingMind e execute-o no Terminal. Mantenha o processo em execução enquanto usa o MCP.

  1. Copie o comando de configuração exibido pelo TypingMind.
  2. Abra o Terminal no macOS ou o Windows Terminal no Windows.
  3. Cole e execute o comando.
  4. Autorize a instalação do pacote se o Terminal pedir confirmação para continuar.
  5. Mantenha o processo em execução na janela do Terminal enquanto usa as ferramentas MCP.
3

Adicione Bitcoin SV Wallet como servidor

Quando o status do conector for Pronto, clique em Editar e cole a configuração do servidor MCP.

  1. Aguarde até que o status do conector mostre Pronto.
  2. Clique em Editar.
  3. Cole a configuração do servidor MCP de Bitcoin SV Wallet.
  4. Salve a lista de servidores.
  5. Atualize para confirmar se o conector ainda está pronto para uso.
Configurações de MCP do TypingMind mostrando um servidor ativo e o botão Editar
{
  "mcpServers": {
    "bitcoin-sv-wallet": {
      "command": "npx",
      "args": [
        "-y",
        "bsv-mcp"
      ]
    }
  }
}
4

Use a conexão com diferentes modelos

Salve a lista de servidores, abra Plugins, ative as ferramentas MCP de Bitcoin SV Wallet, selecione qualquer modelo de IA compatível no TypingMind e use as ferramentas no chat ou atribua-as a um agente de IA.

  1. Abra a página Plugins no TypingMind.
  2. Ative as ferramentas MCP de Bitcoin SV Wallet.
  3. Inicie um chat e escolha o modelo de IA que deseja usar.
  4. Use as ferramentas MCP no chat ou atribua-as a um agente de IA.
  5. Mude para outro modelo de IA sempre que necessário, sem reconectar o MCP.
Chat do TypingMind usando ferramentas MCP ativadas com um modelo de IA selecionado
Pode usar Bitcoin SV Wallet para me ajudar nesta tarefa?
Bitcoin SV Wallet
Claro. Já li.
Veja o que encontrei usando Bitcoin SV Wallet.

Perguntas frequentes

Para que serve o servidor MCP Bitcoin SV Wallet?

Bitcoin SV Wallet é um servidor MCP que permite que aplicativos de IA compatíveis se conectem a ferramentas externas e informações de contexto. No TypingMind, basta adicionar esse servidor MCP uma vez para disponibilizar suas ferramentas no seu espaço de trabalho com IA.

Posso usar o MCP Bitcoin SV Wallet com vários modelos de IA no TypingMind?

Sim. O TypingMind conecta as ferramentas MCP no nível do espaço de trabalho, permitindo usar Bitcoin SV Wallet com diferentes modelos de IA, como Claude, ChatGPT, Gemini ou outros modelos configurados no TypingMind, sem configurar o servidor MCP separadamente para cada modelo.

Por que usar o MCP Bitcoin SV Wallet com o TypingMind?

O TypingMind é uma das melhores interfaces de chat com LLMs porque reúne vários modelos de IA, prompts, plugins, agentes de IA, chaves de API e ferramentas MCP em um só espaço de trabalho. Com Bitcoin SV Wallet conectado, é possível usar suas ferramentas MCP nos seus modelos preferidos e manter seu fluxo de trabalho de chat organizado no TypingMind.

Como conecto o MCP Bitcoin SV Wallet ao TypingMind?

Bitcoin SV Wallet funciona por meio do conector MCP local do TypingMind. Essa é a melhor opção quando o servidor MCP precisa acessar arquivos locais, apps de desktop, ferramentas de linha de comando ou recursos privados no seu computador.

Quais ferramentas o MCP Bitcoin SV Wallet oferece no TypingMind?

Bitcoin SV Wallet disponibiliza recursos MCP que podem ser ativados na página Plugins do TypingMind e usados no chat ou atribuídos a agentes de IA.

Preciso compartilhar minhas chaves de API com o TypingMind para usar o MCP Bitcoin SV Wallet?

Não. O TypingMind prioriza o uso local e permite manter seus provedores de modelos, chaves de API, prompts e configuração MCP sob seu controle. Se Bitcoin SV Wallet exigir autenticação, adicione os cabeçalhos, as configurações OAuth ou a configuração local exigidos por esse servidor MCP ao criar a conexão.

Servidores MCP relacionados

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇