by iqaicom
Manage BAMM positions and leverage DeFi on Fraxtal with tools for lending Fraxswap LP tokens and borrowing against colla
Connects AI agents to BAMM (Borrow Automated Market Maker) contracts on Fraxtal blockchain for DeFi operations. Manage positions, lend LP tokens, and borrow against collateral through natural language commands.
BAMM (Fraxtal DeFi) is a community-built MCP server published by iqaicom that provides AI assistants with tools and capabilities via the Model Context Protocol. Manage BAMM positions and leverage DeFi on Fraxtal with tools for lending Fraxswap LP tokens and borrowing against colla It is categorized under finance.
You can install BAMM (Fraxtal DeFi) in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
MIT
BAMM (Fraxtal DeFi) is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Add new capabilities to Claude beyond text generation
Example
Access external data sources, execute code, interact with tools and services
Transform Claude from chatbot to action-taking agent
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
Automate multi-step workflows combining AI and external tools
Example
Research → Summarize → Create document → Send notification
Complete complex tasks end-to-end without manual steps
Share your MCP server with the developer community
Strong directory entry: BAMM (Fraxtal DeFi) surfaces stars and publisher context so we could sanity-check maintenance before adopting.
I recommend BAMM (Fraxtal DeFi) for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
According to our notes, BAMM (Fraxtal DeFi) benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
We wired BAMM (Fraxtal DeFi) into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
BAMM (Fraxtal DeFi) reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
Strong directory entry: BAMM (Fraxtal DeFi) surfaces stars and publisher context so we could sanity-check maintenance before adopting.
According to our notes, BAMM (Fraxtal DeFi) benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
I recommend BAMM (Fraxtal DeFi) for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
BAMM (Fraxtal DeFi) is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.
Useful MCP listing: BAMM (Fraxtal DeFi) is the kind of server we cite when onboarding engineers to host + tool permissions.
showing 1-10 of 63
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.
To use this server without installing it globally:
npx @iqai/mcp-bamm
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"
}
}
}
}
| Variable | Required | Description | Default |
|---|---|---|---|
WALLET_PRIVATE_KEY | Yes | Private key of the wallet for signing transactions | - |
Security Note: Handle your private key with extreme care. Ensure it is stored securely and only provided to trusted MCP client configurations.
ADD_COLLATERALAdd collateral to your BAMM position
| Parameter | Type | Required | Description |
|---|---|---|---|
bammAddress | string | Yes | The address of the BAMM contract |
amount | string | Yes | The amount of collateral to add |
collateralToken | string | The address of the collateral token | |
collateralTokenSymbol | string | The symbol of the collateral token (e.g., 'IQT') |
BORROWBorrow tokens from a BAMM position
| Parameter | Type | Required | Description |
|---|---|---|---|
bammAddress | string | Yes | The address of the BAMM contract |
amount | string | Yes | The amount to borrow |
borrowToken | string | The address of the token to borrow | |
borrowTokenSymbol | string | The symbol of the token to borrow (e.g., 'IQT') |
LENDLend Fraxswap LP tokens to a BAMM contract
| Parameter | Type | Required | Description |
|---|---|---|---|
bammAddress | string | Yes | The address of the BAMM contract |
amount | string | Yes | The amount of LP tokens to lend |
REMOVE_COLLATERALRemove collateral from your BAMM position
| Parameter | Type | Required | Description |
|---|---|---|---|
bammAddress | string | Yes | The address of the BAMM contract |
amount | string | Yes | The amount of collateral to remove |
collateralToken | string | The address of the collateral token | |
collateralTokenSymbol | string | The symbol of the collateral token (e.g., 'IQT') |
REPAYRepay borrowed tokens to a BAMM position
| Parameter | Type | Required | Description |
|---|---|---|---|
bammAddress | string | Yes | The address of the BAMM contract |
amount | string | Yes | The amount to repay |
borrowToken | string | The address of the token to repay | |
borrowTokenSymbol | string | The symbol of the token to repay (e.g., 'IQT') |
WITHDRAWWithdraw LP tokens from a BAMM contract by redeeming BAMM tokens
| Parameter | Type | Required | Description |
|---|---|---|---|
bammAddress | string | Yes | The address of the BAMM contract |
amount | string | Yes | The amount of BAMM tokens to withdraw |
pnpm run build
pnpm run watch
pnpm run lint
pnpm run format
src/tools/: Individual tool definitionssrc/services/: API client and business logicsrc/lib/: Shared utilitiessrc/index.ts: Server entry pointThis 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.
Prerequisites
Time Estimate
15-60 minutes depending on server complexity
Steps
Troubleshooting
✓ Do
✗ Don't
💡 Pro Tips
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
Compatibility
✓ Use when
Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.
✗ Avoid when
Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.