Yes, BuildAWallet provides an MCP server that prepares unsigned transactions for you to sign locally. This guide explains how to use the Model Context Protocol to handle local signing workflows, prepare unsigned transaction data, and integrate external wallet signing. It covers the technical architecture, security benefits, and practical setup steps for developers and autonomous agents.
Local Signing Workflows
Local signing is the process where cryptographic keys remain on the user's device, ensuring that no private key material ever leaves the local environment. This approach is critical for maintaining self-custody and preventing key exposure to third-party servers. In a local signing workflow, the software prepares the transaction data, but the actual cryptographic signature is generated locally using the user's private key.
BuildAWallet is designed with this principle at its core. The platform ensures that keys stay local, meaning the user retains full control over their assets and signing authority. This is particularly important for autonomous agents that need to interact with blockchain networks without exposing sensitive credentials. By keeping the signing process local, you mitigate the risk of key theft and maintain a high level of security.
Why Local Signing Matters
Local signing provides several key benefits. First, it ensures that private keys are never transmitted over the network, reducing the attack surface. Second, it allows for greater flexibility in how transactions are signed, as the user can choose their preferred signing method. Third, it aligns with the principles of self-custody, where the user is responsible for their own keys and funds.
For developers, implementing local signing requires careful attention to security best practices. This includes using secure key storage, implementing robust authentication mechanisms, and ensuring that the signing process is isolated from other parts of the application. BuildAWallet simplifies this process by providing a secure environment for local signing, allowing developers to focus on building their applications rather than worrying about key management.
MCP Servers for Crypto Operations
The Model Context Protocol (MCP) is a standard that allows AI assistants to discover and call outside tools. In the context of crypto operations, MCP servers enable AI agents to interact with blockchain networks, prepare transactions, and manage wallets. BuildAWallet offers an MCP server that exposes wallet, chain, payment, and transaction tools directly to the agent.
By using an MCP server, AI agents can perform complex blockchain operations without requiring human intervention. This is particularly useful for autonomous agents that need to make decisions and execute transactions based on real-time data. The MCP server acts as a bridge between the AI agent and the blockchain, providing a secure and efficient way to interact with the network. according to CryptoAPIs Signer MCP
How BuildAWallet's MCP Server Works
BuildAWallet's MCP server is designed to be agent-ready and non-custodial. It allows agents to create wallets, read balances on ten mainnets, prepare transfers, and use prepaid API units through native tool calls. The server uses a streamable HTTP interface with JSON-RPC 2.0, ensuring compatibility with a wide range of AI clients.
To set up the MCP server, you need to add BuildAWallet to your AI client's configuration. This involves specifying the MCP server endpoint and providing an API key for metered tools. Once configured, the agent can start using the available tools to perform blockchain operations. The server provides a live catalog of tools, allowing you to see what is available and how to use it.

Unsigned Transaction Preparation
Unsigned transaction preparation is the process of creating a transaction that is ready to be signed but has not yet been signed. This involves specifying the transaction details, such as the recipient address, amount, and network, and encoding them into a format that can be signed. The unsigned transaction is then passed to the signing process, where it is signed with the user's private key.
BuildAWallet's MCP server includes a tool for preparing unsigned transactions. This tool takes the transaction details as input and returns an unsigned transaction that is ready to be signed. The unsigned transaction is encoded in a format that is compatible with the user's wallet, ensuring that the signing process is seamless.
Benefits of Unsigned Transaction Preparation
For developers, implementing unsigned transaction preparation requires a good understanding of the blockchain's transaction format. This includes knowing how to encode the transaction details, how to calculate the transaction hash, and how to sign the transaction. BuildAWallet simplifies this process by providing a tool that handles the encoding and preparation, allowing developers to focus on the signing process.
External Wallet Signing
External wallet signing is the process of using a separate wallet, such as a hardware wallet or a mobile wallet, to sign a transaction. This is particularly useful for users who want to keep their private keys offline or on a separate device. By using an external wallet, the user can sign the transaction without exposing their private key to the application.
BuildAWallet supports external wallet signing by providing a tool that prepares unsigned transactions in a format that is compatible with external wallets. This allows users to use their preferred wallet to sign the transaction, ensuring that their private keys remain secure. The unsigned transaction is then broadcast to the network, completing the transaction.
Integrating External Wallets
Integrating external wallets requires careful attention to the wallet's signing process. Different wallets may use different signing methods, such as EIP-712 typed data or raw transaction signing. BuildAWallet's MCP server supports a wide range of signing methods, ensuring compatibility with a variety of external wallets.
To integrate an external wallet, you need to ensure that the wallet is configured to accept unsigned transactions from BuildAWallet. This may involve adding BuildAWallet to the wallet's list of trusted applications or configuring the wallet to allow signing from a specific address. Once configured, the user can use the external wallet to sign the transaction, ensuring that their private keys remain secure.
Key Takeaways
- Local signing ensures that private keys remain on the user's device, enhancing security and self-custody.
- BuildAWallet's MCP server allows AI agents to prepare unsigned transactions and manage wallets.
- Unsigned transaction preparation separates the transaction creation process from the signing process, allowing for greater flexibility.
- External wallet signing allows users to sign transactions using a separate wallet, keeping their private keys secure.
- BuildAWallet supports a wide range of signing methods, ensuring compatibility with various external wallets.
- The MCP server uses a streamable HTTP interface with JSON-RPC 2.0, ensuring compatibility with a wide range of AI clients.
- By using BuildAWallet, developers can focus on building their applications rather than worrying about key management.
Frequently Asked Questions
What is an MCP server?
An MCP server is a tool that allows AI assistants to discover and call outside tools. In the context of crypto operations, it enables AI agents to interact with blockchain networks, prepare transactions, and manage wallets.
How does local signing work?
Local signing is the process where cryptographic keys remain on the user's device, ensuring that no private key material ever leaves the local environment. The software prepares the transaction data, but the actual cryptographic signature is generated locally using the user's private key.
What is unsigned transaction preparation?
Unsigned transaction preparation is the process of creating a transaction that is ready to be signed but has not yet been signed. This involves specifying the transaction details and encoding them into a format that can be signed.
Can I use a hardware wallet with BuildAWallet?
Yes, BuildAWallet supports external wallet signing, allowing you to use a hardware wallet to sign transactions. This ensures that your private keys remain secure and offline.
How do I set up BuildAWallet's MCP server?
To set up BuildAWallet's MCP server, you need to add it to your AI client's configuration. This involves specifying the MCP server endpoint and providing an API key for metered tools.
What are the benefits of using an MCP server for crypto operations?
Using an MCP server allows AI agents to perform complex blockchain operations without requiring human intervention. This is particularly useful for autonomous agents that need to make decisions and execute transactions based on real-time data. according to AcqPath MCP Server
Does BuildAWallet support multiple blockchain networks?
Yes, BuildAWallet supports ten mainnets, allowing you to read balances and prepare transactions on a variety of blockchain networks.
Conclusion
BuildAWallet provides a robust solution for preparing unsigned transactions that you sign yourself. By leveraging the Model Context Protocol, you can integrate local signing workflows, prepare unsigned transactions, and use external wallet signing with ease. This ensures that your private keys remain secure and that you retain full control over your assets. To get started, visit the MCP server setup page and explore the available tools. For more information on how BuildAWallet can help you, contact our support team.

