Back to Browse

Lighter Agent MCP Server

Developer ToolsUse Caution4.8MCP RegistryLocal
Free

Server data from the Official MCP Registry

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

About

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

Security Report

4.8
Use Caution4.8High Risk

This is a well-architected MCP server for the Lighter perpetuals exchange with strong security practices. The code demonstrates proper authentication controls, comprehensive input validation, and deliberate permission scoping. The server correctly delegates sensitive signing operations to a vendored, hash-checked WebAssembly module and implements a mandatory notional cap on orders before signatures are produced. Minor observations around error handling breadth and logging practices do not materially impact the security posture. Supply chain analysis found 3 known vulnerabilities in dependencies (2 critical, 1 high severity). Package verification found 1 issue (1 critical, 0 high severity).

5 files analyzed · 7 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

Unverified package source

We couldn't verify that the installable package matches the reviewed source code. Proceed with caution.

What You'll Need

Set these up before or after installing:

Deployment to read: mainnet, testnet, or robinhood. Defaults to mainnet.Optional

Environment variable: LIGHTER_NETWORK

Sub-account the agent trades from. Read-only tools work without it.Optional

Environment variable: LIGHTER_ACCOUNT_INDEX

API key slot bound to the sub-account, 0 to 254.Optional

Environment variable: LIGHTER_API_KEY_INDEX

API key private key. Full write authority over the account it is bound to, so use a dedicated sub-account.Required

Environment variable: LIGHTER_API_KEY_PRIVATE_KEY

Per-order notional ceiling in USD. Required before any order can be signed.Optional

Environment variable: LIGHTER_MAX_NOTIONAL_USD

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.Optional

Environment variable: LIGHTER_CHAIN_ID

Read-only token for account observation without a signing key.Required

Environment variable: LIGHTER_READ_ONLY_TOKEN

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-winter0x-lighter-mcp": {
      "env": {
        "LIGHTER_NETWORK": "your-lighter-network-here",
        "LIGHTER_CHAIN_ID": "your-lighter-chain-id-here",
        "LIGHTER_ACCOUNT_INDEX": "your-lighter-account-index-here",
        "LIGHTER_API_KEY_INDEX": "your-lighter-api-key-index-here",
        "LIGHTER_READ_ONLY_TOKEN": "your-lighter-read-only-token-here",
        "LIGHTER_MAX_NOTIONAL_USD": "your-lighter-max-notional-usd-here",
        "LIGHTER_API_KEY_PRIVATE_KEY": "your-lighter-api-key-private-key-here"
      },
      "args": [
        "-y",
        "lighter-agent"
      ],
      "command": "npx"
    }
  }
}

Reviews

No reviews yet

Be the first to review this server!