lighter mcp for Cursor
io.github.winter0x/lighter-mcp
Read Lighter perpetual markets and place guarded orders, including the H100 compute-price market.
client:Cursor
transport:stdio
runtime:npm
Install lighter mcp in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"lighter-mcp": {
"type": "stdio",
"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>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs