Skip to main content

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

Configuration

Codex configures MCP servers via a TOML file. Add the following to ~/.codex/config.toml:
[mcp_servers.lighton]
url = "https://api.lighton.ai/mcp"
bearer_token_env_var = "CONSOLE_API_KEY"
bearer_token_env_var takes the name of an environment variable. Codex reads the value at runtime on every request. 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 .codex/config.toml at the root of your project.

Verification

  1. Open Codex and start a session.
  2. Use the /mcp command to list configured servers and verify that lighton appears in the output.
  3. Test the connection with a prompt like:
    Search my LightOn workspaces for documents about [topic]
    
You’re all set. From any Codex session you can now ask it to search or ingest documents in your LightOn workspaces directly.

References