Fibrous MCP Server
A server for Fibrous Finance, a DeFi aggregation platform.
Fibrous MCP Server
Model Context Protocol server integrating Fibrous Finance DeFi aggregation.
Overview
Fibrous MCP Server provides access to Fibrous Finance's DeFi aggregation technology through the Model Context Protocol (MCP). Enables optimal token swaps across Base, Starknet, and Scroll networks.
Features
đ ď¸ MCP Tools (6 Available)
get-supported-tokens
- Retrieve available tokens for any supported chainget-supported-protocols
- List all available DEX protocolsget-best-route
- Find optimal swap routesbuild-transaction
- Generate transaction dataformat-token-amount
- Convert between wei and readable amountsget-token
- Get token information by address
đ Supported Networks
- Base - Uniswap V3, Aerodrome, SwapBased
- Starknet - JediSwap, MySwap, 10kSwap, Ekubo
- Scroll - Uniswap V3, SyncSwap, iZiSwap
Installation
# Install dependencies
pnpm install
# Build project
pnpm build
# Start server
pnpm start
Development
# Development mode
pnpm dev
# Run tests
pnpm test
# Linting and formatting
pnpm format:lint
MCP Client Configuration
Claude Desktop
{
"mcpServers": {
"fibrous-mcp": {
"command": "node",
"args": ["/path/to/fibrous-mcp/build/index.js"]
}
}
}
Other MCP Clients
Compatible with any MCP client supporting stdio transport and MCP protocol version 2025-03-26.
Usage Examples
Get Supported Tokens
{
"name": "get-supported-tokens",
"arguments": { "chainName": "base" }
}
Find Best Route
{
"name": "get-best-route",
"arguments": {
"amount": "1000000000000000000",
"tokenInAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"tokenOutAddress": "0x4200000000000000000000000000000000000006",
"chainName": "base"
}
}
Build Transaction
{
"name": "build-transaction",
"arguments": {
"amount": "1000000000000000000",
"tokenInAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"tokenOutAddress": "0x4200000000000000000000000000000000000006",
"slippage": 1,
"receiverAddress": "0xYourWalletAddress",
"chainName": "base"
}
}
API Reference
- Fibrous API:
https://api.fibrous.finance
- Graph API:
https://graph.fibrous.finance
- Rate Limit: 200 requests/minute
- Supported Chains:
base
,starknet
,scroll
Contributing
- Fork the repository
- Create feature branch (
git checkout -b feature/name
) - Make your changes with tests
- Run tests (
pnpm test
) - Commit changes (
git commit -m 'Add feature'
) - Push to branch (
git push origin feature/name
) - Open Pull Request
License
MIT License - see LICENSE file for details.
Links
â ď¸ Disclaimer: This software is for educational purposes. DeFi operations involve financial risk. Always verify transactions and understand the risks.
Built with â¤ď¸ by the Fibrous Team
Website ⢠Documentation ⢠Discord ⢠X
Related Servers
Omics AI MCP Server
Interact with Omics AI Explorer networks for genomics research and data analysis.
UUčˇč ż MCP Server
Create orders on the uupt.com open platform using the MCP protocol.
Mureka
generate lyrics, song and background music(instrumental)
Gaggiuino MCP
An MCP server for the Gaggiuino open-source espresso machine, providing real-time local network access to machine status and shot data.
Trading MCP Server
An intelligent trading assistant that fetches live stock prices using the Yahoo Finance API.
GW2 MCP Server
Connects Large Language Models (LLMs) with Guild Wars 2 data sources. Requires a Guild Wars 2 API key for wallet functionality.
Time MCP Server
Provides current time and timezone conversion capabilities using IANA timezone names, with automatic system timezone detection.
Fundamental Labs/Minecraft Client
Control Minecraft bots with AI integration. Requires a Java Edition Minecraft server.
MCP GameBoy Server
Allows Large Language Models to interact with a GameBoy emulator via the serverboy MCP server.
BloodHound MCP
Enables Large Language Models to interact with BloodHound Community Edition data.