GK

geeksfino/kb-mcp-server

Data science & ML

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

72 stars 19 forks 품질 81 트렌드 22MIT

geeksfino/kb-mcp-server는 MCP 서버 후보가 https://github.com/geeksfino/kb-mcp-server.에서 수입되었습니다

개요

geeksfino/kb-mcp-server는 MCP 서버 후보가 https://github.com/geeksfino/kb-mcp-server.에서 수입되었습니다

개요(AI 번역)

Txtai에 의해 구동되는 모형 Context Protocol (MCP) 서버 구현은, 표준화된 공용영역을 통해 semantic 수색, 지식 도표 기능 및 AI 몬 원본 가공을 제공하.

txtai의 힘: 올인원 Embeddings 데이타베이스

이 프로젝트는 txtai를 레버리지, RAG 레버리지 검색, 지식 그래프 건설 및 언어 모델 워크플로우에 대한 all-in-one embeddings 데이터베이스. txtai는 몇몇 중요한 이점을 제안합니다:

  • Unified Vector Database: 단일 플랫폼에서 벡터 인덱스, 그래프 네트워크 및 관계 데이터베이스를 결합
  • Semantic Search: 의미를 바탕으로 정보 찾기, 그냥 키워드
  • **Knowledge Graph 통합 **: 데이터의 자동 구축 및 쿼리 지식 그래프
  • Portable Knowledge Bases: 쉽게 공유 및로드 할 수있는 압축 아카이브 (.tar.gz)로 전체 지식베이스를 저장 -Extensible Pipeline System: 통합 API를 통해 프로세스 텍스트, 문서, 오디오, 이미지 및 비디오
  • Local-first Architecture: 데이터 전송 없이 로컬로 실행

그것이 작동하는 방법

이 프로젝트는 지식베이스 빌더 도구와 MCP 서버를 포함합니다.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Embedding MCP Server

A Model Context Protocol (MCP) server implementation powered by txtai, providing semantic search, knowledge graph capabilities, and AI-driven text processing through a standardized interface.

The Power of txtai: All-in-one Embeddings Database

This project leverages txtai, an all-in-one embeddings database for RAG leveraging semantic search, knowledge graph construction, and language model workflows. txtai offers several key advantages:

  • Unified Vector Database: Combines vector indexes, graph networks, and relational databases in a single platform
  • Semantic Search: Find information based on meaning, not just keywords
  • Knowledge Graph Integration: Automatically build and query knowledge graphs from your data
  • Portable Knowledge Bases: Save entire knowledge bases as compressed archives (.tar.gz) that can be easily shared and loaded
  • Extensible Pipeline System: Process text, documents, audio, images, and video through a unified API
  • Local-first Architecture: Run everything locally without sending data to external services

How It Works

The project contains a knowledge base builder tool and a MCP server. The knowledge base builder tool is a command-line interface for creating and managing knowledge bases. The MCP server provides a standardized interface to access the knowledge base.

It is not required to use the knowledge base builder tool to build a knowledge base. You can always build a knowledge base using txtai’s programming interface by writing a Python script or even using a jupyter notebook. As long as the knowledge base is built using txtai, it can be loaded by the MCP server. Better yet, the knowledge base can be a folder on the file system or an exported .tar.gz file. Just give it to the MCP server and it will load it.

1. Build a Knowledge Base with kb_builder

The kb_builder module provides a command-line interface for creating and managing knowledge bases:

  • Process documents from various sources (files, directories, JSON)
  • Extract text and create embeddings
  • Build knowledge graphs automatically
  • Export portable knowledge bases

Note it is possibly limited in functionality and currently only provided for convenience.

2. Start the MCP Server

The MCP server provides a standardized interface to access the knowledge base:

  • Semantic search capabilities
  • Knowledge graph querying and visualization
  • Text processing pipelines (summarization, extraction, etc.)
  • Full compliance with the Model Context Protocol

Installation

We recommend using uv with Python 3.10 or newer for the best experience. This provides better dependency management and ensures consistent behavior.

GitHub에서 전체 README 보기

설치

uvx [email protected] --embeddings /path/to/knowledge_base --host localhost --port 8000
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "kb-server": { "command": "/your/home/project/.venv/bin/kb-mcp-server", "args": [ "--embeddings", "/path/to/knowledge_base.tar.gz" ], "cwd": "/path/to/working/directory" } } }