Perp Cli
About
MCP server for perpetual futures trading across Pacifica (Solana), Hyperliquid (HyperEVM), and Lighter (Ethereum). 18 tools for market data, portfolio management, trade execution with dry-run safety, funding rate arbitrage scanning, and analytics.
Explore
- 3 Exchanges — trade, bridge, arbitrage across Pacifica, Hyperliquid, Lighter
- Funding Rate Arb — perp-perp + spot-perp scan & one-command dual-leg execution
- Portfolio — single call returns balances, positions, risk level across all exchanges
- Funds — deposit, withdraw, CCTP bridge, internal transfer in one group
- Bots — TWAP, grid, DCA, trailing-stop with background job management
- Agent-First Design — --json, --fields, --ndjson, --dry-run, runtime schema introspection
- Safety — pre-trade validation, response sanitization, client-id deduplication
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Perp CliCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install globally with npm install -g perp-cli, set exchange keys using perp wallet set, then run commands such as perp --json portfolio. For MCP server use npx -y perp-cli perp-mcp in your MCP client config.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"perp cli": {
"perp-cli": {
"command": "npx",
"args": [
"-y",
"-p",
"perp-cli",
"perp-mcp"
],
"env": {
"HYPERLIQUID_PRIVATE_KEY": "<YOUR_EVM_KEY>",
"PACIFICA_PRIVATE_KEY": "<YOUR_SOLANA_KEY>",
"LIGHTER_PRIVATE_KEY": "<YOUR_EVM_KEY>"
}
}
}
}
}
McpServers
{
"perp-cli": {
"command": "npx",
"args": [
"-y",
"-p",
"perp-cli",
"perp-mcp"
],
"env": {
"HYPERLIQUID_PRIVATE_KEY": "<YOUR_EVM_KEY>",
"PACIFICA_PRIVATE_KEY": "<YOUR_SOLANA_KEY>",
"LIGHTER_PRIVATE_KEY": "<YOUR_EVM_KEY>"
}
}
}
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



