Skip to main content

Unlegacy setup CLI for external coding agents

Project description

unlegacy-cli

Installable CLI for connecting local coding agents to Unlegacy MCP.

Unlegacy generates repository documentation and knowledge graph data in the platform. This CLI configures external coding agents so they can consume that MCP surface.

Install

Published package:

uv tool install unlegacy-cli

or:

pip install unlegacy-cli

After install, the command is saved on the user's machine as:

unlegacy --help

From a checkout:

pip install .

or:

uv tool install .

One-shot setup without preinstalling:

uv tool run --from unlegacy-cli unlegacy setup --token mcp_live_xxx --endpoint https://app.unlegacy.ai/ai/mcp

Distribution

Build the package artifacts:

uv build

The build creates dist/unlegacy_cli-<version>.tar.gz and dist/unlegacy_cli-<version>-py3-none-any.whl. Publish those artifacts to the Python package index used by Unlegacy clients.

Setup

unlegacy setup

The flow:

  1. Shows the Unlegacy logo.
  2. Prompts for the MCP token from the Unlegacy frontend.
  3. Prompts for the MCP endpoint. Press Enter to use the local app endpoint: http://localhost:5173/ai/mcp.
  4. Lets the user select supported clients.
  5. Writes or merges MCP config.
  6. Installs the packaged unlegacy skill.
  7. Runs unlegacy doctor.

Non-interactive usage:

UNLEGACY_MCP_TOKEN=mcp_live_xxx \
unlegacy setup --client claude-code --client codex --endpoint https://app.unlegacy.ai/ai/mcp

For local development:

UNLEGACY_MCP_TOKEN=mcp_live_xxx \
unlegacy setup --client claude-code --client codex --endpoint http://localhost:5173/ai/mcp

Supported client values:

  • claude-code
  • codex
  • cursor
  • vscode-copilot
  • opencode
  • all

Commands

unlegacy setup
unlegacy doctor
unlegacy install-skills --client codex
unlegacy status

Development

uv run pytest

Project details


Download files

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

Source Distribution

unlegacy_cli-0.1.0.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

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

unlegacy_cli-0.1.0-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file unlegacy_cli-0.1.0.tar.gz.

File metadata

  • Download URL: unlegacy_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.1

File hashes

Hashes for unlegacy_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dd4d8a1525c1eb8bace7b0a6e94b95bbfbe11d16a87eed5c725a076a63824461
MD5 67c0e627fbf6db0877df09380772dd01
BLAKE2b-256 c93b9efe585b58edab5a9b89e1fa6fd3972d881512df462432ffe8dd69a56958

See more details on using hashes here.

File details

Details for the file unlegacy_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: unlegacy_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.1

File hashes

Hashes for unlegacy_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2085b61f3f6f8e9fea95f96c35005d079e3fe3af7adfa4d46f183651bc80e9b8
MD5 9b6c21c2c5d88c6f2f92b8bd07f4f97d
BLAKE2b-256 5444b2a1ff97460904528b32d74fbb84f8c86b94185c2fbb89f2659cd3443335

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page