본문으로 건너뛰기
Skillpedia
커넥터 (MCP)5.3k · #15014

autorag-lite-setup

하는 일

이 스킬은 AutoRAG Lite MCP 서버를 설정하고, 승인된 폴더를 고르고, 검색 색인을 만들며, 검색이 작동하는지 테스트합니다. 검색 모델을 설정하지 않고 문서 검색을 원하는 사람을 위한 것입니다.

사용하는 경우

  • ✓autorag-mcp 서버가 없거나 연결에 실패할 때.
  • ✓AutoRAG Lite 검색 색인이 오래되었을 때.
  • ✓문서 폴더를 AutoRAG Lite에 추가하고 싶은 경우.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/Marker-Inc-Korea/AutoRAG/blob/main/skills/autorag-lite-setup/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 에이전트가 컴퓨터의 notes 폴더를 검색할 수 있도록 AutoRAG Lite를 설정해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 패키지를 설치하고, 도구에 서버를 등록하며, 승인된 폴더의 색인을 만든 뒤 테스트 검색을 실행합니다. 원본 파일은 절대 바꾸지 않습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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.

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

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

lite init writes the configured model-free lifecycle config. Use --force only when intentionally replacing an existing config, and target it with an explicit path (--config or AUTORAG_CONFIG); --force refuses to replace the implicit ~/.autorag/config.json. Explicit user paths win; otherwise propose one to three document-dense roots and get approval before indexing. Supported parsed formats are md, markdown, txt, text, pdf, docx, pptx, xlsx, xlsm, xlsb, xls, ods, csv, tsv, hwp, hwpx, and eml. Legacy .doc is not a supported parsed format.

Config resolution follows the usual order: --config, AUTORAG_CONFIG, $AUTORAG_HOME/config.json, or ~/.autorag/config.json. Environment overrides include AUTORAG_HOME, AUTORAG_CONFIG, AUTORAG_SEARCH_PATHS, AUTORAG_WORKSPACE, and AUTORAG_MEMORY_PATH.

Register and verify the MCP connection

After config and datasource setup, register the server with the host. Use absolute config, search root, workspace, and executable paths: hosts may start the server from a different working directory or with a restricted PATH. Resolve command -v autorag-mcp and substitute its absolute path below. Inspect an existing autorag registration first; keep a working registration and update only an outdated command or config path.

# Claude Code: project-local registration
claude mcp add --transport stdio --scope local autorag \
  --env AUTORAG_CONFIG=/absolute/path/to/.autorag/config.json \
  -- /absolute/path/to/autorag-mcp

# Codex: user registration
codex mcp add autorag \
  --env AUTORAG_CONFIG=/absolute/path/to/.autorag/config.json \
  -- /absolute/path/to/autorag-mcp

For other hosts, use their stdio MCP configuration with the same command, empty arguments, and AUTORAG_CONFIG environment variable. The host starts the subprocess; do not run it as a background HTTP service. Pass any required credential environment-variable names through the host's secret mechanism; never put credential values in registration examples or logs.

Reload/reconnect the host, then use MCP tools/list to discover the actual tools and schemas. Verify autorag.status, autorag.refresh, autorag.search, autorag.search.files, and autorag.datasources.list are available. Configured integrated datasources add their own search tools; do not assume a fixed count. Run autorag.status and autorag.datasources.list through MCP, then refresh and search a known phrase from an approved document. Registration alone is not proof of a connected or searchable server. After config changes, restart the server so datasource tools are rebuilt.

AUTORAG_MCP_READ_ONLY=1 omits refre

자주 묻는 질문

이 설정에 AI 모델 키가 필요한가요?

아닙니다. AutoRAG Lite는 모델이 필요 없으므로, 이 설정은 검색 모델을 구성하지 않습니다.

먼저 무엇을 설치해야 하나요?

컴퓨터에 Node.js 24 이상 버전이 있어야 합니다. 패키지는 Bun이나 npm으로 설치할 수 있습니다.

색인 파일은 어디에 보관되나요?

작업 공간의 숨겨진 .autorag 폴더와 중앙 Jikji 데이터 폴더에 보관됩니다.

상세 정보

작성자의 원본 설명

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.

repo: Marker-Inc-Korea/AutoRAG

인기도

GitHub 스타
5.3k
순위
#15014
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬