Skip to main content
Glama

Hyperliquid MCP Server

by t3rmed
Dockerfile1.07 kB
# Use Python 3.11 slim image FROM python:3.11-slim # Set environment variables ENV PYTHONUNBUFFERED=1 ENV PYTHONDONTWRITEBYTECODE=1 ENV DOCKER_BUILDKIT=1 # Install system dependencies RUN apt-get update && apt-get install -y \ gcc \ g++ \ && rm -rf /var/lib/apt/lists/* # Install uv COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/ # Set working directory WORKDIR /app # Copy all files needed for package build COPY pyproject.toml uv.lock* LICENSE README.md ./ COPY hyperliquid_mcp_server/ ./hyperliquid_mcp_server/ # Install dependencies RUN uv sync --frozen --no-cache # Create non-root user RUN useradd --create-home --shell /bin/bash app \ && chown -R app:app /app USER app # Expose port (though MCP typically uses stdio) EXPOSE 8000 # Health check HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ CMD python -c "import hyperliquid_mcp_server; print('OK')" || exit 1 # Default command - MCP JSON-RPC server for n8n and MCP clients CMD ["uv", "run", "python", "-m", "hyperliquid_mcp_server.mcp_http_server"]

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/t3rmed/hyperliquid-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server