mcpField
L

lighter-mcp

Local
github.com/winter0xFinance

About lighter-mcp

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

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"winter0x-lighter": {
"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>"
}
}
}
}
Run commandnpx -y lighter-mcp
Environment variables to set
LIGHTER_NETWORKDeployment to read: mainnet, testnet, or robinhood. Defaults to mainnet.
LIGHTER_ACCOUNT_INDEXSub-account the agent trades from. Read-only tools work without it.
LIGHTER_API_KEY_INDEXSecretAPI key slot bound to the sub-account, 0 to 254.
LIGHTER_API_KEY_PRIVATE_KEYSecretAPI key private key. Full write authority over the account it is bound to, so use a dedicated sub-account.
LIGHTER_MAX_NOTIONAL_USDPer-order notional ceiling in USD. Required before any order can be signed.
LIGHTER_CHAIN_IDLayer-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_TOKENSecretRead-only token for account observation without a signing key.

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmlighter-mcp0.1.1

Tools

9

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
limitintegerNoMaximum markets to return, 1 to 100.
querystringNoCase-insensitive substring match on the ticker, for example "H100" or "SOL".

Details

The maintainer has not added details yet. Check the README in the repository.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.