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:
- Shows the Unlegacy logo.
- Prompts for the MCP token from the Unlegacy frontend.
- Prompts for the MCP endpoint. Press Enter to use the local app endpoint:
http://localhost:5173/ai/mcp. - Lets the user select supported clients.
- Writes or merges MCP config.
- Installs the packaged
unlegacyskill. - 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-codecodexcursorvscode-copilotopencodeall
Commands
unlegacy setup
unlegacy doctor
unlegacy install-skills --client codex
unlegacy status
Development
uv run pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afb9859160826ff8d7b3c81986acdb60e6f8723bf9e413c01adbf6e5cdfccef9
|
|
| MD5 |
a52fcc4f217be28ff343fcd7c550a52c
|
|
| BLAKE2b-256 |
fb3cafab01e54d043f75f5e7a19e3131942787109e2ddbc39608d7612f3fd0ab
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ab56c2ab297077f642a9fffd15d665870cb148bb5145186017d0cd91d3c3897
|
|
| MD5 |
09e19ec99b66617485504156c03e30f6
|
|
| BLAKE2b-256 |
de1a2cd3ef551d4eb7aa589a30002ef11ffe5671ef8bc24bf9b6d9deb7ea0d84
|