# Autorag Lite Setup

Install and register the model-free AutoRAG Lite MCP server, configure approved roots...

- Repository: https://github.com/Marker-Inc-Korea/AutoRAG (5251 stars)
- Category: AI and agents
- License: Apache-2.0
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add Marker-Inc-Korea/AutoRAG --skill autorag-lite-setup -g -a claude-code -y`
Codex: `npx skills add Marker-Inc-Korea/AutoRAG --skill autorag-lite-setup -g -a codex -y`
Cursor: `npx skills add Marker-Inc-Korea/AutoRAG --skill autorag-lite-setup -g -a cursor -y`
Gemini CLI: `npx skills add Marker-Inc-Korea/AutoRAG --skill autorag-lite-setup -g -a gemini-cli -y`

## Description

Install and register the model-free AutoRAG Lite MCP server, configure approved roots and datasources, build indexes, and verify MCP discovery and search. Use when autorag-mcp is missing, MCP connection fails, indexes are stale, or the user wants document search without configuring a search model.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# AutoRAG Lite setup

Use this skill only to bootstrap, register, or repair AutoRAG Lite MCP:
initialize trusted config, connect the host, build indexes, and verify search.
Normal Lite use is MCP tool calling, not a search skill or shell command.
Use `autorag-setup` instead when the model-backed librarian must be configured.

## Safety

- Inspect only non-secret config metadata: `searchPaths`, `workspacePath`,
  `memoryPath`, `minSync`, `jikji`, `datasources`.
- Never print, copy, migrate, compare, or persist credential values. Store only
  environment-variable names such as `tokenEnv` or `apiKeyEnv`.
- Setup and Lite commands never move, rename, edit, or delete source documents.
  They write indexes only under the configured workspace `.autorag/` directory
  and Jikji's central store (`<OS data dir>/jikji/`).
- Do not index system trees, app bundles, caches, credential stores,
  `node_modules`, `.git`, `dist`, `build`, `target`, `.cache`, `.autorag`, or
  `.jikji`.

## Install the package if needed

`@autorag/librarian` ships both `autorag` (bootstrap/maintenance) and
`autorag-mcp` (stdio server). The executable requires Node.js >= 24 on PATH.

```bash
command -v autorag-mcp >/dev/null || bun install -g @autorag/librarian
command -v autorag
command -v autorag-mcp
autorag lite --help
```

If Bun is unavailable, `npm install -g @autorag/librarian` is acceptable.
If only `autorag` exists, upgrade the package rather than substituting CLI
retrieval for MCP. For a source checkout, run `bun run build` and register the
absolute `dist/mcp/index.js` path instead of the installed executable.

## Initialize a model-free config

```bash
autorag lite init \
  --search-paths "/path/to/documents,/path/to/notes" \
  --workspace "/path/to/workspace" \
  --memory-path "/path/to/memory.json"
```

The rest: https://github.com/Marker-Inc-Korea/AutoRAG/blob/HEAD/skills/autorag-lite-setup/SKILL.md
