HyperEVM MCP
Enables interaction with Bitcoin on Hyperliquid (UBTC) through DeFi operations including lending, borrowing, and token swapping on the Hyperliquid EVM network.
Enables interaction with Ethereum on Hyperliquid (UETH) through DeFi operations including lending, borrowing, and token swapping on the Hyperliquid EVM network.
Enables interaction with Tether USD (USDT0) stablecoin through DeFi operations including lending, borrowing, and token swapping on the Hyperliquid EVM network via HyperLend protocol and Kittenswap DEX.
Click on "Deploy 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., "@HyperEVM MCP show my current lending positions and health factor"
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.
HyperEVM MCP
A Model Context Protocol server for interacting with HyperLend protocol and Kittenswap DEX on Hyperliquid EVM network. This MCP enables AI agents to perform DeFi operations including lending, borrowing, and token swapping.
Features
HyperEVM Protocol
Supply/Lend: Deposit assets to earn lending yield and enable borrowing capacity
Withdraw: Retrieve supplied assets and accrued interest
Borrow: Borrow assets against supplied collateral with variable or stable rates
Repay: Repay borrowed debt to reduce debt burden and improve health factor
Portfolio Management: Comprehensive account state and position tracking
Market Data: View all available lending markets and their parameters
Kittenswap DEX
Token Swapping: Automated token swaps with slippage protection
Multi-Pool Support: Support for different tick spacings and pool configurations
Native Token Support: Seamless HYPE (native) and wrapped token handling
Supported Tokens
HYPE - Native Hyperliquid token
WHYPE - Wrapped HYPE
wstHYPE - Wrapped Staked HYPE
UBTC - Bitcoin on Hyperliquid
UETH - Ethereum on Hyperliquid
USDe - Ethena USDe stablecoin
USDT0 - Tether USD
sUSDe - Staked USDe
Related MCP server: KAIA-MCP Server
Installation & Setup
1. Install globally
npm install -g hyperlend-mcp2. Set up environment variables
Using npx (recommended)
{
"mcpServers": {
"hyperlend": {
"command": "npx",
"args": ["hyperevm_mcp"],
"env": {
"PRIVATE_KEY": "your_private_key_here",
"RPC_URL": "https://rpc.hypurrscan.io" "[optional]"
}
}
}
}Option C: Create .env file
Create a .env file in your working directory:
PRIVATE_KEY=your_private_key_here
RPC_URL=https://rpc.hypurrscan.io <optional>⚠️ Security Note: Keep your private key secure and never share it publicly.
Available Tools
HyperLend Protocol Operations
hyperlendSupply
Supply/lend assets to HyperLend protocol
Parameters: token, amount, onBehalfOf (optional)
Example: Supply 100 USDT0 to earn lending yield
hyperlendWithdraw
Withdraw supplied assets and accrued interest
Parameters: token, amount ('max' for full withdrawal), to (optional)
Example: Withdraw all supplied WHYPE
hyperlendBorrow
Borrow assets against supplied collateral
Parameters: token, amount, interestRateMode (variable/stable), onBehalfOf (optional)
Example: Borrow 0.5 UETH against WHYPE collateral
hyperlendRepay
Repay borrowed debt
Parameters: token, amount ('max' for full repayment), interestRateMode, onBehalfOf (optional)
Example: Repay all UBTC debt
hyperlendAccountState
Get comprehensive account overview
Parameters: userAddress (optional), detailed (boolean)
Returns: Complete position data, health factor, borrowing capacity
hyperlendGetReserves
View all available lending markets
Parameters: detailed (boolean)
Returns: All supported tokens and their lending parameters
Kittenswap DEX Operations
kittenswapSwapTokens
Swap tokens on Kittenswap DEX
Parameters: tokenIn, tokenOut, amountIn, amountOutMinimum (optional), tickSpacing, slippageTolerance, deadline (optional)
Example: Swap 10 WHYPE for UBTC with 3% slippage tolerance
Usage Examples
Basic Lending Flow
# 1. Supply WHYPE as collateral
hyperlendSupply --token WHYPE --amount 100
# 2. Borrow USDT0 against collateral
hyperlendBorrow --token USDT0 --amount 50
# 3. Check account health
hyperlendAccountState --detailed true
# 4. Repay debt
hyperlendRepay --token USDT0 --amount max
# 5. Withdraw collateral
hyperlendWithdraw --token WHYPE --amount maxToken Swapping
# Swap HYPE for UBTC
kittenswapSwapTokens --tokenIn HYPE --tokenOut UBTC --amountIn 1.0 --slippageTolerance 3.0Network Information
Chain: Hyperliquid EVM (Chain ID: 998)
RPC URL: https://rpc.hypurrscan.io
Native Token: HYPE
HyperLend Protocol: Aave V3 fork optimized for Hyperliquid
Kittenswap: Uniswap V3 fork for Hyperliquid
Requirements
Node.js 18+
Hyperliquid EVM wallet with HYPE for gas fees
Private key for transaction signing
Security
Your private key stays local and is never shared
All transactions happen on-chain via Hyperliquid EVM network
Open source and auditable code
Built on battle-tested Aave V3 and Uniswap V3 protocols
Support
For issues and questions:
GitHub Issues: https://github.com/PlayAINetwork/hyperlend-mcp/issues
Documentation: Check the inline tool descriptions for detailed parameter information
License
MIT License - see LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Available Tools
8 toolsgetTokenDetailsB
Fetch comprehensive token details including price, market data, and trading metrics from DexScreener API
Inputs: tokenAddress (required).
hyperevmAccountStateA
Get comprehensive overview of your complete HyperLend position including collateral, debt, and health metrics
Inputs: detailed, userAddress.
hyperevmBorrowB
Borrow assets against supplied collateral from HyperLend protocol with variable or stable interest rates
Inputs: token (required), amount (required), onBehalfOf, interestRateMode.
hyperevmGetReservesB
View all available lending markets and their current parameters in HyperLend protoco
Inputs: detailed.
hyperevmRepayB
Repay borrowed debt to HyperLend protocol to reduce debt burden and improve health factor
Inputs: token (required), amount (required), onBehalfOf, interestRateMode.
hyperevmSupplyB
Supply/lend assets to HyperLend protocol lending pools on Hyperliquid EVM network to earn lending yield and enable borrowing capacity
Inputs: token (required), amount (required), onBehalfOf.
hyperevmWithdrawB
Withdraw supplied assets and accrued interest from HyperLend protocol lending pools back to your wallet
Inputs: token (required), amount (required), to.
kittenswapSwapTokensB
Swap tokens using Kittenswap DEX on Hyperliquid EVM network with automated routing and slippage protection
Inputs: tokenIn (required), amountIn (required), tokenOut (required), deadline, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool targets a distinct area: market data (getTokenDetails), lending market parameters (hyperevmGetReserves), swapping (kittenswapSwapTokens), and user lending actions (hyperevmSupply, Withdraw, Borrow, Repay, AccountState). No overlap or ambiguity.
Most tools use camelCase, but patterns vary: some prefix with 'hyperevm' or 'kittenswap', while 'getTokenDetails' lacks a prefix. The mix of verb placements (hyperevmGetReserves vs hyperevmSupply) is inconsistent, though still readable.
With 8 tools covering token info, lending/borrowing, and swapping, the set is well-scoped for a DeFi server. No unnecessary duplication or missing core functionality.
The tool surface covers essential DeFi operations: market data, lending market overview, supply, withdraw, borrow, repay, account state, and swapping. Minor gaps like approval or liquidation are acceptable for typical usage.
Maintenance
Related MCP Connectors
Trade Hyperliquid perps, stocks, gold, oil and pre-IPO from AI agents. Hosted; keys can't withdraw.
81Non-custodial DeFi tools for AI agents on Solana: swaps, perps, lending, staking, equities.
Crypto yield data for AI agents: lending, savings, staking, borrowing & stablecoin rates. 18 tools.
Non-custodial DeFi for AI agents: swaps, concentrated liquidity (V3/V4) zaps + ranges, 5 EVM chains
Related MCP Servers
- AlicenseAqualityNot gradedmaintenanceEnables interaction with the Hyperliquid DEX for retrieving market data, managing positions, and executing trades. Supports both testnet and mainnet operations with comprehensive trading tools including order placement, cancellation, and portfolio management.11MIT
- AlicenseBqualityDmaintenanceEnables AI agents to interact with DeFi protocols on the KAIA blockchain, including lending on KiloLend, token swaps on DragonSwap, price queries, and wallet operations through natural language.1355 npm2MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to securely trade on Hyperliquid perpetual exchange, including order placement, position management, market data retrieval, and vault operations via natural language.23 PyPI24MIT
- AlicenseBqualityDmaintenanceIntegrates with Hyperliquid DEX to enable trading, account management, and market data queries through natural language.1220 npm3MIT