/papertrade-alerts:papertrade-alertsfrom papertrade-alerts
Monitors Papertrade wallets on HyperEVM for liquidation risk and sends alerts via Discord or signed webhooks through an MCP server.
Ships in papertrade-alerts. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
papertrade-alerts is an unofficial, self-hostable Cloudflare Worker that polls Papertrade wallets and sends alerts. It hosts a stateless MCP server (Streamable HTTP) at https://papertrade-alerts.ninabrekkerese.workers.dev/mcp, which this plugin's .mcp.json registers. No tool signs, sends funds or places orders. Alerts are best effort and can be late or missed. High leverage can lose a whole margin: say so when a user relies on them.
To run your own instance instead, clone the repo, npm install, cp .dev.vars.example .dev.vars, npm run dev:site (serves on :8796), and point the MCP URL at <origin>/mcp. Deployment steps are in docs/self-hosting.md.
| Tool | Arguments | Notes |
|---|---|---|
get_service_status | none | Health of the service. |
list_alert_types | none | What can be alerted on. |
preview_wallet_alerts | address, optional rules | Live read of any wallet, no account needed. Start here. |
validate_destination | kind (discord or webhook), url | Checks a destination (https only, public hosts only). |
create_subscription | none | Returns a one-time management token ptal_.... It cannot be recovered, so show it once and tell the user to store it. |
add_destination | kind, url, optional label, token | Add a Discord webhook or a webhook signed with HMAC-SHA256. |
test_destination | destinationId, optional token | Send a test message. |
create_alert_rule | address, optional role (own or follow), label, rules, token | Watch a wallet. |
list_alert_rules | optional token | Rules and destinations with their ids. |
delete_alert_rule | ruleId, optional token | Remove a rule. |
rules is a partial object merged over defaults, and unknown keys are rejected: liquidation: {enabled, belowPct}, opened, closed, liquidated (booleans), balance: {enabled, changeUsd}, sessionKey: {enabled, withinDays} rewards: {enabled, aboveUsdc}. Call list_alert_types for the exact keys and limits before building one.
The management token goes in the token argument or an Authorization: Bearer ptal_... header. Anyone with the token manages that subscription. Never paste it into logs or commits. Destination URLs must be ones the user controls.
preview_wallet_alerts with {"address": "0x...", "rules": {"liquidation": {"enabled": true, "belowPct": 10}}} to see current risk.create_subscription, then keep the token.add_destination with {"kind": "discord", "url": "<their webhook>", "label": "trading", "token": "ptal_..."}, then test_destination.create_alert_rule with {"address": "0x...", "role": "own", "token": "ptal_..."}.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub nirholas/papertrade-alerts --plugin papertrade-alerts