
edkdev/hyperliquid-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Hyperliquid MCP Server - 모델 Context 프로토콜을 통해 Hyperliquid에 대한 트레이딩 인터페이스
개요
공식 파이썬 SDK를 사용하여 Hyperliquid 영구 거래를위한 모델 Context Protocol (MCP) 서버. 이 서버는 Hyperliquid의 거래 플랫폼에 안전하고 신뢰할 수있는 액세스를 제공하는 AI 조수를 제공합니다. ✅ - 적절한 서명과 함께 공식 Hyperliquid Python SDK에 내장 된 ✅ - 모든 거래 엔드 포인트 : 주문, 위치, 시장 데이터, vaults ✅ - 에이전트 모드 지원과 서명 Proper EIP-712 ✅ - 원자 항목 + TP + SL 주문 배치 ✅ - 실시간 가격, 주문 책, 펀딩 요금, 촛불 ✅ - 위치, 균형, 채우기, 자금 조달 역사 ✅ - 라이브 시작하기 전에 안전한 테스트 전략 - Python 3.10 이상 - 패키지 관리를위한 uv 또는 uvx - 입금 된 자금이있는 Hyperliquid 계정 로컬 소스 코드에서 실행하는 경우, 이 설정을 사용: /path/to/hyperliquid-mcp를 복제한 저장소에 실제 경로로 바꾸십시오. 지갑은 거래하기 전에 Hyperliquid에 등록해야합니다. 1. https://app.hyperliquid.xyz로 이동 2. 지갑을 연결합니다 3.
개요(AI 번역)
공식 파이썬 SDK를 사용하여 Hyperliquid 영구 거래를위한 모델 Context Protocol (MCP) 서버. 이 서버는 Hyperliquid의 거래 플랫폼에 안전하고 신뢰할 수있는 액세스를 제공하는 AI 조수를 제공합니다.
특징
✅ ** 공식 SDK** - 적절한 서명을 가진 공식 Hyperliquid Python SDK에 내장 ✅Complete Coverage - 모든 거래 종료점: 주문, 위치, 시장 데이터, 볼트 ✅Secure - 에이전트 모드 지원으로 Proper EIP-712 서명 ✅ ** 팔찌 주문 ** - 원자 항목 + TP + SL 주문 배치 ✅Market Data - 실시간 가격, 주문서, 펀딩 요금, 촛불 ✅ Account Management - 위치, 균형, 채우기, 자금 조달 ✅ ** Testnet Support** - 생활하기 전에 안전한 테스트 전략
필수품
- Python 3.10 이상
- 포장 관리를 위한 uv 또는 uvx
- 입금된 자금으로 Hyperliquid 계정
설치
uvx 사용 (추천)
pip 사용
지역 개발
지역 개발 구성
로컬 소스 코드에서 실행하는 경우, 이 설정을 사용:
/path/to/hyperliquid-mcp]를 클로드 저장소에 실제 경로로 바꾸십시오.
구성
##1. Hyperliquid에 지갑 등록
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Hyperliquid MCP Server
A Model Context Protocol (MCP) server for Hyperliquid perpetual trading using the official Python SDK. This server provides AI assistants with secure, reliable access to Hyperliquid’s trading platform.
Features
✅ Official SDK - Built on the official Hyperliquid Python SDK with proper signing
✅ Complete Coverage - All trading endpoints: orders, positions, market data, vaults
✅ Secure - Proper EIP-712 signing with agent mode support
✅ Bracket Orders - Atomic entry + TP + SL order placement
✅ Market Data - Real-time prices, order books, funding rates, candles
✅ Account Management - Positions, balances, fills, funding history
✅ Testnet Support - Test strategies safely before going live
Prerequisites
Installation
Using uvx (Recommended)
# Install and run directly from PyPI
uvx --from mcp-hyperliquid hyperliquid-mcp
Using pip
# Install with pip
pip install mcp-hyperliquid
# Run
mcp-hyperliquid
Local Development
# Clone and install from source
git clone https://github.com/edkdev/hyperliquid-mcp.git
cd hyperliquid-mcp
uv sync
# Run locally
uv run python -m hyperliquid_mcp.server
Local Development Configuration
If you’re running from source code locally, use this configuration:
{
"mcpServers": {
"hyperliquid": {
"command": "uv",
"args": [
"--directory",
"/path/to/hyperliquid-mcp",
"run",
"python",
"-m",
"hyperliquid_mcp.server"
],
"env": {
"HYPERLIQUID_PRIVATE_KEY": "0x1234567890abcdef...",
"HYPERLIQUID_TESTNET": "false"
}
}
}
}
Replace /path/to/hyperliquid-mcp with the actual path to your cloned repository.
Configuration
1. Register Your Wallet on Hyperliquid
IMPORTANT: Your wallet must be registered on Hyperliquid before trading.
Mainnet:
- Go to https://app.hyperliquid.xyz
- Connect your wallet
- Deposit funds from Arbitrum One (any amount registers your wallet)
Testnet:
- Go to https://app.hyperliquid-testnet.xyz
- Connect your wallet
- Get testnet funds from the faucet or bridge
2. Configure Your MCP Client
Environment variables are now configured directly in your MCP client settings (no .env file needed).
Claude Desktop / Kiro
Add to your mcp.json configuration file:
{
"mcpServers": {
"hyperliquid": {
"command": "uvx",
"args": ["--from", "mcp-hyperliquid", "hyperliquid-mcp"],
"env": {
"HYPERLIQUID_PRIVATE_KEY": "0x1234567890abcdef...",
"HYPERLIQUID_TESTNET": "false"
}
}
}
}
Required Environment Variables:
HYPERLIQUID_PRIVATE_KEY- Your wallet’s private key for signing transactions
설치
uvx --from mcp-hyperliquid hyperliquid-mcp설정
{
"mcpServers": {
"hyperliquid": {
"command": "uv",
"args": [
"--directory",
"/path/to/hyperliquid-mcp",
"run",
"python",
"-m",
"hyperliquid_mcp.server"
],
"env": {
"HYPERLIQUID_PRIVATE_KEY": "0x1234567890abcdef...",
"HYPERLIQUID_TESTNET": "false"
}
}
}
}