Supports cross-chain bridging operations via Hashport, allowing users to validate bridge parameters and get step-by-step instructions for transferring assets between Ethereum and the Hedera network.
Provides comprehensive access to the Hedera DeFi ecosystem, including tools for data analytics, transaction preparation, and asset management across platforms like SaucerSwap, Bonzo Finance, Stader, and HeliSwap.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@KawaFiFind the best yield farming opportunities on SaucerSwap"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
KawaFi - Hedera DeFi MCP Server
KawaFi provides unified access to the Hedera DeFi ecosystem through the Model Context Protocol (MCP), enabling AI assistants to interact with multiple DeFi platforms safely and efficiently.
š Overview
A comprehensive Model Context Protocol (MCP) server that provides unified access to major Hedera DeFi platforms including SaucerSwap, Bonzo Finance, Stader, HeliSwap, and Hashport. This server enables AI assistants and applications to interact with Hedera's DeFi ecosystem through 36 standardized tools covering data analytics, transaction preparation, and cross-platform operations.
⨠Features
š Dual-Mode Security System
Prepare Mode (Default): Generate unsigned transactions for external signing
Execute Mode (Advanced): Optionally sign and execute transactions directly
Security-First Design: Private keys only loaded when explicitly required
š Multi-Platform DeFi Integration
SaucerSwap: Leading AMM DEX (19 tools)
Bonzo Finance: Lending and borrowing (3 tools)
Stader: HBAR liquid staking (3 tools)
HeliSwap: Trading pair data (1 tool)
Hashport: Cross-chain bridging (10 tools)
š ļø Comprehensive Toolset
Data & Analytics: Real-time prices, pool reserves, APYs, lending rates
Transaction Preparation: Complete unsigned transaction data with proper encoding
Cross-chain Operations: Asset bridging across multiple networks
Yield Optimization: Staking, farming, and lending opportunities
š Tool Overview
Platform | Data Tools | Transaction Tools | Total | Status |
SaucerSwap | 10 | 9 | 19 | ā 100% Working |
Bonzo Finance | 3 | 0* | 3 | ā 100% Working |
Stader | 1 | 2 | 3 | ā 100% Working |
HeliSwap | 1 | 0 | 1 | ā 100% Working |
Hashport | 10 | 0 | 10 | ā 100% Working |
TOTAL | 25 | 11 | 36 | ā 100% Working |
*Bonzo transaction tools planned for future release
š§ Installation & Setup
Prerequisites
Node.js 18+
An MCP-compatible client (Claude Desktop, etc.)
1. Installation
2. Environment Configuration
Create a .env file with your desired configuration (see .env.example for reference):
3. MCP Client Configuration
Add to your MCP client:
Claude Desktop (:
4. Verification
š Available Tools
SaucerSwap (19 tools)
Data & Analytics Tools (10)
saucerswap_get_tokens- All available tokens with prices and metadatasaucerswap_get_stats- Platform statistics (TVL, volume, SAUCE circulation)saucerswap_get_sss_stats- Single-Sided Staking statistics and XSAUCE ratiosaucerswap_get_hbar_prices- Historical HBAR price data (minutely resolution)saucerswap_get_platform_data- Historical liquidity/volume data with intervalssaucerswap_get_farms- Active yield farming opportunitiessaucerswap_get_farms_by_account- LP token amounts in farms by accountsaucerswap_get_pools- All liquidity pools with reserves and token infosaucerswap_get_default_tokens- Default tokens with price changessaucerswap_get_v2_pools- V2 pools with advanced metrics (fees, ticks, liquidity)
Transaction Tools (9) š
saucerswap_quote_exact_input- Get swap quote for exact input amountsaucerswap_quote_exact_output- Get swap quote for exact output amountsaucerswap_swap_hbar_for_tokens- Prepare HBAR ā tokens swap with refundssaucerswap_swap_tokens_for_hbar- Prepare tokens ā HBAR swap with unwrappingsaucerswap_swap_tokens_for_tokens- Prepare token ā token swapssaucerswap_stake_sauce- Prepare SAUCE staking for xSAUCEsaucerswap_unstake_xsauce- Prepare xSAUCE unstaking for SAUCEsaucerswap_deposit_to_farm- Prepare LP token farm depositssaucerswap_withdraw_from_farm- Prepare LP token farm withdrawals
Other Platform Tools (17)
Bonzo Finance (3)
bonzo_get_reserves- All lending/borrowing reservesbonzo_get_account- Account positions and balancesbonzo_get_liquidations- Accounts eligible for liquidation
Stader (3)
stader_get_exchange_rate- Current HBAR to HBARX exchange ratestader_stake_hbar- Stake HBAR for HBARX (transaction)stader_unstake_hbarx- Unstake HBARX for HBAR (transaction)
HeliSwap (1)
heliswap_get_pair_info- Trading pair information
Hashport (10)
hashport_get_supported_assets- Bridge-supported assetshashport_get_supported_networks- All supported networkshashport_get_bridge_steps- Step-by-step bridging instructionshashport_validate_bridge- Validate bridge parametershashport_get_assets_amounts- Asset reserve amountshashport_get_transfers- Paginated transfer historyhashport_get_network_assets- Assets on specific networkshashport_get_network_asset_amounts- Asset amounts per networkhashport_get_network_asset_details- Detailed asset informationhashport_convert_hedera_tx_id- Transaction ID format conversion
šÆ Usage Examples
For comprehensive examples and test prompts for all 36 tools, see PROMPTS.md.
Basic DeFi Data
Transaction Preparation š
Analytics & Cross-chain
š Status & Testing
Current Status
Overall: 36/36 tools working (100% success rate)
Transaction Tools: 11/11 working (100% success rate)
Data Tools: 25/25 working (100% success rate)
Detailed Results
See TEST_RESULTS.md for:
Complete testing results with response sizes
Performance notes and API rate limiting info
Known issues and resolution steps
Platform-specific availability details
Known Issues
API Rate Limiting: Some SaucerSwap endpoints may timeout during high load
Network Dependencies: Stader and HeliSwap only available on mainnet
š”ļø Security & Transaction Modes
Prepare Mode (Recommended)
ā Secure: Private keys never loaded
ā Flexible: Sign with hardware wallets, dApps, or secure environments
ā Transparent: Complete unsigned transaction data provided
ā” Fast: No blockchain interaction delays
Execute Mode (Advanced)
ā ļø Security: Private key loaded in memory
ā” Convenient: Automatic transaction signing and submission
š Results: Returns transaction IDs and confirmations
šÆ Use Case: Automated strategies, trusted environments
Transaction Output Example
Prepare Mode Output:
šļø Architecture & Development
Project Structure
Development Commands
Technical Details
For complete technical overview, challenges, and architecture details, see SUBMISSION.md.
š Documentation Links
PROMPTS.md - Test prompts for all 36 tools
TEST_RESULTS.md - Comprehensive testing results (100% success rate)
SUBMISSION.md - Technical overview and project details
š¤ Contributing
Fork the repository
Create a feature branch:
git checkout -b feature/amazing-featureCommit changes:
git commit -m 'Add amazing feature'Push to branch:
git push origin feature/amazing-featureOpen a Pull Request
š Troubleshooting
Common Issues
Tools not appearing: Check MCP configuration and installation
API timeouts: SaucerSwap has rate limits
Contract errors: Verify network configuration
Missing transaction tools: Ensure Hedera credentials are set
Getting Help
Check TEST_RESULTS.md for current tool status
Review PROMPTS.md for working examples
Verify environment configuration matches requirements
š License
This project is licensed under the MIT License - see the LICENSE file for details.
š Acknowledgments
Model Context Protocol for the integration framework
Hedera for the blockchain infrastructure
DeFi platforms: SaucerSwap, Bonzo Finance, Stader, HeliSwap, Hashport
KawaFi - Unifying Hedera DeFi for AI assistants š¤ā”