About Efflux Backend
Efflux Backend is an MCP server published by isoftstone-data-intelligence-ai in the Developer Tools category: mCP server: Efflux Backend.
The repository has 722 stars and 71 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/isoftstone-data-intelligence-ai/efflux-backendThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Efflux Backend
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 5 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- !License declaredNo license file. Legally you have no right to use it in a product.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
Efflux is an LLM-based Agent chat client featuring streaming responses and chat history management. As an MCP Host, it leverages the Model Context Protocol to connect with various MCP Servers, enabling standardized tool invocation and data access for large language models.
Key Features
- Rapid Agent construction
- Dynamic MCP tool loading and invocation
- Support for multiple large language models
- Real-time streaming chat responses
- Chat history management
Online Demo
Requirements
- Python 3.12+
- PostgreSQL
- uv (Python package & environment manager), installable via
pip install uv
Quick Start
- Clone the project
git clone git@github.com:isoftstone-data-intelligence-ai/efflux-backend.git
cd efflux-backend
- Install uv
pip install uv
- Reload dependencies
uv sync --reinstall
- Activate virtual environment
# Activate virtual environment
source .venv/bin/activate # MacOS/Linux
# Deactivate when needed
deactivate
- Configure environment variables
# Copy environment variable template
cp .env.sample .env
# Edit .env file, configure:
# 1. Database connection info (DATABASE_NAME, DATABASE_USERNAME, DATABASE_PASSWORD)
# 2. At least one LLM configuration (e.g., Azure OpenAI, Qwen, Doubao, or Moonshot)
- Select the LLM
# Edit core/common/container.py file
# Find the llm registration section, replace with any of the following models (Qwen by default):
# - QwenLlm: Qwen
# - AzureLlm: Azure OpenAI
# - DoubaoLlm: Doubao
# - MoonshotLlm: Moonshot
# Example: Using Azure OpenAI
from core.llm.azure_open_ai import AzureLlm
# ...
llm = providers.Singleton(AzureLlm)
- Start PostgreSQL database
# Method 1: If PostgreSQL is installed locally
# Simply start your local PostgreSQL service
# Method 2: Using Docker (example)
docker run -d --name local-postgres \
-e POSTGRES_DB=your_database_name \
-e POSTGRES_USER=your_username \
-e POSTGRES_PASSWORD=your_password \
-p 5432:5432 \
postgres
# Note: Ensure database connection info matches the configuration in your .env file
- Initialize database
# Create a new version and generate a migration file in alembic/versions
alembic revision --autogenerate -m "initial migration"
# Preview SQL to be executed:
alembic upgrade head --sql
# If preview looks good, execute migration
alembic upgrade head
- Initialize LLM template data
# Run initialization script
python scripts/init_llm_templates.py
- Start the service
python -m uvicorn main:app --host 0.0.0.0 --port 8000
Acknowledgments
This project utilizes the following excellent open-source projects and technologies:
- @modelcontextprotocol/mcp - Standardized open protocol for LLM data interaction
- @langchain-ai/langchain - LLM application development framework
- @sqlalchemy/sqlalchemy - Python SQL toolkit and ORM framework
- @pydantic/pydantic - Data validation and settings management
- @tiangolo/fastapi - Modern, fast web framework
- @aio-libs/aiohttp - Async HTTP client/server framework
- @sqlalchemy/alembic - Database migration tool for SQLAlchemy
- @astral-sh/uv - Ultra-fast Python package manager
- @python-colorlog/colorlog - Colored log output tool
- @jlowin/fastmcp - Python framework for building MCP servers
- @langchain-ai/langgraph - Framework for building stateful multi-agent LLM applications
Thanks to the developers and maintainers of these projects for their contributions to the open-source community.
README fetched from the repository 5 days ago. The original is authoritative.