MCP.so
ログイン

MCP Server with FAISS for RAG

@ProbonoBonobo

MCP Server with FAISS for RAG について

概要はまだありません

基本情報

カテゴリ

メモリとナレッジ

ランタイム

python

トランスポート

stdio

公開者

ProbonoBonobo

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "sui-mcp-server": {
      "command": "pipx",
      "args": [
        "ensurepath"
      ]
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is MCP Server with FAISS for RAG?

A proof-of-concept Machine Conversation Protocol (MCP) server that allows an AI agent to query a FAISS vector database and retrieve relevant documents for Retrieval-Augmented Generation (RAG). It integrates FastAPI, FAISS, GitHub Move file extraction, and LLM support, targeting developers building RAG workflows.

How to use MCP Server with FAISS for RAG?

Install with pipx (pipx install -e .) or manually (pip install -r requirements.txt). Then use CLI commands like mcp-download, mcp-search-index, mcp-index, mcp-query, mcp-rag, and mcp-server. Optionally set GITHUB_TOKEN and OPENAI_API_KEY in .env. Start the server with mcp-server or python main.py, then query via MCP API at /mcp/action.

Key features of MCP Server with FAISS for RAG

  • FastAPI server with MCP endpoints
  • FAISS vector database integration
  • Document chunking and embedding
  • GitHub Move file extraction and processing
  • LLM integration for complete RAG workflow
  • Simple client example and sample documents

Use cases of MCP Server with FAISS for RAG

  • Querying Sui Move documentation using a vector database
  • Building a custom RAG pipeline for Move language development
  • Indexing and retrieving GitHub-sourced Move files
  • Running an MCP server for AI agents to perform retrieval-augmented generation

FAQ from MCP Server with FAISS for RAG

What are the runtime requirements for MCP Server with FAISS for RAG?

The server requires Python 3 and dependencies listed in requirements.txt, including FAISS, FastAPI, and an LLM provider (OpenAI or others). A GitHub token is optional for higher API rate limits.

How does the RAG pipeline work in MCP Server with FAISS for RAG?

  1. User submits a question.
  2. System retrieves relevant documents from the FAISS vector database.
  3. Retrieved documents are formatted into a context prompt.
  4. The prompt is sent to an LLM for an enhanced answer.
  5. The LLM’s response is returned to the user.

Where are the indexed documents stored?

The FAISS index is saved to data/faiss_index.bin by default, and the downloaded Move files go into docs/move_files/. You can customize the index path and document directory with command-line options.

How can I extend MCP Server with FAISS for RAG?

Add authentication and security, support more document types, integrate with other LLM providers, improve Move parsing, and add monitoring/logging as described in the Extended section of the README.

What license is MCP Server with FAISS for RAG distributed under?

MIT license.

コメント

「メモリとナレッジ」の他のコンテンツ