Skip to content
Zed

lighter mcp for Zed

io.github.winter0x/lighter-mcp

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

client:Zed transport:stdio runtime:npm

Install lighter mcp in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "lighter-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "lighter-mcp"
      ],
      "env": {
        "LIGHTER_NETWORK": "<LIGHTER_NETWORK>",
        "LIGHTER_ACCOUNT_INDEX": "<LIGHTER_ACCOUNT_INDEX>",
        "LIGHTER_API_KEY_INDEX": "<LIGHTER_API_KEY_INDEX>",
        "LIGHTER_API_KEY_PRIVATE_KEY": "<LIGHTER_API_KEY_PRIVATE_KEY>",
        "LIGHTER_MAX_NOTIONAL_USD": "<LIGHTER_MAX_NOTIONAL_USD>",
        "LIGHTER_CHAIN_ID": "<LIGHTER_CHAIN_ID>",
        "LIGHTER_READ_ONLY_TOKEN": "<LIGHTER_READ_ONLY_TOKEN>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

lighter mcp in other clients