perp-cli 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -0
- package/package.json +9 -2
package/README.md
CHANGED
|
@@ -158,6 +158,31 @@ Exchange flag: `-e hyperliquid` / `-e pacifica` / `-e lighter` (aliases: `hl`, `
|
|
|
158
158
|
|
|
159
159
|
Global flags: `--json`, `--fields <f>`, `--ndjson`, `--dry-run`, `--dex <name>` (HIP-3), `-w, --wallet <name>`.
|
|
160
160
|
|
|
161
|
+
## MCP Server
|
|
162
|
+
|
|
163
|
+
perp-cli includes a full-featured MCP server (18 tools, 3 resources, 2 prompts) for Claude Desktop, Cursor, and other MCP clients.
|
|
164
|
+
|
|
165
|
+
```json
|
|
166
|
+
{
|
|
167
|
+
"mcpServers": {
|
|
168
|
+
"perp-cli": {
|
|
169
|
+
"command": "npx",
|
|
170
|
+
"args": ["-y", "-p", "perp-cli", "perp-mcp"],
|
|
171
|
+
"env": {
|
|
172
|
+
"HYPERLIQUID_PRIVATE_KEY": "your-evm-key",
|
|
173
|
+
"PACIFICA_PRIVATE_KEY": "your-solana-key"
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
**Tools:** market data, portfolio, orderbook, funding rates, arb scanning, trade preview/execute (with dry-run safety), funding analysis, PnL analysis, arb comparison.
|
|
181
|
+
|
|
182
|
+
**Resources:** `market://prices`, `market://funding-rates`, `perp://schema`
|
|
183
|
+
|
|
184
|
+
**Prompts:** `trading-guide`, `arb-strategy`
|
|
185
|
+
|
|
161
186
|
## AI Agent Skill
|
|
162
187
|
|
|
163
188
|
Install as a skill for Claude Code, Cursor, Codex, Gemini CLI, etc.:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "perp-cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Multi-DEX Perpetual Futures CLI - Pacifica, Hyperliquid, Lighter",
|
|
5
5
|
"bin": {
|
|
6
6
|
"perp": "dist/index.js",
|
|
@@ -29,7 +29,14 @@
|
|
|
29
29
|
"cli",
|
|
30
30
|
"trading",
|
|
31
31
|
"funding-rate",
|
|
32
|
-
"arbitrage"
|
|
32
|
+
"arbitrage",
|
|
33
|
+
"mcp",
|
|
34
|
+
"mcp-server",
|
|
35
|
+
"model-context-protocol",
|
|
36
|
+
"ai-agent",
|
|
37
|
+
"perpetual-futures",
|
|
38
|
+
"defi",
|
|
39
|
+
"ethereum"
|
|
33
40
|
],
|
|
34
41
|
"license": "MIT",
|
|
35
42
|
"engines": {
|