> ## Documentation Index
> Fetch the complete documentation index at: https://lightsage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Install Lightsage MCP in Kilo

> Connect Kilo to Lightsage MCP with a remote MCP server entry.

Kilo supports remote MCP servers from `kilo.json`. Kilo Code also supports `kilo.jsonc`. Use this guide to connect Kilo to the hosted Lightsage MCP endpoint.

**1. Get your Lightsage API key**

Open the [Lightsage dashboard](https://app.lightsage.com/settings/api), copy your API key, and store it as `LIGHTSAGE_API_KEY`:

```bash theme={null}
export LIGHTSAGE_API_KEY="ls_cli_your_api_key"
```

Do not put your API key in shared project config, screenshots, issue reports, or public repositories.

**2. Add Lightsage MCP to Kilo**

Add Lightsage MCP to `~/.config/kilo/kilo.json` for global CLI access, or to `~/.config/kilo/kilo.jsonc` for Kilo Code. For one project, use `./kilo.json`, `./kilo.jsonc`, or `./.kilo/kilo.jsonc`:

```jsonc theme={null}
{
  "mcp": {
    "lightsage": {
      "type": "remote",
      "url": "https://mcp.lightsage.com/mcp",
      "enabled": true,
      "headers": {
        "X-Lightsage-Api-Key": "{env:LIGHTSAGE_API_KEY}"
      }
    }
  }
}
```

**3. Verify Kilo tools**

List configured MCP servers:

```bash theme={null}
kilo mcp list
```

In the Kilo TUI, use `/mcps` if you need to inspect or toggle MCP servers.

Then run a read-only prompt:

```text theme={null}
Use the Lightsage MCP server to check my Lightsage auth status.
```

See the [Kilo CLI MCP docs](https://kilo.ai/docs/automate/mcp/using-in-cli) and [Kilo Code MCP docs](https://kilo.ai/docs/automate/mcp/using-in-kilo-code).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.