xinPlugin_Chroma_fastMCP
xinPlugin_Chroma_fastMCP
MinIO 지식 베이스의 벡터 검색 계층: MinIO에 업로드된 문서(PDF/txt/md)의 텍스트를 추출 → 분할 → 벡터 저장(Chroma)하고, FastMCP를 통해 '검색'을 MCP 도구로 노출하여 DSH(DeepSeek Harness)의 dsh-mcp-client가 연결하고, agent가 질문에 답할 때 원문을 직접 검색할 수 있게 합니다.
구성
파일 | 역할 |
| Chroma 영속화 + 분할(페이지 번호/행 번호 포함) + 혼합 검색(의미 + 문자 바이그램 BM25, RRF 융합) |
| CLI 입고: |
| FastMCP stdio 서비스, |
| chromadb / fastmcp / pypdf |
Related MCP server: Modular RAG MCP Server
설치
pip install -r requirements.txt
# 首次检索会下载默认 embedding(all-MiniLM-L6-v2,约 80MB,缓存在 ~/.cache/chroma)사용
# 入库
python ingest.py "广州十五五规划.pdf" "广州十五五规划.pdf"
# 检索(或经 MCP 工具 search)
python -c "from chroma_store import search; import json; print(json.dumps(search('广州 人工智能+ 大模型 算力 数据要素', 6), ensure_ascii=False))"MCP 도구
search(query, top_k=6): 의미+키워드 혼합 검색, 원문 조각 및 출처(파일 + 페이지 번호 + 행 번호) 반환.ingest_file(path, source_name): 로컬 파일 입고.list_sources(): 입고된 소스 목록.
DSH 측은 stdio로 server.py에 연결(dsh-mcp-client), 도구 이름은 mcp__chroma__search 형태입니다.
검색 원리
분할: 페이지별로 텍스트를 추출하고 헤더/푸터/페이지 번호 노이즈를 필터링하며, 6행마다 하나의 블록(1행 중복)으로 만들고 메타데이터에
source/page/line_start/line_end를 기록합니다.혼합 검색: Chroma 의미 벡터(코사인) + 문자 바이그램 BM25 희소 검색, RRF 융합 — 중국어 의미 embedding이 약한 경우, BM25가 '대형 모델/연산력/데이터 요소' 등의 정확한 키워드를 보완하여 출처 위치 확인이 안정적입니다.
입고 시 희소 캐시가 즉시 무효화되며, 같은 파일을 다시 입고하면 덮어써서 업데이트합니다.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to search, deep-read, and build knowledge bases from Markdown, PDF, DOCX, and PPTX documents via MCP tools for retrieval, document navigation, and ingestion.70616MIT
- AlicenseNot gradedqualityBmaintenanceConverts unstructured documents into a searchable knowledge base and exposes retrieval tools via MCP protocol for AI agents to query.MIT
- FlicenseNot gradedqualityCmaintenanceMCP server that indexes a knowledge base into Chroma and provides search tools for retrieving document fragments via vector embeddings.
- FlicenseAqualityBmaintenanceA local-first document retrieval engine that mounts as an MCP tool for agents to index files, search for relevant passages, and let the agent's own LLM answer.4
Related MCP Connectors
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
Agentic search over your Dewey document collections from any MCP-compatible client.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/KimTsegzc/xinPlugin_Chroma_fastMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server