# mcp-prepare-transactions [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/CryptoAPIs-io/cryptoapis-mcp-prepare-transactions  
**GitHub Stars:** 0  
**npm Downloads (last month):** 667  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-prepare-transactions

## Description
MCP server for building unsigned transactions on multiple blockchains via Crypto APIs

## Tools
Capabilities this server exposes over MCP:

- **prepare_transactions_evm** — Prepare unsigned EVM transactions.
- **prepare_transactions_tezos** — Prepare unsigned Tezos operations (mainnet, shadownet).
- **prepare_transactions_solana** — Prepare unsigned Solana transactions (mainnet, devnet).
- **prepare_transactions_kaspa** — Prepare unsigned Kaspa transactions (mainnet only).
- **prepare_transactions_xrp** — Prepare unsigned XRP transactions (mainnet, testnet).
- **prepare_transactions_utxo** — Prepare unsigned UTXO transactions (Bitcoin, Bitcoin Cash, Litecoin, Dogecoin, Dash, Zcash; mainnet, testnet).
- **prepare_transactions_tron** — Prepare unsigned Tron transactions via Tron's dedicated prepare-transactions endpoints (mainnet, nile).

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "mcp-prepare-transactions": {
    "command": "npx",
    "args": ["-y","@cryptoapis-io/mcp-prepare-transactions"],
    "env": {
      "CRYPTOAPIS_API_KEY": "",
      "MCP_AUTH_TOKEN": ""
    }
  }
}
```

**Requires environment variables:** `CRYPTOAPIS_API_KEY`, `MCP_AUTH_TOKEN` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What mcp-prepare-transactions does

mcp-prepare-transactions exposes Crypto APIs’ Prepare Transactions capabilities through MCP. It creates unsigned transaction data that can be passed to a wallet or another signing component; the server does not perform the local signing step described by its workflow.

Supported networks and asset types include native transfers, fungible tokens, and NFTs. EVM supports native coin, ERC-20, and ERC-721 transfers. Tezos supports XTZ, FA1.2, and FA2 operations. Solana supports SOL and SPL transfers, while Tron supports TRX, TRC-20, and TRC-721/TRC-1155 transfers. Kaspa supports native KAS transfers, XRP supports native XRP transfers, and the UTXO tool covers Bitcoin, Bitcoin Cash, Litecoin, Dogecoin, Dash, and Zcash.

## How it works

The server sends preparation requests to Crypto APIs and returns unsigned transaction data. Network-specific MCP tools group the available operations by blockchain family. Several tools accept network choices such as mainnet or testnet-style environments, including Tezos shadownet, Solana devnet, XRP testnet, Tron nile, and UTXO test networks.

Kaspa and UTXO preparation can handle multiple recipients in one transaction. UTXO requests require either a fee priority or an exact fee. The service is compatible with Crypto APIs version 2024-12-12.

## Setup and configuration

Install the package with npm and provide a Crypto APIs account API key:

```bash
npm install @cryptoapis-io/mcp-prepare-transactions
npx @cryptoapis-io/mcp-prepare-transactions --api-key YOUR_API_KEY
```

Node.js 18 or newer is required. The key can be passed with `--api-key` or through `CRYPTOAPIS_API_KEY`. Stdio is the default transport. Claude Desktop and Cursor can launch the package with `npx` and receive the key through their MCP configuration.

For HTTP use, set `--transport http`; the default endpoint listens on `127.0.0.1:3000/mcp`. Use `--port` and `--path` to change the endpoint. HTTP deployments can use one startup API key or require each request to supply an `x-api-key` header. When binding beyond localhost, configure an authentication token and an optional host allowlist. `MCP_AUTH_TOKEN` is preferred over placing the token in command-line arguments.

## Tools and capabilities

- `prepare_transactions_evm`: prepares native, ERC-20, and ERC-721 transfers.
- `prepare_transactions_tezos`: prepares XTZ, FA1.2, and FA2 operations.
- `prepare_transactions_solana`: prepares SOL and SPL token transfers.
- `prepare_transactions_kaspa`: prepares native KAS transfers, including multiple recipients.
- `prepare_transactions_xrp`: prepares native XRP transfers.
- `prepare_transactions_utxo`: prepares native transfers for six UTXO chains, including multiple recipients.
- `prepare_transactions_tron`: prepares TRX, TRC-20, and TRC-721/TRC-1155 transfers.

## Limitations and notes

A valid Crypto APIs API key is required for stdio startup and for API requests. Invalid or missing credentials can trigger restrictions from the Crypto APIs ecosystem. The returned payloads are unsigned, so applications still need a compatible signing process before submitting transactions. Network availability and supported transaction types are specific to each tool; for example, Kaspa preparation is limited to mainnet, while UTXO preparation requires explicit fee information.

_Full upstream README: https://allmcps.com/mcp/mcp-prepare-transactions/readme_

