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
创思大模型安全 MCP
A content security protection system for large language models, providing real-time risk identification and interception to ensure safe and compliant applications.
Smart Home Device Control
Control smart home devices and query information by connecting large models to smart home backend APIs.
Ecovacs Robot Control
Control and query the status of Ecovacs cleaning robots using the MCP protocol.
Crypto Price & Market Analysis (JJ Fork)
Provides real-time cryptocurrency price data, market analysis, and historical trends using the CoinCap API.
Weather MCP Server
Provides real-time weather alerts and detailed forecasts for US locations using the National Weather Service API.
Current Time JST
Provides the current time in Japan Standard Time (JST, UTC+9).
Flyworks MCP
A server for creating fast and free lipsync videos for digital avatars, supporting both realistic and cartoon styles.
SpaceTraders
An MCP server for interacting with the SpaceTraders API, a space-based trading and exploration game.
Armor Crypto MCP
MCP to interface with multiple blockchains, staking, DeFi, swap, bridging, wallet management, DCA, Limit Orders, Coin Lookup, Tracking and more.
Swift Tarot
Provides tarot card readings, including single card draws, multi-card spreads, and full deck access.