BAMM

by iqaicom

Not rated
GitHub

About

Interact with the Borrow Automated Market Maker (BAMM) protocol on the Fraxtal blockchain.

Details

Author
iqaicom
Categories
Developer Tools, Other
Tags
#defi, #evm, #crypto, #trading

Setup

Install BAMM in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/iqaicom/mcp-bamm

Follow the installation instructions in the repository README, then restart your MCP client.

The BAMM MCP Server enables AI agents to interact with Borrow Automated Market Maker (BAMM) contracts on the Fraxtal blockchain. This server provides comprehensive access to BAMM positions, lending, borrowing, and collateral management operations.

By implementing the Model Context Protocol (MCP), this server allows Large Language Models (LLMs) to manage BAMM positions, borrow against LP tokens, and perform other operations related to the BAMM protocol directly through their context window.

- Position Management: View and manage your active BAMM positions across all pools.
- Lending Operations: Lend Fraxswap LP tokens to BAMM contracts to earn yield.
- Borrowing: Borrow tokens against your collateral from BAMM positions.
- Collateral Management: Add or remove collateral from your BAMM positions.
- Pool Analytics: Access statistics for all BAMM pools.

To use this server without installing it globally:

git clone https://github.com/IQAIcom/mcp-bamm.git cd mcp-bamm pnpm install pnpm run build

Add the following configuration to your MCP client settings (e.g.,claude_desktop_config.json).

{ "mcpServers": { "bamm": { "command": "npx", "args": ["-y", "@iqai/mcp-bamm"], "env": { "WALLET_PRIVATE_KEY": "your_wallet_private_key_here" } } } }
{ "mcpServers": { "bamm": { "command": "node", "args": ["/absolute/path/to/mcp-bamm/dist/index.js"], "env": { "WALLET_PRIVATE_KEY": "your_wallet_private_key_here" } } } }

Security Note:Handle your private key with extreme care. Ensure it is stored securely and only provided to trusted MCP client configurations.

- "What are my current BAMM positions?"
- "Show me the stats for all BAMM pools."

- "Lend 100 LP tokens to the BAMM at address 0x..."
- "Borrow 50 FRAX from my BAMM position."
- "Repay 25 FRAX to my BAMM position."

- "Add 100 FRAX as collateral to my BAMM position."
- "Remove 50 USDC collateral from my position."
- "Withdraw my LP tokens from the BAMM."

Lend Fraxswap LP tokens to a BAMM contract

Remove collateral from your BAMM position

Repay borrowed tokens to a BAMM position

Withdraw LP tokens from a BAMM contract by redeeming BAMM tokens

- src/tools/: Individual tool definitions
- src/services/: API client and business logic
- src/lib/: Shared utilities
- src/index.ts: Server entry point

- BAMM Documentation
-
Model Context Protocol (MCP)
-
Fraxtal Network

This project interacts with blockchain smart contracts and handles cryptocurrency transactions. Users should exercise caution, verify all data independently, and understand the risks involved in DeFi operations.

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Interact with the Futarchy protocol on the Solana blockchain.

A server for interacting with the Futarchy protocol on the Solana blockchain.

An MCP server for the Tinyman protocol on the Algorand blockchain, offering tools for swaps, liquidity provision, and pool management.

Non-custodial Solana swap & limit-order MCP server. 21 tools across Raydium, PumpSwap, Orca, Meteora. Jito MEV-protected. Private key never leaves the agent.

On-chain automated trading strategies (DEX) for AI agents. Create limit orders, range orders, recurring buy-low-sell-high strategies, and concentrated liquidity positions across Ethereum, Sei, Celo, TAC, and COTI. Unlike traditional AMMs and liquidity pools, Carbon lets you set asymmetric price ranges - your buy and sell orders are independent, not mirrored. Backtest any strategy against historical prices before going on-chain, explore market liquidity, find discount entry points, and swap tokens against Carbon DeFi's maker liquidity. 25 tools. Returns unsigned transactions — agents never hold funds or private keys. Zero gas on fills.

Crypto data & trading MCP with 42+ tools: prices, DeFi, NFTs, Solana swaps

Pool data, swap rates, and liquidity info on Curve Finance.

Official deBridge protocol MCP Server. Finds optimal cross-chain swap routes, checks fees and conditions, initiates trades across major blockchain networks

MCP server for Fuse Network: balances, tokens, staking, DeFi data, swaps and on-chain transactions.

Trade on prediction markets from Claude Code. Browse markets, check odds, build and execute trades on-chain.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.