Custodies
A custody is a place where your crypto is held: an exchange such as Binance or MEXC, or a self-custody wallet such as MetaMask or Ledger. Custodies belong to your account and are shared by all of your portfolios. If you hold 1 BTC split between Binance and MEXC, you record 0.5 BTC in each custody, and MyHold checks that the total matches the BTC across your portfolios.
✅ Your agent keeps them in sync
MCP Tools#
Your agent can work with Custodies through the MyHold MCP server:
| Tool | Description |
|---|---|
list-custodies | List your custodies with their balances, connection state, and last sync. |
get-custody | Get one custody with its balances and sync status. |
list-custody-providers | List the exchanges that can sync balances with an API key. |
create-custody | Add an exchange or a self-custody wallet. |
update-custody | Rename a custody, change its exchange, or turn hourly sync on or off. |
delete-custody | Delete a custody with its balances and stored API key. |
set-custody-balances | Replace the balances of a custody without an API key, such as a hardware wallet. |
sync-custody | Fetch a connected custody's balances from its exchange right now. |
get-custody-reconciliation | Compare each coin in your custodies with the same coin across all portfolios. |
What a Custody Shows#
Each custody lists its coins, the quantity of each, and their value. Connected exchanges also show when they last synced.
A Binance custody connected with a read-only API key
The Reconciliation Rule#
For every coin held in at least one custody, the sum across all of your custodies must equal the sum across all of your portfolios. A coin that appears in no custody is left out, so you can register Binance with only your BTC and MyHold reconciles BTC alone. A coin a custody tracks with a quantity of zero still counts, which keeps a coin that left the exchange visible until your portfolios agree.
BTC matches across custodies and portfolios; ETH differs by 0.5
A divergence lists every custody and every portfolio wallet that holds the coin, so your agent knows exactly which quantities to correct.
Keeping Balances Up to Date#
| Custody | Where balances come from |
|---|---|
| Exchange with an API key | MyHold reads the spot balance when you connect, every hour while hourly sync is on, and whenever your agent asks for a sync. |
| Wallet or exchange without an API key | Your agent sets the balances, replacing the full list each time. |
A sync updates every coin the custody already tracks and sets coins the exchange stopped reporting to zero. New coins are imported when they match a coin MyHold knows and are worth at least $1. Smaller balances and unknown symbols are listed as skipped, so your agent can add a missing coin and sync again.
API Keys and Security#
You connect API keys yourself on the Custodies page of the web app. Agents can create custodies and trigger syncs, and the keys stay out of their reach. MyHold checks the key against the exchange, encrypts it, and only reads balances with it.
⚠️ Use read-only keys
Plan Limits#
| Plan | Custodies | Connected with an API key |
|---|---|---|
| Free | 3 | 1 |
| Pro | 10 | 10 |
| Premium | 50 | 50 |
Next Steps#
Portfolios →
Learn how portfolio quantities and staged commits work.
Connect via MCP →
Give your agent access to custodies and portfolios.