73
/ 100
1 month ago
glama

mcp-rag-server

MCP RAG Server is a Python MCP server that indexes documents in multiple formats (Markdown, text, PowerPoint, PDF) using multilingual-e5-large embeddings and enables vector search for retrieval-augmented generation.

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
Open source with a license and README
Anyone can audit the code, the license is declared, and the publisher documents what it does.
🔐
You'll be asked for 8 credentials: OPENAI_API_KEY, GEMINI_API_KEY, ANTHROPIC_API_KEY, NEXTCLOUD_APP_PASSWORD, NEXTCLOUD_WEBDAV_PASSWORD, RAG_DB_PASSWORD, POSTGRES_PASSWORD, JWT_SECRET
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configPROCESSED_DIR./data/processed
configTENANT_DEFAULT
configNOTEBOOK_DEFAULT
configSOURCE_DIR./data/source
configCONVERSATION_DIR
configRAG_DEFAULT_TENANT
configRAG_DEFAULT_USER_ID
configRAG_DEFAULT_NOTEBOOK_ID
configEMBEDDING_MODELintfloat/multilingual-e5-large
configEMBEDDING_PREFIX_QUERY検索クエリ用: - ユーザーの検索クエリに自動で追加
configEMBEDDING_PREFIX_EMBEDDING"passage: "
configFILE_STORAGE_ROOT
configFILE_REGISTRY_PATH
configPORT
configSWAGGER_UI_PATH
configREDOC_PATH
configFINAL_CONTEXT_MAX_CHUNKS
configFINAL_CONTEXT_TRIM_CHARS
configSUMMARY_WINDOW_MAX_CHARS
configSUMMARY_MAX_WINDOWS
configSUMMARY_MAP_CONCURRENCY
configSUMMARY_MAP_MAX_TOKENS
configSUMMARY_REDUCE_MAX_TOKENS
configSUMMARY_MAP_MODEL
configSUMMARY_REDUCE_MODEL
configSUMMARY_EXTRACTIVE_TOP_N
configSUMMARY_JOB_RETENTION
configSTORAGE_CAPACITY_BYTES
configLLM_PROFILE
configRAG_SERVER_HOST
configRAG_SERVER_PORT
configLLM_PROVIDER
configOLLAMA_BASE
configOLLAMA_MODEL
configDISABLE_REMOTE_LLM
configOPENAI_API_BASE
🔐 secretOPENAI_API_KEY
configOPENAI_MODEL
🔐 secretGEMINI_API_KEY
configGEMINI_MODEL
configGEMINI_API_BASE
🔐 secretANTHROPIC_API_KEY
configANTHROPIC_MODEL
configANTHROPIC_API_BASE
configNEXTCLOUD_WEBDAV_BASE_URL
configNEXTCLOUD_USERNAME
configNEXTCLOUD_WEBDAV_USERNAME
🔐 secretNEXTCLOUD_APP_PASSWORD
🔐 secretNEXTCLOUD_WEBDAV_PASSWORD
configNEXTCLOUD_TIMEOUT_SEC
configSHELL
configRAG_AUTODEV_DOCKER_START_CMD
configRAG_AUTODEV_DOCKER_WAIT_ATTEMPTS
configRAG_AUTODEV_DOCKER_WAIT_DELAY_MS
configRAG_DB_CONTAINER
configRAG_DB_IMAGE
configRAG_DB_USER
🔐 secretRAG_DB_PASSWORD
configRAG_DB_NAME
configPOSTGRES_HOSTperl -pi -e "s/^=./POSTGRES_HOST=127.0.0.1/; \
configPOSTGRES_PORTs/^=./POSTGRES_PORT=5434/; \
configRAG_DB_DEFAULT_PORT
configRAG_DB_WAIT_ATTEMPTS
configRAG_DB_WAIT_DELAY_MS
configRAG_DB_INIT_SQL
configRAG_DB_INIT_ATTEMPTS
configRAG_DB_INIT_DELAY_MS
configRETRIEVAL_SIM_THRESHOLD
configRETRIEVAL_MIN_LEXICAL_HITS
configRETRIEVAL_MAX_RESULTS
configRETRIEVAL_FALLBACK_SIM_THRESHOLD
configRETRIEVAL_FALLBACK_RERANK_THRESHOLD
configRETRIEVAL_FALLBACK_SEARCH_MULTIPLIER
configRETRIEVAL_FALLBACK_SEARCH_MAX
configRETRIEVAL_PRIMARY_CANDIDATES
configRETRIEVAL_PRIORITY_KEYWORDS
configRETRIEVAL_KEYWORD_SEARCH_LIMIT
configRETRIEVAL_KEYWORD_SIM_BASE
configRETRIEVAL_KEYWORD_SIM_BONUS
configRAG_USER_ID
configRAG_DEFAULT_USER
configRAG_NOTEBOOK_ID
configPOSTGRES_USERs/^=./POSTGRES_USER=rag/; \
🔐 secretPOSTGRES_PASSWORDs/^=./POSTGRES_PASSWORD=ragpass/; \
configPOSTGRES_DBs/^=./POSTGRES_DB=ragdb/" .env
🔐 secretJWT_SECRET
configEMBEDDING_DIM
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 1 concrete improvement we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/forifor-mcp-rag-server-1jc2yy)](https://m8ven.ai/mcp/forifor-mcp-rag-server-1jc2yy)
commit: 1116f228992b67265cf67ef38c26b3e4ea9d160d
code hash: fbc66c82c85eaf6538f0cb1b1bf13ae5322f886e9930d36f384c59c6ec7e2b38
verified: 6/22/2026, 12:41:44 PM
view raw JSON →