Skip to main content

Perps MCP Skill

Trade perpetual futures on Hyperliquid with real-time price feeds, position management, and order execution.

Server URL

What You Get

  • MCP tool: bash (commands in a persisted /workspace)
  • Built-in commands: commands, host-tools, sql, kv, ts-exec, workflow, skill, hook, event, apply_patch, and more
  • Prompt: perps_guide (if your client supports MCP prompts)

Host Tools

Key host tools available in this skill: Discover all available tools:

MCP Resources

Quick Install

Run in your terminal (not inside Claude Code):
Then restart Claude Code and run /mcp to trigger sign-in.

5-Minute Smoke Test

1

Connect and list tools

Run tools/list. Sign in when prompted. Confirm bash appears.
2

Echo test

Expected: ok
3

Discover host tools

Expected: help text
4

Find a tool

Expected: JSON with tool details
5

Get BTC perps price

Expected: JSON with current BTC perpetual futures price

Usage Patterns

  • Prefer host-tools <toolName> [input] for direct execution inside the sandbox
  • Perps MCP is default enabled for authenticated Gina users; no separate perps MCP feature flag is required
  • Keep discovery bounded: use --limit and --name to avoid context bloat
  • Use callTool(...) only inside ts-exec scripts
  • Treat /workspace/tools/host/* as generated stubs for advanced ts-exec usage, not the default discovery path
  • /workspace persists between calls, but each bash invocation starts a fresh shell session
  • The host tool surface is intentionally allowlisted

Safety Notes

Perpetual futures trading carries significant risk.
  • The sandbox can write files into your persisted /workspace
  • Host tools may execute trades and other financial actions
  • Start with price lookups and read-only operations before executing trades
  • Large position sizes require explicit confirmation