Enables configuration of environment variables for the server through a .env file to store API keys and other settings
Provides the backend framework for the MCP server, handling API endpoints and request processing
Used for processing and converting PPT documents to enable content extraction for the RAG engine
Utilizes OpenAI Embeddings for vectorizing document content to enable semantic search capabilities
Supports project configuration through TOML files as indicated by the pyproject.toml in the project structure
ChatPPT-MCP: 多文档RAG引擎的 MCP Server
一个基于MCP(Model Context Protocol)的多文档RAG(Retrieval-Augmented Generation)引擎应用,支持PPT文档的智能问答和分析。
功能特性
🔍 多文档处理: 支持索引多个PPT文档,基于视觉模型
🤖 智能问答: 基于RAG技术的文档问答
🔄 MCP集成: 使用Model Context Protocol进行工具调用
📊 交互式测试: 提供命令行交互测试界面
Related MCP server: DuckDB-RAG-MCP-Sample
技术栈
后端框架: FastAPI
向量数据库: ChromaDB
LLM: Doubao Vision
文档处理: LibreOffice, pypdfium2
协议: Model Context Protocol (MCP)
向量化: OpenAI Embeddings
安装使用
1. 安装依赖
2. 环境配置
复制环境变量模板文件,并修改:
3. 运行应用
RAG引擎测试模式
MCP测试模式(先sse启动:python mcp_ppt_server.py --transport sse)
项目结构
许可证
MIT License