Skip to main content

LightNow CLI

PyPI

The LightNow CLI connects your local MCP clients with LightNow.

Use it to sign in, discover MCP servers, configure local AI clients such as Codex, Claude Desktop, Cursor, VS Code and Google Antigravity, and keep MCP server configuration and secrets managed by LightNow.

Install

Requirements for Python-based installs:

Install the CLI with Homebrew:

brew tap lightnow-ai/tap
brew install lightnow-cli

Install the CLI with pipx:

pipx install lightnow-cli

Or install it with uv:

uv tool install lightnow-cli

If you prefer installing directly from the public repository:

pipx install git+https://github.com/lightnow-ai/lightnow-cli.git

Sign In

lightnow login

The CLI opens a browser window for LightNow authentication. After sign-in, check your session with:

lightnow status

Find MCP Servers

Search the LightNow Registry:

lightnow search sonarqube

Show details for one server:

lightnow info io.github.SonarSource/sonarqube-mcp-server

Show your favorites:

lightnow favorites

Configure an MCP Client

The recommended setup is Local Proxy mode: your MCP client gets one LightNow entry and the local proxy resolves the configured MCP servers and secrets at runtime.

Install the Local Proxy executable first with Homebrew:

brew tap lightnow-ai/tap
brew install lightnow-proxy

Or install it with pipx:

pipx install lightnow-proxy

Or install it with uv:

uv tool install lightnow-proxy

The proxy package installs the lightnow-proxy command used in MCP client configs.

For local development from a checkout:

uv tool install --from /path/to/lightnow-proxy lightnow-proxy

Then sync your client:

lightnow sync --client codex --local-proxy

Multiple accounts and organizations

Each Local Proxy connection can have its own client alias, LightNow login, profile and personal or tenant scope. The sync command binds the connection to the account that is signed in at that moment; signing in with another account later does not silently move an existing connection. Connection aliases are either lightnow or start with lightnow- or lightnow_, so they remain TOML-safe and distinguishable from unmanaged local MCP servers.

For example, configure personal and organization connections side by side:

lightnow login
lightnow sync --client codex --local-proxy \
  --connection lightnow-personal --profile default

# Sign in with the organization account before creating this connection.
lightnow login
lightnow sync --client codex --local-proxy \
  --connection lightnow-acme --tenant <tenant-id> --profile engineering

Codex then exposes both lightnow-personal and lightnow-acme. Re-run sync with the same --connection value to update that connection. Account-bound sessions are stored separately under ~/.lightnow/sessions/; proxy YAML files contain only their path and expected identity, never access or refresh tokens.

Use lightnow config-status --client codex --json to inspect all connections, including their non-secret account, scope, profile and session-binding status. Signing in to another account preserves existing bound sessions. An explicit lightnow logout removes the active account's named session, so proxies bound to that account stop authenticating until it is signed in and synced again.

Other common clients:

lightnow sync --client claude-desktop --local-proxy
lightnow sync --client antigravity --local-proxy
lightnow sync --client cursor --local-proxy
lightnow sync --client vscode --local-proxy

Let LightNow choose the configured organization policy for a client:

lightnow sync --client codex --from-settings

When LightNow Config blocks unmanaged MCP servers, managed clients keep only the LightNow entry. When unmanaged servers are allowed, existing user-managed MCP entries stay in the client config and config-status reports mixed.

Check whether a client is configured as expected:

lightnow config-status --client codex
lightnow config-status --client claude-desktop --json
lightnow config-status --client cursor --json
lightnow config-status --client vscode --json

With metadata telemetry enabled, each Local Proxy sync also registers the machine and its client-specific Runtime Profile in the LightNow Control Plane. The CLI stores a stable installation UUID in its protected configuration and a separate stable client-instance UUID in each generated proxy configuration. It does not report IP or MAC addresses, serial numbers, local paths, or secrets.

For details, examples, diagrams and troubleshooting, see Connect MCP clients.

Direct Sync

Sync your default LightNow runtime profile into Codex:

lightnow sync --client codex

Preview changes before writing:

lightnow sync --client codex --dry-run

Use runner mode when you do not want secrets written into client configuration files:

lightnow sync --client codex --runner

For daemon-style local testing, --local-proxy-transport http writes a localhost Streamable HTTP entry instead of a stdio auto-start entry.

Note: Google has moved individual Gemini CLI users to Antigravity. LightNow keeps gemini-cli support for Enterprise/API-key environments, but antigravity is the recommended Google local client target for individuals.

Run One Server

Run a configured MCP server through LightNow:

lightnow run --profile default --server sonarqube

More Documentation

License

Apache-2.0. See LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lightnow_cli-1.3.0.tar.gz (92.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lightnow_cli-1.3.0-py3-none-any.whl (55.5 kB view details)

Uploaded Python 3

File details

Details for the file lightnow_cli-1.3.0.tar.gz.

File metadata

  • Download URL: lightnow_cli-1.3.0.tar.gz
  • Upload date:
  • Size: 92.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for lightnow_cli-1.3.0.tar.gz
Algorithm Hash digest
SHA256 e1a0ca8724637201d60ec00b4686837b7e878fb2438b10b332e949a31d393eb7
MD5 604f77e5e2717e4d0bc8eaea4c73945c
BLAKE2b-256 b34ce404af532ca0e86f3d5983e437f05b5767cd66a1220a78124ee8f04496f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for lightnow_cli-1.3.0.tar.gz:

Publisher: release.yml on lightnow-ai/lightnow-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lightnow_cli-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: lightnow_cli-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 55.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for lightnow_cli-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f3bd9c4c42d9248b877244d5693019ef9537494ec2e4785546e9bf0f8c24de8
MD5 e7a799ec709d62a15f69668b989e6742
BLAKE2b-256 67f2bd784c916e15fece45857861ae709715bf5c1466e96935e34121d8a442b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for lightnow_cli-1.3.0-py3-none-any.whl:

Publisher: release.yml on lightnow-ai/lightnow-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

1.5.0

2 files

1.4.0

2 files

1.3.1

2 files

This release

1.3.0 This release

2 files

1.2.0

2 files

1.1.0

2 files

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page