MCP.so
Sign In
Servers
F

Fraxlend Mcp Server

@IQAIcom

This is a Model Context Protocol (MCP) server to interact with the Fraxlend platform. It allows MCP-compatible clients (like AI assistants, IDE extensions, or custom applications) to access Fraxlend functionalities such as viewing lending statistics, lending, borrowing, adding/re

Overview

What is Fraxlend Mcp Server?

A server that integrates with the Fraxlend protocol, providing MCP tools to fetch statistics, lend, borrow, and manage collateral for Fraxlend lending pairs. It is designed for DeFi developers and users interacting with Fraxlend on the blockchain.

How to use Fraxlend Mcp Server?

Configure the server with a WALLET_PRIVATE_KEY environment variable for write operations (LEND, BORROW, ADD_COLLATERAL, REMOVE_COLLATERAL, REPAY, WITHDRAW). Invoke MCP tools by specifying the tool name and required parameters (e.g., pairAddress, amount, collateralToken, borrowedToken).

Key features of Fraxlend Mcp Server

  • Fetch statistics for a specific Fraxlend pair.
  • Lend assets to a specific Fraxlend pair.
  • Borrow assets from a specific Fraxlend pair.
  • Add or remove collateral for a Fraxlend pair.
  • Repay borrowed assets or withdraw lent assets.
  • Get pair address from token addresses.

Use cases of Fraxlend Mcp Server

  • Retrieve real-time stats for a Fraxlend lending pair.
  • Automate lending and borrowing strategies on Fraxlend.
  • Manage collateral positions programmatically across multiple pairs.
  • Build a portfolio dashboard that tracks and interacts with Fraxlend pairs.

FAQ from Fraxlend Mcp Server

Do I need a private key to use this server?

Yes, write operations (LEND, BORROW, ADD_COLLATERAL, REMOVE_COLLATERAL, REPAY, WITHDRAW) require setting the WALLET_PRIVATE_KEY environment variable. The read-only tool LENDING_STATS and PAIR_ADDRESS do not need it.

What parameters does each tool require?

All tools require a pairAddress (string). LEND, BORROW, ADD_COLLATERAL, REMOVE_COLLATERAL, REPAY, and WITHDRAW also need an amount (string). PAIR_ADDRESS requires collateralToken and borrowedToken (both strings).

Which tools are read-only?

LENDING_STATS and PAIR_ADDRESS are read-only. All other tools modify on-chain state.

Tags

More from Other