better-chat
by Chris31372
Overview
An AI chat application designed for interacting with technical documentation using various AI models and tools, featuring per-user data isolation with Cloudflare Durable Objects.
Installation
bun a:devEnvironment Variables
- VITE_SERVER_URL
- VITE_WEB_URL
- ALCHEMY_STAGE
- CORS_ORIGIN
- BETTER_AUTH_URL
- BETTER_AUTH_SECRET
- RESEND_API_KEY
- GOOGLE_CLIENT_ID
- GOOGLE_CLIENT_SECRET
- GH_CLIENT_ID
- GH_CLIENT_SECRET
- API_ENCRYPTION_KEY
- OPENAI_API_KEY
- GOOGLE_GENERATIVE_AI_API_KEY
- CLOUDFLARE_ACCOUNT_ID
- CLOUDFLARE_DATABASE_ID
- CLOUDFLARE_API_TOKEN
- CUSTOM_WEB_DOMAIN
- API_ROUTE_PATTERN
Security Notes
The application allows users to add custom MCP (Model Context Protocol) server URLs. This feature, if not rigorously validated and sandboxed by the underlying infrastructure (e.g., Cloudflare Workers), poses a significant risk of Server-Side Request Forgery (SSRF) or interaction with malicious external services. Attackers could potentially use this to exfiltrate data, perform port scanning, or exploit other vulnerabilities if the MCP server itself is compromised. While sensitive API keys are encrypted at rest and stored in environment variables, the open-ended nature of custom MCP server URLs warrants caution.
Similar Servers
better-chatbot
An open-source AI chatbot for individuals and teams, featuring multi-AI support, powerful tools, image generation, automation, and real-time voice assistance.
mcp-notify
A Model Context Protocol (MCP) server designed to send messages and notifications across various platforms like WeWork, DingTalk, Telegram, Lark, Home Assistant, Bark, Ntfy, and PushPlus.
memory-mcp
This MCP server provides memory storage and intelligent context window caching capabilities for Large Language Model (LLM) conversations, including archiving, retrieval, and summarization.
codearchitect-mcp
Automatically saves and retrieves AI conversation sessions from IDEs (Cursor, VS Code) to provide context continuity and build a searchable knowledge base for developers.