ADD_COLLATERAL
Add collateral to your BAMM position
Lend Fraxswap LP tokens to a BAMM contract, borrow against collateral, and move the position — add, remove, repay — from the agent.
LABSCO SUMMARY
WALLET_PRIVATE_KEY is the only credential, and LEND, BORROW, REPAY, ADD_COLLATERAL and REMOVE_COLLATERAL each move value with it. There is no confirm flag, no simulation tool and no read-only mode anywhere in this set. The reading side is thin against that: GET_POSITIONS for what you hold and POOL_STATS for the pools, which is enough to decide with but not enough to preview a transaction before it is signed. Treat the descriptions as the whole documentation on offer — each is a single line, so slippage, gas and failure behaviour are simply not covered.
A BAMM lending client with seven tools covering lending, borrowing, collateral in both directions, repayment, position listing and pool statistics.
A funded wallet whose private key is supplied as WALLET_PRIVATE_KEY, since every write here is an on-chain transaction signed with it.
One command plus credentials — npx @iqai/mcp-bamm, then supply credentials
USE CASES
Look at the pools first, lend the LP tokens to the one you chose, and confirm the position exists afterwards.
Check what the position looks like, top up collateral if it is thin, then borrow against it.
Read the current position, repay what is owed, and pull the collateral back out.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
ADD_COLLATERALAdd collateral to your BAMM position
BORROWBorrow tokens from a BAMM position
GET_POSITIONSGet all your active BAMM positions
LENDLend Fraxswap LP tokens to a BAMM contract
POOL_STATSGet statistics for all BAMM pools
REMOVE_COLLATERALRemove collateral from your BAMM position
REPAYRepay borrowed tokens to a BAMM position
BEFORE YOU INSTALL
7 tools when we connected; the docs list 6. GET_POSITIONS and POOL_STATS are undocumented; WITHDRAW is documented but did not appear on connection. LEND, BORROW, REPAY, ADD_COLLATERAL and REMOVE_COLLATERAL sign transactions.
The documented client runs the server on your machine.
INSTALLATION
npx @iqai/mcp-bamm{
"mcpServers": {
"bamm": {
"command": "npx",
"args": [
"-y",
"@iqai/mcp-bamm"
],
"env": {
"WALLET_PRIVATE_KEY": "<YOUR_WALLET_PRIVATE_KEY>"
}
}
}
}