Back to Home
thebrownproject icon

raglit-mcp-server

Verified Safe

by 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

Run Command
node dist/index.js

Environment 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

Stats

Interest Score0
Security Score8
Cost ClassHigh
Avg Tokens3500
Stars0
Forks0
Last Update2025-12-03

Tags

RAGMCPAI AgentPostgreSQLEmbeddings