io.github.winter0x/lighter-mcp

Registre officiel E-commerce

Read Lighter perpetual markets and place guarded orders, including the H100 compute-price market.

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

NPM package lighter-mcp
Claude Code
claude mcp add lighter-mcp -e 'LIGHTER_NETWORK=mainnet' -e 'LIGHTER_ACCOUNT_INDEX=<LIGHTER_ACCOUNT_INDEX>' -e 'LIGHTER_API_KEY_INDEX=<LIGHTER_API_KEY_INDEX>' -e 'LIGHTER_API_KEY_PRIVATE_KEY=<your lighter_api_key_private_key>' -e 'LIGHTER_MAX_NOTIONAL_USD=<LIGHTER_MAX_NOTIONAL_USD>' -e 'LIGHTER_CHAIN_ID=<LIGHTER_CHAIN_ID>' -e 'LIGHTER_READ_ONLY_TOKEN=<your lighter_read_only_token>' -- npx -y lighter-mcp@0.1.1
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "lighter-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "lighter-mcp@0.1.1"
            ],
            "env": {
                "LIGHTER_NETWORK": "mainnet",
                "LIGHTER_ACCOUNT_INDEX": "<LIGHTER_ACCOUNT_INDEX>",
                "LIGHTER_API_KEY_INDEX": "<LIGHTER_API_KEY_INDEX>",
                "LIGHTER_API_KEY_PRIVATE_KEY": "<your lighter_api_key_private_key>",
                "LIGHTER_MAX_NOTIONAL_USD": "<LIGHTER_MAX_NOTIONAL_USD>",
                "LIGHTER_CHAIN_ID": "<LIGHTER_CHAIN_ID>",
                "LIGHTER_READ_ONLY_TOKEN": "<your lighter_read_only_token>"
            }
        }
    }
}

Variables d'environnement

  • LIGHTER_NETWORK Deployment to read: mainnet, testnet, or robinhood. Defaults to mainnet.
  • LIGHTER_ACCOUNT_INDEX Sub-account the agent trades from. Read-only tools work without it.
  • LIGHTER_API_KEY_INDEX API key slot bound to the sub-account, 0 to 254.
  • LIGHTER_API_KEY_PRIVATE_KEY secret API key private key. Full write authority over the account it is bound to, so use a dedicated sub-account.
  • LIGHTER_MAX_NOTIONAL_USD Per-order notional ceiling in USD. Required before any order can be signed.
  • LIGHTER_CHAIN_ID Layer-2 chain id bound into every signature. Mainnet uses 304 and testnet 300, so this is only needed on a deployment that publishes none.
  • LIGHTER_READ_ONLY_TOKEN secret Read-only token for account observation without a signing key.

Questions fréquentes

Qu'est-ce que io.github.winter0x/lighter-mcp ?

Read Lighter perpetual markets and place guarded orders, including the H100 compute-price market.

Comment installer io.github.winter0x/lighter-mcp ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add lighter-mcp -e 'LIGHTER_NETWORK=mainnet' -e 'LIGHTER_ACCOUNT_INDEX=<LIGHTER_ACCOUNT_INDEX>' -e 'LIGHTER_API_KEY_INDEX=<LIGHTER_API_KEY_INDEX>' -e 'LIGHTER_API_KEY_PRIVATE_KEY=<your lighter_api_key_private_key>' -e 'LIGHTER_MAX_NOTIONAL_USD=<LIGHTER_MAX_NOTIONAL_USD>' -e 'LIGHTER_CHAIN_ID=<LIGHTER_CHAIN_ID>' -e 'LIGHTER_READ_ONLY_TOKEN=<your lighter_read_only_token>' -- npx -y lighter-mcp@0.1.1. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour io.github.winter0x/lighter-mcp ?

Oui. Il attend LIGHTER_API_KEY_PRIVATE_KEY, LIGHTER_READ_ONLY_TOKEN, à renseigner dans sa configuration.

io.github.winter0x/lighter-mcp est-il open source ?

Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.

Qui maintient io.github.winter0x/lighter-mcp ?

Il est publié par winter0x. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.