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.2.0.tar.gz (19.2 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.2.0-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: unlegacy_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 19.2 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.2.0.tar.gz
Algorithm Hash digest
SHA256 afb9859160826ff8d7b3c81986acdb60e6f8723bf9e413c01adbf6e5cdfccef9
MD5 a52fcc4f217be28ff343fcd7c550a52c
BLAKE2b-256 fb3cafab01e54d043f75f5e7a19e3131942787109e2ddbc39608d7612f3fd0ab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unlegacy_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 17.3 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ab56c2ab297077f642a9fffd15d665870cb148bb5145186017d0cd91d3c3897
MD5 09e19ec99b66617485504156c03e30f6
BLAKE2b-256 de1a2cd3ef551d4eb7aa589a30002ef11ffe5671ef8bc24bf9b6d9deb7ea0d84

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