Skip to main content
Glama
LightNow Local Proxy

LightNow Local Proxy

Official
by lightnow-ai

LightNow MCP Proxy

PyPI Official MCP Registry Listed on LightNow

Connect your AI clients to the MCP servers in your LightNow profiles.

The proxy runs on your computer. Your AI client connects to it, and the proxy routes requests to the local or remote MCP servers you configure in LightNow. You manage server connections and credentials in LightNow instead of maintaining a separate server configuration in each client.

The LightNow CLI signs you in and configures your client. The LightNow Proxy runs the connection whenever the client needs MCP tools.

Get started

You need a LightNow account, an MCP client, and a Runtime profile containing the servers you want to use. Local servers also need their own runtimes, such as Node.js, Python or Docker, installed on your computer.

1. Install the CLI and proxy

With uv and Python 3.11 or later:

uv tool install lightnow-cli
uv tool install lightnow-proxy

Alternatively, install both with Homebrew:

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

Or with pipx:

pipx install lightnow-cli
pipx install lightnow-proxy

2. Sign in and connect a client

If your client already has MCP servers, import the configuration into a LightNow profile before syncing. Review the import preview to choose which connections to keep.

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

Use your profile's name in place of default if you have created a different profile. The CLI writes the client entry and its proxy configuration. Restart the client after syncing, then check its MCP tools list.

The CLI provides Local Proxy configuration for these clients:

Client

--client value

Codex

codex

Claude Code

claude-code

Claude Desktop

claude-desktop

Cursor

cursor

VS Code

vscode

Google Antigravity

antigravity

Gemini CLI

gemini-cli

For example, to configure Claude Code:

lightnow sync --client claude-code --local-proxy --profile default

See the client setup guide for client-specific instructions and configuration paths.

3. Check the connection

For the Codex connection created above:

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

config-status checks the client setup. --health resolves the profile and contacts its servers to check tool discovery. It reports healthy, degraded or failed, with details for each server. Add --json for machine-readable output.

Related MCP server: mcp-gateway

Use profiles and organization connections

Choose which servers a client can use through its Runtime profile in LightNow. The available tools come from those servers; the proxy includes no built-in business tools. It supports local stdio servers and remote Streamable HTTP servers, as well as resources exposed by those servers.

To add an organization connection, replace the organization ID and profile name with your own values:

lightnow sync --client codex --local-proxy \
  --connection lightnow-team --tenant <organization-id> --profile engineering

Sign in with the intended account before syncing. Give each connection a distinct lightnow-… alias when connecting several accounts or organizations to the same client. Existing connections stay bound to the account used to create them.

See Runtime profiles for server selection, credentials and organization access.

Activity and privacy

LightNow can show client presence, connection health and MCP request activity in the Control Plane. Runtime events include information such as the client, profile, server, tool name, outcome and duration.

Optional activity capture and tool-argument capture have separate settings. Argument capture is enabled by default; credential-like fields are redacted. Managed connection events omit argument values. Tool results, resource contents and resolved credentials are excluded from runtime events.

Managed connections also record the execution metadata required for their audit history, independently of optional activity capture. Optional activity reporting is best effort, so a missing event does not establish whether a tool ran.

See Inspect runtime events for the available views and capture settings, and Architecture for the request and data flows.

Troubleshooting

Symptom

What to check

The client cannot start lightnow-proxy

Confirm the proxy is installed and available on PATH, then sync again and restart the client.

Tools are missing

Check the selected profile, organization access and tool selection in LightNow. Run --health against that connection's generated YAML.

A local server cannot start

Check that its executable, runtime and required credentials are available on this computer.

The connection uses an unexpected account

Check which account owns the connection and sync it again under the intended account.

Named connections have separate proxy files. For the lightnow-team example, use ~/.lightnow/lightnow-proxy/codex-lightnow-team.yaml with --config.

For configuration help, see Manage runtime secrets and config.

Updates

lightnow update --check
lightnow update

The CLI supports updates for Homebrew, pipx and uv installations. Restart your MCP client after updating the proxy.

Contributing

Use Python 3.11 or later and uv to work on the source:

uv sync --locked --extra dev
uv run --locked --extra dev ruff check src tests examples
uv run --locked --extra dev pytest -q

See the contribution guidelines and release guide.

License

Apache License 2.0.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Local-first CLI + proxy that curates your MCP servers per client from one canonical config, cutting tool-schema tokens ~80% and resolving secret references instead of hardcoding keys.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables clients to access multiple backend MCP servers through a single endpoint, with OAuth 2.1 authorization, namespaced tools, and secure credential management.
      2
      AGPL 3.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables unified access to multiple MCP backend servers through one local daemon, with curated per-client tool profiles, allow/deny policies, audit logging, and drift protection.
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables teams to securely store and retrieve credentials, view decrypted secrets or live OAuth tokens, and connect to third-party MCP servers through a unified MCP endpoint.
      MIT