bap_generate
Generates a new BAP HD master key (xprv) and saves it to ~/.bsv-mcp/keys.json. This key can be used as a root for deriving multiple BAP identities.
How to use it
bap_generate is exposed by the Bsv MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the bap_generate tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Bsv MCP
claude mcp add bsv-mcp "bunx bsv-mcp@latest"Other tools in Bsv MCP (28)
Retrieves the current BAP identity's Bitcoin SV address. This address is derived from the server's configured identity key.
Retrieves a Bitcoin Attestation Protocol (BAP) identity profile using an idKey.
Creates a social post on the BSV blockchain using B:// and MAP protocols
Reads social posts from the BSV blockchain with filtering options
Decodes a BSV transaction and returns detailed information
Comprehensive blockchain explorer tool accessing WhatsOnChain API endpoints
Gets the current BSV price from an exchange API
(string, required): The data string to be converted.
(string, required): Source encoding format (utf8, hex, base64, or binary).
(string, optional): The Identity Key (Paymail or public key string) to fetch the profile for. If not provided, the tool attempts to use the server's configured identity key (derived from IDENTITYKEYWIF or the key file ~/.bsv-mcp/keys.json).
Retrieves the current MNEE token balance for the wallet
Parse 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)
Send MNEE tokens to a specified address. Supports both MNEE and USD amounts
Retrieves detailed information about a specific inscription
Retrieves details about a specific BSV20 token by ID
Retrieves market listings for NFTs, BSV-20, and BSV-21 tokens with unified interface
Gets information about BSV-20 and BSV-21 token market sales
Searches for inscriptions based on various criteria
(string, required): Target encoding format (utf8, hex, base64, or binary).
Converts data between different encodings (utf8, hex, base64, binary).
Creates and inscribes ordinals on the BSV blockchain
Creates a cryptographic signature for the provided data
Combined tool for encrypting and decrypting data using the wallet's cryptographic keys.<br><br>Examples:<br>1. Encrypt text: "Encrypt this message: Hello World"<br>2. Decrypt data: "Decrypt this data that was previously encrypted for me"
Returns a BSV address for the current wallet or a derived path
Retrieves a public key for a specified protocol and key ID
Purchases NFTs or BSV-20/BSV-21 tokens from marketplace listings
Sends BSV to a specified address (supports BSV or USD amounts)
Verifies a cryptographic signature against the provided data