raglit-mcp-server
Verified Safeby thebrownproject
Overview
RagLit is an MCP server enabling AI agents to ingest, embed, and semantically search documents in PostgREST-compatible PostgreSQL databases for RAG pipelines.
Installation
node dist/index.jsEnvironment Variables
- EXTERNAL_API_URL
- OPENAI_API_KEY
- EXTERNAL_API_KEY
- EMBEDDING_MODEL
Security Notes
The server utilizes environment variables for API keys, preventing hardcoded secrets. Zod is used for input validation, mitigating basic injection risks. Communication is via stdio, implying a controlled execution environment. PostgREST integration primarily uses hardcoded RPC function calls (e.g., "match_chunks", "filter_chunks_by_meta"), which abstracts raw SQL execution and provides a layer of safety. The "makeRequest" function constructs URLs using a base URL from environment variables and hardcoded paths, limiting arbitrary path traversal. No direct 'eval' or 'child_process.exec' with user-controlled input was found. However, reliance on external APIs (OpenAI, PostgREST) means security is partially dependent on those services and their configuration.
Similar Servers
concept-rag
This MCP server provides conceptual search, document analysis, and library exploration capabilities over a knowledge base using LanceDB and LLM-based concept extraction.
mcp-rag-server
Provides a local, zero-network Retrieval-Augmented Generation server for any code repository, enabling semantic search and file access through the Model Context Protocol (MCP) for AI clients like GitHub Copilot Agent.
RAGFileMcpServer
Provides a Model Context Protocol (MCP) server for AI agents, offering Retrieval-Augmented Generation (RAG) capabilities with file-based data sources (PDF, TXT, Markdown) and a Streamlit UI for management.
pg-aiguide
An MCP server and Claude plugin designed to enhance AI coding tools by providing specialized PostgreSQL and TimescaleDB documentation, semantic search capabilities, and curated best practice skills.