Back to Home
jeffgreendesign icon

textrawl

Verified Safe

by jeffgreendesign

Overview

Textrawl is a personal knowledge base and MCP Server that allows AI agents like Claude to search, retrieve, and add documents (emails, PDFs, notes, web pages) for enhanced contextual memory and RAG (Retrieval-Augmented Generation).

Installation

Run Command
npm run dev

Environment Variables

  • SUPABASE_URL
  • SUPABASE_SERVICE_KEY
  • OPENAI_API_KEY
  • EMBEDDING_PROVIDER
  • OLLAMA_BASE_URL
  • OLLAMA_MODEL
  • API_BEARER_TOKEN
  • PORT
  • LOG_LEVEL
  • ALLOWED_ORIGINS
  • ENABLE_MEMORY
  • COMPACT_RESPONSES

Security Notes

The server employs robust security measures including `timingSafeEqual` for bearer token authentication (preventing timing attacks), rate limiting for API endpoints (protecting against DoS), and comprehensive input validation for file uploads and directory operations (preventing path traversal and content spoofing). Error handling is configured to prevent stack trace leakage in production. Database Row Level Security (RLS) is mentioned as configurable, though the application uses a service role key which bypasses RLS for its own operations, consistent with a single-tenant backend model. Child process spawning for CLI tools is done with carefully controlled arguments, mitigating injection risks. No obvious `eval` or intentional obfuscation is present.

Similar Servers

Stats

Interest Score31
Security Score9
Cost ClassMedium
Avg Tokens3500
Stars1
Forks0
Last Update2026-01-17

Tags

knowledge-basesemantic-searchRAGMCP-serverpersonal-AI