Documentation Index
Fetch the complete documentation index at: https://developers.lighton.ai/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- OpenCode installed
- A LightOn API key from the LightOn Console
Configuration
OpenCode configures MCP servers via a JSON file. Add the following to~/.config/opencode/opencode.jsonc:
{env:CONSOLE_API_KEY} is OpenCode’s syntax for reading an environment variable at runtime. The key is never stored in the config file. Make sure CONSOLE_API_KEY is set in your shell environment, you can grab your key from the LightOn Console. To scope the server to a single project instead, place the same snippet in opencode.jsonc at the root of your project.Verification
-
List all configured MCP servers:
-
Confirm
lightonappears and shows as authenticated. -
Test the connection with a prompt like: