From 46565b9249ce990595c06ef267a92a20bcc45f78 Mon Sep 17 00:00:00 2001 From: Andy Lee Date: Tue, 12 Aug 2025 17:54:45 -0700 Subject: [PATCH] docs: follows #34, patch leann backends into tool environment --- packages/leann-mcp/README.md | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/packages/leann-mcp/README.md b/packages/leann-mcp/README.md index eb86488..c7909d6 100644 --- a/packages/leann-mcp/README.md +++ b/packages/leann-mcp/README.md @@ -4,20 +4,12 @@ Transform your development workflow with intelligent code assistance using LEANN ## Prerequisites -**Step 1:** First, complete the basic LEANN installation following the [📦 Installation guide](../../README.md#installation) in the root README: +Install LEANN globally for MCP integration (with default backend): ```bash -uv venv -source .venv/bin/activate -uv pip install leann +uv tool install leann-core --with leann ``` - -**Step 2:** Install LEANN globally for MCP integration: -```bash -uv tool install leann-core -``` - -This makes the `leann` command available system-wide, which `leann_mcp` requires. +This installs the `leann` CLI into an isolated tool environment and includes both backends so `leann build` works out-of-the-box. ## 🚀 Quick Setup