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
Brokerage-MCP
An MCP server for brokerage functionalities, built with the MCP framework.
Image
Fetch and process images from URLs, local file paths, and numpy arrays, returning them as base64-encoded strings.
MCP-TFT
Provides accurate Teamfight Tactics (TFT) analysis using Data Dragon and community meta insights.
OSINT MCP
Real-time OSINT intelligence platform for global security monitoring.
Korea Investment & Securities (KIS) REST API
Provides stock trading and market data using the Korea Investment & Securities (KIS) REST API.
Jade Dragon Snow Mountain
Provides live images, time-lapse videos, and current weather updates for Jade Dragon Snow Mountain.
News MCP
Provides access to news articles from a PostgreSQL database and offers a tool to summarize them using the OpenAI API.
Suppr-MCP (超能文献)
Suppr - AI-powered document translation and academic search service. Supports high-quality translation of PDF, DOCX, PPTX and other formats in 11 languages with optimized mathematical formula handling. Includes PubMed-integrated intelligent literature search for researchers. https://suppr.wilddata.cn/
Wordle MCP
Fetches the Wordle solution for a specific date, available from 2021-05-19 up to 23 days in the future.
PoshMCP
Expose explicitly whitelisted PowerShell commandlets as a MCP Tool