# WenLong: Hyperliquid trading for AI agents

> Trade Hyperliquid perps, stocks, gold, oil and pre-IPO from AI agents. Hosted; keys can't withdraw.

- name: io.wenlong/hyperliquid
- version: 1.0.0
- connection class: R1 (autonomous)
- trust: 82/100 flags: no-repository
- quality: 89/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.wenlong%2Fhyperliquid
- tools: https://api.protogrid.dev/v1/servers/io.wenlong%2Fhyperliquid/tools

**An agent can connect on its own if it already holds `api_key`.** Remote endpoint behind a static API key or header. The registry never sees the value; the agent fills the placeholder.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "hyperliquid": {
      "type": "http",
      "url": "https://app.wenlong.io/api/mcp",
      "headers": {
        "Authorization": "Bearer ${api_key}"
      }
    }
  }
}
```

Placeholders to fill: `${api_key}`.

## Trust

- hygiene: 80
- liveness: 99
- freshness: 100
- provenance: 55
- drivers: +dns-namespace +website +reachable +uptime-97% +updated-18d-ago -no-repository
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 89/100 (good)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-06-18; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 94 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 8 of 8 tools declare readOnlyHint or destructiveHint
- warn `tools.directory_hints`: 3 of 8 tools declare all four hints; missing: get_open_orders (destructiveHint, idempotentHint); get_positions (destructiveHint, idempotentHint); get_account (destructiveHint, idempotentHint); …
- pass `tools.token_cost`: about 1,049 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool names, descriptions, schemas or annotations
- pass `tools.poisoning`: no instructions aimed at the model in tool definitions

### stability: 100 (weight 15)

- pass `stability.changes`: no tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name
- pass `stability.new_links`: no tool change named a new site

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 8, about 1,049 tokens to load them all
- tool set hash: 8db88868e584006bf30737b7d9fdadf9
- badge: [![protogrid quality](https://protogrid.dev/badge/io.wenlong/hyperliquid.svg)](https://protogrid.dev/servers/io.wenlong/hyperliquid)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

_No changes to tool, prompt or resource template definitions recorded._

## Remotes

- https://app.wenlong.io/api/mcp (streamable-http, auth api_key ${api_key}, reachable true, uptime30d 0.97183096)

## Packages

_none_

## Tools (8)

- `cancel_order`: Cancel one resting order by its order id (see get_open_orders).
- `close_position`: Close an open position at market (reduce-only). fraction in (0, 1], default 1 = the whole position.
- `get_account`: The account's balance: perp equity, free margin (available), margin in use, spot USDC, per extra dex.
- `get_markets`: Tradable markets with their mid price and maximum leverage. Main Hyperliquid dex by default; pass dex (e.g. xyz) for a builder dex.
- `get_open_orders`: Resting orders (limits and TP/SL triggers) with their order ids.
- `get_positions`: Open perpetual positions: side, size, entry, value, unrealized PnL, leverage, liquidation price.
- `get_price`: Current mid, mark and oracle price, funding and 24h volume for one market.
- `place_order`: Place a REAL order. Market orders are priced by WenLong from its own mark with a small slippage buffer. leverage (integer) is applied to the market before an opening order; omitted, the open position's leverage is used (required when there is no position). take_profit / stop_loss: on a limit order they ride the order; on a market order they are placed as reduce-only triggers after the fill.
