Back to Home
jianlins icon

whoosh_rag_mcp

Verified Safe

by jianlins

Overview

Provides full-text search for documentation to AI assistants using Whoosh, enabling RAG over up-to-date information.

Installation

Run Command
python -m whoosh_rag_mcp.mcp_server

Environment Variables

  • DOCS_ROOT
  • INDEX_DIR

Security Notes

The core Python MCP server (mcp_server.py, doc_retriever.py) does not contain direct `eval`, hardcoded secrets, or network listeners (uses stdio). File operations are limited to configured `DOCS_ROOT` and `INDEX_DIR`. The primary risk lies in the configuration of `DOCS_ROOT` and `INDEX_DIR` environment variables by the host system or AI assistant client; if these point to untrusted or sensitive locations, it could lead to unintended file access or resource exhaustion. The associated VS Code extension uses `child_process.exec` to run the Python script, which is a potential vulnerability if the `pythonPath` configuration is maliciously set by the user, though the script path itself is fixed and arguments for search queries are quoted to mitigate injection.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens2000
Stars0
Forks0
Last Update2025-11-22

Tags

RAGFull-text SearchDocumentationWhooshAI Assistant