Fraxlend Mcp Server
About
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
Details
- Author
- IQAIcom
- Downloads
- 325
- Categories
- Other
Jump to
- 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.
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Fraxlend Mcp ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
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).
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"fraxlend mcp server": {
"fraxlend-server": {
"command": "pnpm",
"args": [
"dlx",
"@iqai/mcp-fraxlend"
],
"env": {
"WALLET_PRIVATE_KEY": "your_wallet_private_key_here"
}
}
}
}
}
McpServers
{
"fraxlend-server": {
"command": "pnpm",
"args": [
"dlx",
"@iqai/mcp-fraxlend"
],
"env": {
"WALLET_PRIVATE_KEY": "your_wallet_private_key_here"
}
}
}
Features (MCP Tools)
The server exposes the following tools that MCP clients can utilize:
- LENDING_STATS: Fetch statistics for a specific Fraxlend pair.
- Parameters: pairAddress (string)
- LEND: Lend assets to a specific Fraxlend pair.
- Parameters: pairAddress (string), amount (string)
- Requires WALLET_PRIVATE_KEY in the environment.
- BORROW: Borrow assets from a specific Fraxlend pair.
- Parameters: pairAddress (string), amount (string)
- Requires WALLET_PRIVATE_KEY in the environment.
- ADD_COLLATERAL: Add collateral to a specific Fraxlend pair.
- Parameters: pairAddress (string), amount (string)
- Requires WALLET_PRIVATE_KEY in the environment.
- REMOVE_COLLATERAL: Remove collateral from a specific Fraxlend pair.
- Parameters: pairAddress (string), amount (string)
- Requires WALLET_PRIVATE_KEY in the environment.
- REPAY: Repay borrowed assets to a specific Fraxlend pair.
- Parameters: pairAddress (string), amount (string)
- Requires WALLET_PRIVATE_KEY in the environment.
- WITHDRAW: Withdraw lent assets from a specific Fraxlend pair.
- Parameters: pairAddress (string), amount (string)
- Requires WALLET_PRIVATE_KEY in the environment.
- PAIR_ADDRESS: Get the pair address for a specific Fraxlend pair.
- Parameters: collateralToken (string), borrowedToken (string)
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



