get-supported-tokensLABSCO SUMMARY
The routing half needs nothing; the execution half holds your keys.
Only execute-swap and estimate-swap are marked as requiring wallet configuration — the rest read. That matters, because configuring them means putting a private key in an environment variable and giving the agent the ability to move funds on Base, Starknet or Scroll. Batch routing and batch transactions are Starknet-only.
What it is
A TypeScript server over Fibrous, a DEX aggregator. It covers the read side — supported tokens, protocols and best routes — and the write side, building or executing transaction data once wallet credentials are configured.
What you get
- The tokens and DEX protocols each network supports —
get-supported-tokens,get-supported-protocols - The best route for a swap, with a Starknet-only batch variant —
get-best-route,get-best-route-batch - Transaction data ready to sign, single or batched —
build-transaction,build-batch-transaction - Token details by address, and conversion between human and wei amounts —
get-token,format-token-amount - Swap execution and gas estimation, the two tools that require wallet configuration —
execute-swap,estimate-swap
Requirements
Node.js 18+ and pnpm. Routing and quoting need no key. Anything touching a wallet needs an RPC URL and a private key per network: BASE_RPC_URL and BASE_PRIVATE_KEY, STARKNET_RPC_URL, STARKNET_PRIVATE_KEY and STARKNET_PUBLIC_KEY, SCROLL_RPC_URL and SCROLL_PRIVATE_KEY. DEFAULT_SLIPPAGE sets slippage tolerance and FIBROUS_API_KEY is optional. Build with pnpm build and point the client at build/src/index.js. Networks covered are Base, Starknet and Scroll; the Fibrous API allows 200 req/min.
Setup effort
Build from source — git clone https://github.com/ahmetenesdur/fibrous-mcp.git
USE CASES
Comparing what a swap would actually cost
Get the optimal route for the pair and amount, and see which DEX protocols it goes through.
Preparing a transaction you will sign yourself
Generate the transaction data from a route and check the token addresses before anything is broadcast.
Batching several Starknet swaps
Route the batch in one call and generate the combined transaction data.
Getting the units right
Convert between human-readable amounts and wei so a decimal place does not become a hundredfold error.
10 tools
Listed in project docs. Your client may show a different list.
get-supported-protocolsget-best-routeget-best-route-batchbuild-transactionbuild-batch-transactionformat-token-amountget-tokenexecute-swapestimate-swapBEFORE YOU INSTALL
What to know first
Tools you get
10 tools named in the project's documentation.
Requires
Node.js 18+
INSTALLATION
Connect your client
You clone and build this one yourself.
Server setup
Build from source
# Clone repository
git clone https://github.com/ahmetenesdur/fibrous-mcp.git
cd fibrous-mcp
# Install dependencies
pnpm install
# Configure environment
cp .env.example .env
# Edit .env with your RPC URLs and private keys
# Build the project
pnpm buildConfiguration file
{
"mcpServers": {
"fibrous-mcp": {
"command": "node",
"args": [
"<YOUR_PATH_TO_FIBROUS_MCP>/build/src/index.js"
]
}
}
}