
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@fireblocks/mcp-server
Advanced tools
A Model Context Protocol (MCP) server implementation for Fireblocks API
A Model Context Protocol (MCP) server implementation for the Fireblocks API, enabling AI assistants to interact with Fireblocks services through a standardized protocol.
This MCP server provides secure access to Fireblocks functionality, allowing AI assistants to:
Node.js (v18 or higher) - Download here
To get started, you'll need a Fireblocks API Key and its corresponding secret key file.
🔒 Security Note: When configuring an API user for the MCP server, it is critical to grant only the minimum permissions required for its specific tasks. For example, for read-only tasks like viewing transaction history, the "Viewer" role is the most secure option. For a detailed guide on user roles, please refer to the best practices for choosing user roles.
fireblocks-secret.key
). You will need both for the next steps.claude_desktop_config.json
file.{
"mcpServers": {
"fireblocks": {
"command": "npx",
"args": ["@fireblocks/mcp-server"],
"env": {
"FIREBLOCKS_API_KEY": "your-api-key",
"FIREBLOCKS_PRIVATE_KEY_PATH": "your-fireblocks-api-secret-key-filepath",
"ENABLE_WRITE_OPERATIONS": "false",
"FIREBLOCKS_API_BASE_URL": "https://api.fireblocks.io/v1"
}
}
}
}
mcp.json
file.{
"mcpServers": {
"fireblocks": {
"command": "npx",
"args": ["@fireblocks/mcp-server"],
"env": {
"FIREBLOCKS_API_KEY": "your-api-key",
"FIREBLOCKS_PRIVATE_KEY_PATH": "your-fireblocks-api-secret-key-filepath",
"ENABLE_WRITE_OPERATIONS": "false",
"FIREBLOCKS_API_BASE_URL": "https://api.fireblocks.io/v1"
}
}
}
}
ENABLE_WRITE_OPERATIONS
environment variable to true
. Be sure to read the Security Considerations section before doing so.FIREBLOCKS_API_BASE_URL
to the base URL of the specific environment's API.The Fireblocks MCP server provides the following tools:
get_transactions
Retrieve Fireblocks transactions with comprehensive filtering options.
Parameters:
before
(optional): Unix timestamp in milliseconds - get transactions before this dateafter
(optional): Unix timestamp in milliseconds - get transactions after this datestatus
(optional): Filter by transaction statusorderBy
(optional): Order by 'createdAt' or 'lastUpdated'sort
(optional): Sort direction ('ASC' or 'DESC')limit
(optional): Number of results (1-200, default: 50)sourceType
(optional): Source type (VAULT_ACCOUNT, EXCHANGE_ACCOUNT, INTERNAL_WALLET, EXTERNAL_WALLET, CONTRACT, FIAT_ACCOUNT, NETWORK_CONNECTION, COMPOUND, UNKNOWN, GAS_STATION, END_USER_WALLET)sourceId
(optional): Source IDdestType
(optional): Destination type (VAULT_ACCOUNT, EXCHANGE_ACCOUNT, INTERNAL_WALLET, EXTERNAL_WALLET, CONTRACT, FIAT_ACCOUNT, NETWORK_CONNECTION, COMPOUND, ONE_TIME_ADDRESS, END_USER_WALLET)destId
(optional): Destination IDassets
(optional): Comma-separated list of asset IDstxHash
(optional): Filter by transaction hashsourceWalletId
(optional): Filter by source wallet IDdestWalletId
(optional): Filter by destination wallet IDcreate_transaction
Create a new transaction in Fireblocks.
get_vault_accounts
Retrieve vault accounts with filtering and pagination.
Parameters:
namePrefix
(optional): Filter by account name prefixnameSuffix
(optional): Filter by account name suffixminAmountThreshold
(optional): Filter accounts with balance above thresholdassetId
(optional): Filter by asset IDorderBy
(optional): Sort direction ('ASC' or 'DESC')before
(optional): Pagination cursor for previous resultsafter
(optional): Pagination cursor for next resultslimit
(optional): Number of results (1-200, default: 50)get_vault_account_by_id
Get details of a specific vault account by ID.
Parameters:
vaultAccountId
(required): The ID of the vault account to retrieveget_vault_account_asset
Get asset information for a specific vault account.
Parameters:
vaultAccountId
(required): The ID of the vault accountassetId
(required): The ID of the assetget_vault_assets
Get asset balance for chosen assets with optional filtering.
Parameters:
accountNamePrefix
(optional): Filter vault accounts by name prefixaccountNameSuffix
(optional): Filter vault accounts by name suffixget_vault_balance_by_asset
Get vault balance information for a specific asset.
Parameters:
assetId
(required): The ID of the assetget_exchange_accounts
Retrieve exchange accounts with pagination.
Parameters:
limit
(optional): Number of results per page (1-5, default: 3)before
(optional): Pagination cursor for previous resultsafter
(optional): Pagination cursor for next resultsget_network_connections
Retrieve network connection information.
get_blockchains
Retrieve information about supported blockchains.
get_blockchain_asset
Get asset information for a specific blockchain.
Parameters:
id
(required): The ID or legacyId of the blockchain assetget_assets
Get assets supported by Fireblocks with comprehensive filtering options.
Parameters:
blockchainId
(optional): Blockchain ID of the assetsassetClass
(optional): Assets class (NATIVE, FT, FIAT, NFT, SFT)symbol
(optional): Assets onchain symbolscope
(optional): Scope of the assets (GLOBAL, LOCAL)deprecated
(optional): Are assets deprecated (boolean)ids
(optional): A list of asset IDs (max 100)pageCursor
(optional): Next page cursor to fetchpageSize
(optional): Items per page (100-1000, default: 500)get_external_wallets
Retrieve external wallets under the workspace.
get_internal_wallets
Retrieve internal wallets under the workspace.
get_active_policy
Get the currently active policy configuration.
get_whitelist_ip_addresses
Retrieve whitelisted IP addresses.
get_users
List all users for the workspace with optional filtering (requires Admin permissions).
Parameters:
id
(optional): Filter users by specific user IDemail
(optional): Filter users by specific email address (case-insensitive)query
(optional): Search users by name or email (case-insensitive partial matching)Here are some example prompts you can use with the Fireblocks MCP server:
Show me all my vault accounts and their balances
Get the last 10 transactions from today
What is my total Bitcoin balance across all accounts?
Top up my Bitstamp account to have 1000 USDC or USDT
Why did the policy block my last transaction?
Note: Transaction creation and top-up examples require ENABLE_WRITE_OPERATIONS=true
and appropriate permissions.
The use of an AI assistant to interact with your Fireblocks workspace presents inherent risks. Since AI models may produce unintended results, it is imperative to implement a robust security strategy to safeguard your assets. The following practices are highly recommended:
⚠️ Security Warning: Write operations, such as creating transactions and modifying data in your Fireblocks workspace, are enabled by an AI assistant. For enhanced security, these operations (e.g., create_transaction
) are disabled by default. They can be enabled by explicitly setting the ENABLE_WRITE_OPERATIONS
environment variable to true
. This should only be done in trusted environments with appropriate access controls.
When configuring an API user for the MCP server, it is essential to grant only the minimum permissions necessary for its intended function. For read-only tasks, a "Viewer" role, which is restricted to viewing transaction history, is the most secure option.
For a detailed guide on user roles, please refer to the the best practices for choosing user roles.
Instructions for creating a new API user can be found in the Fireblocks guide on creating an API key.
We strongly advise utilizing the Fireblocks Policy Engine to ensure human oversight in the transaction approval process. A policy can be configured to require a manual designated signer to approve any transaction initiated by the AI assistant. More information can be found here.
Your Fireblocks API Key and Private Key are highly sensitive credentials. Adherence to these best practices is mandatory:
Follow these steps to set up the project for local development:
git clone https://github.com/fireblocks/fireblocks-mcp.git
cd fireblocks-mcp
npm install
npm run build
npm run dev
- Start development server with auto-reloadnpm run build
- Build the projectnpm run test
- Run testsnpm run test:watch
- Run tests in watch modenpm run lint
- Run ESLintnpm run format
- Format code with Prettiernpm run inspector
- Run with MCP Inspector for debuggingRun the test suite:
# Run all tests
npm test
# Run tests in watch mode
npm run test:watch
For more detailed contribution guidelines, see CONTRIBUTING.md.
FAQs
A Model Context Protocol (MCP) server implementation for Fireblocks API
We found that @fireblocks/mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.