ChatPPT-MCP
A multi-document RAG engine server that enables intelligent querying and analysis of PPT documents using the Model Context Protocol (MCP).
README
ChatPPT-MCP: 多文档RAG引擎的 MCP Server
一个基于MCP(Model Context Protocol)的多文档RAG(Retrieval-Augmented Generation)引擎应用,支持PPT文档的智能问答和分析。
功能特性
- 🔍 多文档处理: 支持索引多个PPT文档,基于视觉模型
- 🤖 智能问答: 基于RAG技术的文档问答
- 🔄 MCP集成: 使用Model Context Protocol进行工具调用
- 📊 交互式测试: 提供命令行交互测试界面
技术栈
- 后端框架: FastAPI
- 向量数据库: ChromaDB
- LLM: Doubao Vision
- 文档处理: LibreOffice, pypdfium2
- 协议: Model Context Protocol (MCP)
- 向量化: OpenAI Embeddings
安装使用
1. 安装依赖
pip install -e .
2. 环境配置
复制环境变量模板文件,并修改:
cp .env.example .env
3. 运行应用
RAG引擎测试模式
python rag_interactive_test.py
MCP测试模式(先sse启动:python mcp_ppt_server.py --transport sse)
python mcp_interactive_test.py
项目结构
app_chatppt/
├── src/ # 源代码目录
│ ├── multi_doc_rag_engine.py # RAG引擎核心
│ ├── document_processor.py # 文档处理器
│ └── ...
├── data/ # 示例数据
├── rag_interactive_test.py # 交互式测试入口
├── mcp_interactive_test.py # MCP集成测试
├── pyproject.toml # 项目配置
├── .env.example # 环境变量模板
└── README.md # 项目文档
许可证
MIT License
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.