Metadata-Version: 2.5
Name: lightnow-cli
Version: 1.7.1
Summary: Official LightNow CLI for MCP registry discovery, client config sync, and local MCP runner workflows
Project-URL: Homepage, https://github.com/lightnow-ai/lightnow-cli
Project-URL: Repository, https://github.com/lightnow-ai/lightnow-cli
Author: LightNow Team
License: Apache-2.0
License-File: LICENSE
Keywords: cli,lightnow,mcp,model-context-protocol,registry
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Utilities
Requires-Python: >=3.11
Requires-Dist: filelock>=3.16.1
Requires-Dist: httpx>=0.24.0
Requires-Dist: jsonschema>=4.17.0
Requires-Dist: packaging>=24.0
Requires-Dist: pydantic>=2.0.0
Requires-Dist: pyjwt>=2.8.0
Requires-Dist: pyyaml>=6.0.0
Requires-Dist: rich>=13.0.0
Requires-Dist: truststore>=0.10.0
Requires-Dist: typer>=0.9.0
Provides-Extra: dev
Requires-Dist: black>=23.0.0; extra == 'dev'
Requires-Dist: build>=1.2.0; extra == 'dev'
Requires-Dist: flake8>=6.0.0; extra == 'dev'
Requires-Dist: isort>=5.12.0; extra == 'dev'
Requires-Dist: mypy>=1.0.0; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.21.0; extra == 'dev'
Requires-Dist: pytest-cov>=4.0.0; extra == 'dev'
Requires-Dist: pytest-mock>=3.10.0; extra == 'dev'
Requires-Dist: pytest>=7.0.0; extra == 'dev'
Requires-Dist: responses>=0.23.0; extra == 'dev'
Requires-Dist: twine>=5.0.0; extra == 'dev'
Requires-Dist: types-jsonschema>=4.25.0; extra == 'dev'
Requires-Dist: types-pyyaml>=6.0.12; extra == 'dev'
Provides-Extra: keyring
Requires-Dist: keyring>=25.6.0; extra == 'keyring'
Description-Content-Type: text/markdown

# LightNow CLI

[![PyPI](https://img.shields.io/pypi/v/lightnow-cli.svg)](https://pypi.org/project/lightnow-cli/)

Find MCP servers and connect your AI assistants to the tools you manage in LightNow.

The CLI signs you in and configures your clients. [LightNow Proxy](https://github.com/lightnow-ai/lightnow-proxy)
runs their connections to the servers in your Runtime profiles.

## Get started

You need a [LightNow account](https://lightnow.ai/), an AI client and a Runtime
profile with the server connections you want to use.

### 1. Install the CLI and proxy

With Homebrew:

```sh
brew tap lightnow-ai/tap
brew install lightnow-cli lightnow-proxy
```

Or with [uv](https://docs.astral.sh/uv/getting-started/installation/) and Python 3.11 or later:

```sh
uv tool install lightnow-cli
uv tool install lightnow-proxy
```

[pipx](https://pipx.pypa.io/stable/installation/) is also supported.

### 2. Sign in and connect a client

If your client already has MCP servers, [review the import options](https://docs.lightnow.ai/how-to/import-existing-mcp-config)
before syncing.

```sh
lightnow login
lightnow sync --client codex --profile default --local-proxy
```

Replace `default` with your profile's name. Restart the client and check its MCP
tools list. The CLI supports Codex, Claude Code, Claude Desktop, Cursor, VS Code,
Antigravity, Gemini CLI and LibreChat.

See [Connect AI assistants](https://docs.lightnow.ai/getting-started/sync-mcp-clients)
for each client's setup and configuration paths.

For LibreChat, run the CLI and proxy on its backend and select its configuration:

```sh
lightnow sync --client librechat --profile default --local-proxy --config-path /path/to/librechat.yaml
```

LibreChat users with access to this connection share the backend account's
LightNow permissions. Reload LibreChat after changing its configuration.

### 3. Check the connection

```sh
lightnow status
lightnow config-status --client codex
lightnow-proxy --config ~/.lightnow/lightnow-proxy/codex.yaml --health
```

For help, see [Troubleshoot the connection](https://docs.lightnow.ai/how-to/debug-local-proxy).

## Useful commands

| Task | Command |
| --- | --- |
| Find servers | `lightnow search sonarqube` |
| View your favorites | `lightnow favorites` |
| Use organization-managed client settings | `lightnow sync --client codex --from-settings` |
| Check for updates | `lightnow update --check` |
| Update the CLI and proxy | `lightnow update` |

Use `lightnow --help` or `lightnow <command> --help` for available options.
For profiles, organization connections and other workflows, see the
[CLI reference](https://docs.lightnow.ai/reference/cli).

## Contributing

See [development setup](docs/development.md), [contributing](CONTRIBUTING.md),
[release process](docs/release.md) and [security policy](SECURITY.md).

## License

[Apache License 2.0](LICENSE).
