
zackriya-solutions/mcp-markdown-rag
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
zackriya-solutions/mcp-markdown-rag는 MCP 서버 후보가 https://github.com/zackriya-solutions/mcp-markdown-rag.에서 수입되었습니다
개요
zackriya-solutions/mcp-markdown-rag는 MCP 서버 후보가 https://github.com/zackriya-solutions/mcp-markdown-rag.에서 수입되었습니다
개요(AI 번역)
MCP 마크 다운-RAG
Model Context Protocol (MCP) 서버는 Markdown 문서를 위한 local-first RAG engine를 제공합니다. 이 서버는 파일 기반 Milvus 벡터 데이터베이스를 사용하여 메모를 색인, 큰 언어 모델 (LLMs)을 사용하여 매혹적인 검색 및 로컬 파일에서 관련 콘텐츠를 검색합니다.
[!노트] 이 프로젝트는 적극적인 개발입니다. API 및 구현은 변경 될 수 있습니다. 우리는 완벽한 vault 통합을 위한 Obsidian 플러그인에 잠재적인 포트를 포함하여 미래 향상을 탐구하고 있습니다.
키 기능
✅ Local-First & Private: 모든 데이터는 로컬로 처리되고 저장됩니다. 인덱스를 위한 제3자 서비스로 전송되지 않습니다.
✅ ** Markdown의 검색 **: 간단한 키워드 검색을 넘어 이동. 개념적인 의미를 바탕으로 문서 섹션을 찾습니다.
✅ ** MCP 호환**: Claude Desktop, Windsurf 또는 Cursor와 같은 모든 MCP 지원 호스트 애플리케이션과 통합됩니다.
✅Simple Tooling: 지식베이스 관리 및 쿼리에 대한 두 개의 straightforward 도구 (index_documents 및 search])를 제공합니다.
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
A Model Context Protocol (MCP) server that provides a local-first RAG engine for your markdown documents. This server uses a file-based Milvus vector database to index your notes, enabling Large Language Models (LLMs) to perform semantic search and retrieve relevant content from your local files.
[!NOTE] This project is in active development. The API and implementation are subject to change. We are exploring future enhancements, including a potential port to an Obsidian plugin for seamless vault integration.
🎯 Key Features
✅ Local-First & Private: All your data is processed and stored locally. Nothing is sent to a third-party service for indexing.
✅ Semantic Search for Markdown: Go beyond simple keyword search. Find document sections based on conceptual meaning.
✅ MCP Compatible: Integrates with any MCP-supported host application like Claude Desktop, Windsurf, or Cursor.
✅ Simple Tooling: Provides two straightforward tools (index_documents and search) for managing and querying your knowledge base.
⚙️ How It Works
The server operates in two main phases, exposing its functionality through MCP tools.
-
Indexing:
- The
index_documentstool is called with a path to your markdown files. - The server reads the documents, splits them into logical chunks (e.g., by headings), and converts each chunk into a vector embedding.
- These embeddings, along with their metadata (original text, file path), are stored in a local Milvus vector database.
- You can run it in two modes:
- Full Reindex (force_reindex=True): Clears and rebuilds the entire index from scratch.
- Incremental Update (force_reindex=False, default): Automatically detects and re-indexes only changed files by comparing them against a tracking log. Deleted or modified chunks are pruned and replaced to keep the index up-to-date.
- Recursive Indexing (recursive=False, default): Recursively indexes all subdirectories.
- The
-
Searching:
- When you ask a question in a host application, it uses the
searchtool. - The server converts your query into a vector embedding.
- It then performs a similarity search against the Milvus database to find the most semantically relevant document chunks.
- When you ask a question in a host application, it uses the
설치
npx @modelcontextprotocol/inspector uv --directory /ABSOLUTE/PATH/TO/MCP-Markdown-RAG run server.py설정
{
"mcpServers": {
"markdown_rag": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/MCP-Markdown-RAG",
"run",
"server.py"
]
}
}
}