About bsv
bsv is an MCP server published by opldotdev in the AI category: a collection of Bitcoin SV (BSV) tools for the Model Context Protocol (MCP) framework. Conduid read 60 tools from its source: bap_generate, bap_getCurrentAddress, bap_getId, bsv_decodeTransaction, bsv_explore, bsv_getPrice and 54 more. It is published to npm as bsv-mcp and starts with npx.
The repository has 22 stars and 9 forks, is licensed MIT, and its last commit was on 13 Sep 2026. The latest release is v0.2.2. It is the only release Conduid has on record for this repository. It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include bitcoin, bsv, bitcoin-sv, wallet, ordinals and blockchain.
Install
npx bsv-mcpclaude mcp add bsv-mcp -- npx -y bsv-mcp@latest --stdionpx -y bsv-mcp@latest --stdiogit clone https://github.com/opldotdev/bsv-mcpTools (60)
bap_generateGenerates a BAP HD master key AND derives the first identity key if no BAP keys (xprv or identityPk) exist. Saves keys to secure storage. Attempts on-chain registration using payPk (honors DISABLE_BROADCASTING). Optionally takes alternateName and description for the profile.| Parameter | Type | Description |
|---|---|---|
| alternateName | string | Alternate name for the BAP identity profile |
| description | string | Description for the BAP identity profile |
bap_getCurrentAddressRetrieves the current BAP identity's Bitcoin SV address. This address is derived from the server's configured identity key.bap_getIdRetrieves a Bitcoin Attestation Protocol (BAP) identity profile using an idKey (Paymail or public key). If no idKey is provided, it attempts to use the server's configured identity key.| Parameter | Type | Description |
|---|---|---|
| idKey | string | Optional Identity Key (Paymail or public key). If not provided, attempts to use the server's configured identity key. |
bsv_decodeTransactionDecodes and analyzes Bitcoin SV transactions to provide detailed insights. This powerful tool accepts either a transaction ID or raw transaction data and returns comprehensive information including inputs, outputs, fee calculations, script details, and blockchain context. Supports both hex and base64 encoded transactions and automatically fetches additional on-chain data when available.| Parameter | Type | Description |
|---|---|---|
| encoding | string | Encoding of the input data |
| tx * | string | Transaction data or txid |
bsv_exploreExplore Bitcoin SV blockchain data using the configured explorer API. Access multiple data types:
CHAIN DATA:
- chain_info: Network stats, difficulty, and chain work
- chain_tips: Current chain tips including heights and states
- circulating_supply: Current BSV circulating supply
- peer_info: Connected peer statistics
BLOCK DATA:
- block_by_hash: Complete block data via hash (requires blockHash parameter)
- block_by_height: Complete block data via height (requires blockHeight parameter)
- tag_count_by_height: Stats on tag count for a specific block via height (requires blockHeight parameter)
- block_headers: Retrieves the last 10 block headers
- block_pages: Retrieves pages of transaction IDs for large blocks (requires blockHash and optional pageNumber)
STATS DATA:
- block_stats_by_height: Block statistics for a specific height (requires blockHeight parameter)
- block_miner_stats: Block mining statistics for a time period (optional days parameter, default 7)
- miner_summary_stats: Summary of mining statistics (optional days parameter, default 7)
TRANSACTION DATA:
- tx_by_hash: Detailed transaction data (requires txHash parameter)
- tx_raw: Raw transaction hex data (requires txHash parameter)
- tx_receipt: Transaction receipt (requires txHash parameter)
- bulk_tx_details: Bulk transaction details (requires txids parameter as array of transaction hashes)
ADDRESS DATA:
- address_history: Transaction history for address (requires address parameter, optional limit)
- address_utxos: Unspent outputs for address (requires address parameter)
NETWORK:
- health: API health check
Use the appropriate parameters for each endpoint type and specify 'main' or 'test' network.| Parameter | Type | Description |
|---|---|---|
| address | string | Bitcoin address (required for address_history and address_utxos endpoints) |
| blockHash | string | Block hash (required for block_by_hash endpoint) |
| blockHeight | number | Block height (required for block_by_height and block_stats_by_height endpoints) |
| days | number | Number of days for miner stats endpoints (defaults to 7) |
| endpoint * | string | configured explorer API endpoint to call |
| limit | number | Limit for paginated results (optional for address_history) |
| network | string | Network to use (main or test) |
| pageNumber | number | Page number for block_pages endpoint (defaults to 1) |
| txHash | string | Transaction hash (required for tx_by_hash, tx_raw, and tx_receipt endpoints) |
| txids | array | Array of transaction IDs for bulk_tx_details endpoint |
bsv_getPriceRetrieves the current price of Bitcoin SV (BSV) in USD from a reliable exchange API. This tool provides real-time market data that can be used for calculating transaction values, monitoring market conditions, or converting between BSV and fiat currencies.bsv_statusShow server version, configured network, wallet availability, backend URLs, live 1Sat modules and any persistent Vault migration warning. Does not request keys, sign, sync or spend. Backend modules do not imply MCP tools or sponsor approval.| Parameter | Type | Description |
|---|---|---|
| checkServices | boolean | Read the 1Sat capabilities endpoint (10 second timeout) |
droplit_discoverList publicly opted-in sponsors. No wallet or sponsor selection is required. Listing grants no access or funding; choose a slug, then request the sponsor owner's approval separately.| Parameter | Type | Description |
|---|---|---|
| after | string | |
| limit | number |
droplit_fundSubmit one raw transaction for sponsor funding and broadcast. Subject to sponsor approval and quotas. Unknown outcomes must be reconciled before retrying.| Parameter | Type | Description |
|---|---|---|
| rawtx * | string |
droplit_getAccessRead this connected wallet's sponsor authorization and quotas. If unauthorized, a human sponsor owner must approve the wallet manually. Does not create, fund, or approve anything.droplit_pushSubmit one sponsored data transaction. Subject to sponsor approval and quotas. An unknown outcome requires checking transaction history before retrying.| Parameter | Type | Description |
|---|---|---|
| data * | array | |
| encoding * | string |
mnee_getBalanceRetrieves the current MNEE token balance for the wallet. Returns the balance in MNEE tokens.mnee_parseTxParse an MNEE transaction to get detailed information about its operations and amounts. All amounts are in atomic units with 5 decimal precision (e.g. 1000 atomic units = 0.01 MNEE).| Parameter | Type | Description |
|---|---|---|
| txid * | string | Transaction ID to parse |
mnee_sendMneeSend MNEE tokens to a specified address| Parameter | Type | Description |
|---|---|---|
| address * | string | The recipient's address |
| amount * | number | Amount to send; must be greater than zero |
| currency | string | Currency of the amount (MNEE or USD) |
ordinals_getInscriptionRetrieves metadata for an inscription by its outpoint. Returns content type, file info, origin, MAP data, and sequence info.| Parameter | Type | Description |
|---|---|---|
| outpoint * | string | Outpoint in format 'txid.vout' or 'txid_vout' |
ordinals_getTokenByIdOrTickerRetrieves detailed information about a BSV21 token by its ID (txid_vout format). Returns token data including symbol, supply, decimals, funding status, and current state.| Parameter | Type | Description |
|---|---|---|
| id * | string | BSV21 token ID in outpoint format (txid_vout) |
ordinals_marketListingsSearch active 1Sat marketplace listings by name prefix or content type. Prices are satoshis. Pass the last score as from for the next page. Availability is checked again when purchasing.| Parameter | Type | Description |
|---|---|---|
| from | number | Last result's score for the next page |
| limit | number | |
| q | string | Listing name prefix |
| type | string | Content type, e.g. image/png |
ordinals_marketSalesQuery completed 1Sat marketplace sales by name prefix or content type. Prices are satoshis. Pass the last score as from for the next page.ordinals_searchInscriptionsSearch indexed outputs by 1Sat event/topic/owner key (e.g. own:ADDRESS). Returns inscription and MAP metadata when indexed. This is an index-key search, not free-text search; use marketListings.q for listing names.| Parameter | Type | Description |
|---|---|---|
| from | number | Last result's score for the next page |
| key * | string | Index key, e.g. own:ADDRESS, ev:EVENT, or tp:TOPIC |
| limit | number |
utils_convertDataConverts data between different encodings (utf8, hex, base64, binary). Useful for transforming data formats when working with blockchain data, encryption, or file processing.
Parameters:
- data (required): The string to convert
- from (required): Source encoding format (utf8, hex, base64, or binary)
- to (required): Target encoding format (utf8, hex, base64, or binary)
Example usage:
- UTF-8 to hex: {"data": "hello world", "from": "utf8", "to": "hex"} → 68656c6c6f20776f726c64
- UTF-8 to base64: {"data": "Hello World", "from": "utf8", "to": "base64"} → SGVsbG8gV29ybGQ=
- base64 to UTF-8: {"data": "SGVsbG8gV29ybGQ=", "from": "base64", "to": "utf8"} → Hello World
- hex to base64: {"data": "68656c6c6f20776f726c64", "from": "hex", "to": "base64"} → aGVsbG8gd29ybGQ=
Notes:
- All parameters are required
- The tool returns the converted data as a string
- For binary conversion, data is represented as an array of byte values| Parameter | Type | Description |
|---|---|---|
| data * | string | The data string to be converted |
utils_installAgentMasterInstall the Agent Master CLI tool for managing MCP server configurations across multiple platforms (Claude, VS Code, Cursor, etc.)| Parameter | Type | Description |
|---|---|---|
| method | string | Installation method |
wallet_abortActionAborts a pending (nosend or unsigned) transaction, releasing consumed inputs back to spendable state.| Parameter | Type | Description |
|---|---|---|
| reference * | string | Base64 reference of the transaction to abort |
wallet_acquireCertificateAcquires an identity certificate from a certifier.| Parameter | Type | Description |
|---|---|---|
| acquisitionProtocol * | string | |
| certifier * | string | Certifier public key hex |
| certifierUrl | string | |
| fieldsJSON * | string | JSON object of certificate fields |
| keyringForSubjectJSON | string | JSON object of keyring for subject |
| keyringRevealer | string | |
| privileged | boolean | |
| privilegedReason | string | |
| revocationOutpoint | string | |
| serialNumber | string | |
| signature | string | |
| type * | string | Certificate type (base64) |
wallet_cancelListingCancel an ordinal marketplace listing| Parameter | Type | Description |
|---|---|---|
| id * | string | Tracking id of the listing in the ordinals basket (the 'id:' tag from wallet_getOrdinals) |
wallet_createActionCreates a new Bitcoin transaction. Handles funding, signing, and broadcasting based on options.| Parameter | Type | Description |
|---|---|---|
| description * | string | 5-50 char description of the action |
| inputBEEFJSON | string | JSON array of BEEF bytes proving the inputs. Required whenever inputs are supplied — createAction rejects inputs without their proof chain. |
| inputsJSON | string | JSON array of transaction inputs |
| labelsJSON | string | JSON array of label strings |
| lockTime | number | |
| optionsJSON | string | JSON CreateActionOptions: {noSend, sendWith, acceptDelayedBroadcast, signAndProcess, randomizeOutputs, noSendChange, knownTxids, trustSelf} |
| outputsJSON | string | JSON array of transaction outputs [{lockingScript, satoshis, outputDescription, basket, tags, customInstructions}] |
| version | number |
wallet_createHmacCreates an HMAC using wallet keys.| Parameter | Type | Description |
|---|---|---|
| counterparty | string | |
| data * | array | Data bytes |
| keyID * | string | |
| privileged | boolean | |
| privilegedReason | string | |
| protocolIDJSON * | string | JSON array [securityLevel, protocolString] |
| seekPermission | boolean |
wallet_createOrdinalsCreates and inscribes ordinals (NFTs) on the Bitcoin SV blockchain. This tool lets you mint new digital artifacts by encoding data directly into the blockchain. Supports various content types including images, text, JSON, and HTML. The tool handles transaction creation, fee calculation, and broadcasting.| Parameter | Type | Description |
|---|---|---|
| contentType * | string | MIME type of the content |
| dataB64 * | string | Base64-encoded content to inscribe |
| destinationAddress | string | Optional destination address for the ordinal |
| metadata | object | Optional MAP metadata for the inscription |
| signWithBAP | boolean | Add a SIGMA data signature using the current BAP identity key. Uses anchor+inscription two-step flow. |
wallet_createSignatureCreates a digital signature using wallet keys. Supply exactly one of data or hashToDirectlySign.| Parameter | Type | Description |
|---|---|---|
| counterparty | string | |
| data | array | Data bytes to sign |
| hashToDirectlySign | array | Pre-computed 32-byte hash to sign directly |
| keyID * | string | |
| privileged | boolean | |
| privilegedReason | string | |
| protocolIDJSON * | string | JSON array [securityLevel, protocolString] |
| seekPermission | boolean |
wallet_decryptDecrypts data using wallet keys.| Parameter | Type | Description |
|---|---|---|
| ciphertext * | array | Encrypted data bytes |
| counterparty | string | |
| keyID * | string | |
| privileged | boolean | |
| privilegedReason | string | |
| protocolIDJSON * | string | JSON array [securityLevel, protocolString] |
| seekPermission | boolean |
wallet_discoverByAttributesDiscovers certificates matching specific attributes.| Parameter | Type | Description |
|---|---|---|
| attributesJSON * | string | JSON object of attribute key/value pairs to match |
| limit | number | |
| offset | number | |
| seekPermission | boolean |
wallet_discoverByIdentityKeyDiscovers certificates issued to a given identity key.| Parameter | Type | Description |
|---|---|---|
| identityKey * | string | Identity public key hex |
| limit | number | |
| offset | number | |
| seekPermission | boolean |
wallet_encryptEncrypts data using wallet keys. protocolID is a JSON array like [2,"protocolName"].| Parameter | Type | Description |
|---|---|---|
| counterparty | string | |
| keyID * | string | |
| plaintext * | array | Data bytes to encrypt |
| privileged | boolean | |
| privilegedReason | string | |
| protocolIDJSON * | string | JSON array [securityLevel, protocolString] |
| seekPermission | boolean |
wallet_gatherCollectionInfoAnalyzes a folder of images and gathers all necessary information for minting an ordinals collection. This includes validating images, checking wallet balance, estimating costs, and suggesting metadata. Use this before minting to ensure everything is ready.| Parameter | Type | Description |
|---|---|---|
| folderPath * | string | Path to folder containing images to analyze for collection |
wallet_getAddressRetrieves the wallet's BRC-29 deposit address derived for MCP. This address can receive BSV, ordinals, or tokens via external payments.wallet_getBalanceRetrieves the current BSV balance for the wallet.wallet_getBsv21BalancesGet aggregated BSV21 token balances grouped by token IDwallet_getHeaderForHeightGets the 80-byte block header at a given height.| Parameter | Type | Description |
|---|---|---|
| height * | number | Block height |
wallet_getHeightGets the current blockchain height.wallet_getNetworkGets the network the wallet is connected to (mainnet or testnet).wallet_getPublicKeyRetrieves a public key by protocol/key derivation. Use identityKey:true for the root identity key. protocolID is a JSON array like [2,"1sat"].| Parameter | Type | Description |
|---|---|---|
| counterparty | string | |
| forSelf | boolean | |
| identityKey | boolean | If true, return the identity key (ignores other args) |
| keyID | string | |
| privileged | boolean | |
| privilegedReason | string | |
| protocolIDJSON | string | JSON array [securityLevel, protocolString] e.g. [2,"1sat"] |
| seekPermission | boolean |
wallet_getVersionGets the wallet implementation version.wallet_internalizeActionInternalizes an external transaction, adding its outputs to wallet baskets.| Parameter | Type | Description |
|---|---|---|
| description * | string | 5-50 char description |
| labelsJSON | string | JSON array of label strings |
| outputsJSON * | string | JSON array of outputs to internalize |
| seekPermission | boolean | |
| txJSON * | string | JSON array of AtomicBEEF bytes |
wallet_isAuthenticatedChecks if the wallet user is authenticated.wallet_listList named local accounts by public address. Does not unlock wallets, reveal keys or contact a service.wallet_listActionsLists wallet transactions filtered by labels, with optional input/output details.| Parameter | Type | Description |
|---|---|---|
| includeInputSourceLockingScripts | boolean | |
| includeInputUnlockingScripts | boolean | |
| includeInputs | boolean | |
| includeLabels | boolean | |
| includeOutputLockingScripts | boolean | |
| includeOutputs | boolean | |
| labelQueryMode | string | |
| labelsJSON | string | JSON array of label strings |
| limit | number | |
| offset | number | |
| seekPermission | boolean |
wallet_listCertificatesLists identity certificates filtered by certifiers and types.| Parameter | Type | Description |
|---|---|---|
| certifiersJSON * | string | JSON array of certifier public key hexes |
| limit | number | |
| offset | number | |
| privileged | boolean | |
| privilegedReason | string | |
| typesJSON * | string | JSON array of certificate types (base64) |
wallet_listOutputsLists spendable outputs in a basket, optionally filtered by tags.| Parameter | Type | Description |
|---|---|---|
| basket * | string | Basket name (e.g. "default") |
| include | string | |
| includeCustomInstructions | boolean | |
| includeLabels | boolean | |
| includeTags | boolean | |
| limit | number | |
| offset | number | |
| seekPermission | boolean | |
| tagQueryMode | string | |
| tagsJSON | string | JSON array of tag strings |
wallet_proveCertificateProves select fields of a certificate to a verifier.| Parameter | Type | Description |
|---|---|---|
| certificateJSON * | string | JSON object of the certificate to prove |
| fieldsToRevealJSON * | string | JSON array of field names to reveal |
| privileged | boolean | |
| privilegedReason | string | |
| verifier * | string | Verifier public key hex |
wallet_relinquishCertificateRemoves a certificate from the wallet.| Parameter | Type | Description |
|---|---|---|
| certifier * | string | Certifier public key hex |
| serialNumber * | string | Certificate serial number |
| type * | string | Certificate type |
wallet_relinquishOutputRemoves an output from a basket without spending it.| Parameter | Type | Description |
|---|---|---|
| basket * | string | Basket name |
| output * | string | Outpoint string (txid.vout) |
wallet_removeRemove a local account only with force, backup confirmation and human approval. Fund absence cannot be proven across all derived addresses. Cannot remove the active account; never sweeps funds.| Parameter | Type | Description |
|---|---|---|
| backupConfirmed | boolean | |
| force | boolean |
wallet_revealCounterpartyKeyLinkageReveals the linkage between the wallet identity and a counterparty to a verifier.| Parameter | Type | Description |
|---|---|---|
| counterparty * | string | Counterparty public key hex |
| privileged | boolean | |
| privilegedReason | string | |
| verifier * | string | Verifier public key hex |
wallet_revealSpecificKeyLinkageReveals linkage for a specific protocol/key combination to a verifier.| Parameter | Type | Description |
|---|---|---|
| counterparty * | string | Counterparty public key hex |
| keyID * | string | |
| privileged | boolean | |
| privilegedReason | string | |
| protocolIDJSON * | string | JSON array [securityLevel, protocolString] |
| verifier * | string | Verifier public key hex |
wallet_signActionSigns a transaction previously created with createAction (when signAndProcess was false).| Parameter | Type | Description |
|---|---|---|
| optionsJSON | string | JSON SignActionOptions: {acceptDelayedBroadcast, sendWith} |
| reference * | string | Base64 reference from createAction result |
| spendsJSON * | string | JSON map of input index to {unlockingScript, sequenceNumber} |
wallet_useValidate an account and give its restart configuration. Does not replace the wallet of a running session or modify client settings.wallet_verifyHmacVerifies an HMAC using wallet keys.| Parameter | Type | Description |
|---|---|---|
| counterparty | string | |
| data * | array | Data bytes |
| hmac * | array | HMAC bytes to verify |
| keyID * | string | |
| privileged | boolean | |
| privilegedReason | string | |
| protocolIDJSON * | string | JSON array [securityLevel, protocolString] |
| seekPermission | boolean |
wallet_verifySignatureVerifies a digital signature using wallet keys. Supply exactly one of data or hashToDirectlyVerify.| Parameter | Type | Description |
|---|---|---|
| counterparty | string | |
| data | array | Data bytes that were signed |
| forSelf | boolean | |
| hashToDirectlyVerify | array | Pre-computed 32-byte hash that was signed |
| keyID * | string | |
| privileged | boolean | |
| privilegedReason | string | |
| protocolIDJSON * | string | JSON array [securityLevel, protocolString] |
| seekPermission | boolean | |
| signature * | array | Signature bytes |
wallet_waitForAuthenticationBlocks until the wallet user is authenticated.x402_payQuotePay a previously quoted BSV service request from the connected wallet, then return its response. Only call after authorization for the service, amount, and total limit including mining fees. Reuses the stored URL, method, body and credentials. Wallet permission checks apply. Does not automatically pay changed terms or retry a failed payment.| Parameter | Type | Description |
|---|---|---|
| maxTotalSats * | number | |
| quoteId * | string |
x402_requestRequest any HTTPS service without automatically paying. Returns the response if free, or a BSV payment quote for approval. POST/PUT/PATCH/DELETE may execute if the service does not require payment. Use auth=brc31 for BSV-authenticated/BRC-105 services. No API key required by the client; optional service credentials are scoped by X402_SERVICE_HEADERS. Supports BRC-105, bound BRC-120 with OP_TRUE nonces, and compact bsv-tx-v1 challenges.| Parameter | Type | Description |
|---|---|---|
| auth | string | |
| body | string | |
| bodyEncoding | string | |
| boundHeaders | array | BRC-120 header names bound by the service; defaults to supplied request headers |
| headers | object | |
| method | string | |
| url * | string |
Security checks
Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.5K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by bun.lock.
- !No dynamic code executionScanned 257 source files and found 1 call to eval or shell execution, in tools/utils/installAgentMaster.ts:39. Review how tool inputs reach them before granting credentials.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio and Streamable HTTPserver.ts:25, app/api/mcp/route.ts:55
- Starts other programs
- 4 callstools/utils/installAgentMaster.ts:39, utils/passphrasePrompt.ts:112, utils/signer.ts:169
- Outbound network calls
- 37 callsserver.ts:409, server.ts:714, server.ts:1810
- Writes or deletes files
- 2 callsutils/keyManager.ts:124, utils/keyManager.ts:125
- Lockfile
- bun.lock
Pattern matches on the source text of 257 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.5K words, fetched a month ago. The original in the repository is authoritative.
Read full README