better-chatbot
Just a Better Chatbot. Powered by Agent & MCP & Workflows.
claude mcp add --transport stdio cgoinglove-better-chatbot node server.js \ --env PORT="3000" \ --env GOOGLE_CSE_ID="optional" \ --env GOOGLE_API_KEY="optional" \ --env OPENAI_API_KEY="your-openai-api-key (or other provider keys if you swap providers)" \ --env ANTHROPIC_API_KEY="optional" \ --env BETTER_AUTH_SECRET="your-secret-for authentication" \ --env GOOGLE_GENERATIVE_AI_API_KEY="optional"
How to use
Better Chatbot is a feature-rich MCP-enabled AI chat platform that aggregates multiple AI providers and a suite of tools into a unified chat experience. It supports multi-provider LLMs (OpenAI, Anthropic, Google, and more), web search, code execution in JavaScript and Python, data visualization, visual workflows, and custom agents. The MCP integration enables you to call tools directly from chat using @toolname, build visual workflows as callable tools, and even run browser automation tasks via Playwright MCP. You can also experiment with real-time voice interactions and collaborate by sharing MCP configurations with your team. To get started, deploy the app, set up your API keys, and begin invoking tools in chat with simple mentions like @web-search or @python-executor to perform tasks, fetch results, or generate code and visualizations.
How to install
Prerequisites:
- Git installed
- Node.js (and npm) installed
- Optional: Docker if you prefer containerized setup
-
Clone the repository git clone https://github.com/cgoinglove/better-chatbot.git cd better-chatbot
-
Install dependencies npm install
3)Configure environment
- Create a .env.local (or use your preferred env method) and add: PORT=3000 OPENAI_API_KEY=your-openai-api-key BETTER_AUTH_SECRET=your-secret GOOGLE_GENERATIVE_AI_API_KEY=optional ANTHROPIC_API_KEY=optional GOOGLE_API_KEY=optional GOOGLE_CSE_ID=optional
-
Start the development server npm run dev
-
(Optional) Build for production npm run build npm run start
-
If you prefer Docker, refer to the Docker deployment guide in the repo guides and adapt the container entrypoint to run server.js with the necessary env vars.
Additional notes
Tips and caveats:
- Ensure you supply at least one LLM provider API key (OpenAI, Claude, Gemini, etc.) to enable core functionality.
- The app ships with MCP tools like web search, JS/Python code execution, data visualization, and image generation; you can expose additional tools via visual workflows.
- If you encounter authentication or provider errors, verify environment variables and provider account status.
- For local-first setups, consider enabling local storage drivers and ensuring network access to required APIs.
- The project may have paused development; monitor the repo for issues and security patches, and engage the community for contributions.
- When sharing MCP configurations, redact sensitive keys and only share necessary environment placeholders.
Related MCP Servers
AstrBot
Agentic IM Chatbot infrastructure that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative. ✨
astron-rpa
Agent-ready RPA suite with out-of-the-box automation tools. Built for individuals and enterprises.
Everywhere
Context-aware AI assistant for your desktop. Ready to respond intelligently, seamlessly integrating multiple LLMs and MCP tools.
flow-like
Flow-Like: Strongly Typed Enterprise Scale Workflows. Built for scalability, speed, seamless AI integration and rich customization.
yutu
A fully functional MCP server and CLI for YouTube
robot_MCP
A simple MCP server for the SO-ARM100 control