BAMM MCP Server

BAMM MCP Server

bamm-fraxtal-defi•byiqaicom

A Model Context Protocol server that lets AI agents interact with BAMM contracts on Fraxtal for position management, lending, borrowing, and collateral operations.

License: MIT•Runtime: Awaiting documentation review•Category: finance crypto

WHAT IT DOES

  • •Views and manages active BAMM positions across all pools.
  • •Lends Fraxswap LP tokens to BAMM contracts to earn yield and borrows tokens against BAMM position collateral.
  • •Adds or removes collateral from BAMM positions and accesses statistics for all BAMM pools.

BEST FOR

  • •Checking current BAMM positions and viewing stats for all BAMM pools.
  • •Lending LP tokens, borrowing FRAX, and repaying borrowed FRAX on a BAMM position.
  • •Adding or removing collateral and withdrawing LP tokens from BAMM positions.

ABOUT BAMM-FRAXTAL-DEFI

BAMM MCP Server is cataloged as an MCP server attributed to iqaicom. A Model Context Protocol server that lets AI agents interact with BAMM contracts on Fraxtal for position management, lending, borrowing, and collateral operations. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for BAMM MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What blockchain does the BAMM MCP Server interact with?

It interacts with BAMM contracts on the Fraxtal blockchain.

Can it lend Fraxswap LP tokens to BAMM contracts?

Yes; the server supports lending Fraxswap LP tokens to BAMM contracts to earn yield.

What collateral operations are supported for BAMM positions?

Collateral can be added to or removed from BAMM positions.

上游原版 README

在 GitHub 查看同一版本原文

README.md · c6cafc5d2fba · 采集于 2026-11-13 08:15:58 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

BAMM MCP Server

npm version License: MIT

Overview

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.

Features

  • 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.

Installation

To use this server without installing it globally:

npx @iqai/mcp-bamm

Build from Source

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

Running with an MCP Client

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

Minimal Configuration

{
  "mcpServers": {
    "bamm": {
      "command": "npx",
      "args": ["-y", "@iqai/mcp-bamm"],
      "env": {
        "WALLET_PRIVATE_KEY": "your_wallet_private_key_here"
      }
    }
  }
}

Advanced Configuration (Local Build)

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

Configuration (Environment Variables)

VariableRequiredDescriptionDefault
WALLET_PRIVATE_KEYYesPrivate 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.

Usage Examples

Position Management

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

Lending & Borrowing

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

Collateral Operations

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

MCP Tools

ADD_COLLATERAL

Add collateral to your BAMM position

ParameterTypeRequiredDescription
bammAddressstringYesThe address of the BAMM contract
amountstringYesThe amount of collateral to add
collateralTokenstringThe address of the collateral token
collateralTokenSymbolstringThe symbol of the collateral token (e.g., 'IQT')

BORROW

Borrow tokens from a BAMM position

ParameterTypeRequiredDescription
bammAddressstringYesThe address of the BAMM contract
amountstringYesThe amount to borrow
borrowTokenstringThe address of the token to borrow
borrowTokenSymbolstringThe symbol of the token to borrow (e.g., 'IQT')

LEND

Lend Fraxswap LP tokens to a BAMM contract

ParameterTypeRequiredDescription
bammAddressstringYesThe address of the BAMM contract
amountstringYesThe amount of LP tokens to lend

REMOVE_COLLATERAL

Remove collateral from your BAMM position

ParameterTypeRequiredDescription
bammAddressstringYesThe address of the BAMM contract
amountstringYesThe amount of collateral to remove
collateralTokenstringThe address of the collateral token
collateralTokenSymbolstringThe symbol of the collateral token (e.g., 'IQT')

REPAY

Repay borrowed tokens to a BAMM position

ParameterTypeRequiredDescription
bammAddressstringYesThe address of the BAMM contract
amountstringYesThe amount to repay
borrowTokenstringThe address of the token to repay
borrowTokenSymbolstringThe symbol of the token to repay (e.g., 'IQT')

WITHDRAW

Withdraw LP tokens from a BAMM contract by redeeming BAMM tokens

ParameterTypeRequiredDescription
bammAddressstringYesThe address of the BAMM contract
amountstringYesThe amount of BAMM tokens to withdraw

Development

Build Project

pnpm run build

Development Mode (Watch)

pnpm run watch

Linting & Formatting

pnpm run lint
pnpm run format

Project Structure

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

Resources

Disclaimer

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.

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for BAMM MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/bamm-fraxtal-defi)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related finance crypto MCP Servers

Alternative and complementary servers in the same category

View all in finance crypto →
USA Spending MCP Server
usaspending-mcp-server•thsmale

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

Repository stats unavailable
Finance & Analytics
Fortnox MCP server — More AI
more-ai-chatgpt-claude-mcp-fortnox•amor3

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

0
Finance & Analytics

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.

Repository stats unavailable
Finance & Analytics