-
Notifications
You must be signed in to change notification settings - Fork 0
Setup
This page explains how to install dependencies, configure environment settings, and run the MCP Explorer locally or inside a Docker Compose environment.
Running the application locally is ideal for debugging and editing components without container rebuilding.
- Python 3.11+ installed on your system.
-
Ollama installed and running on
localhost:11434. Pull the default model using:ollama pull gemma4:e4b
We provide an interactive setup.sh script to automate your local virtual environment instantiation:
./setup.shThis script will:
- Create a virtual environment (
venv). - Upgrade
pipand install project packages declared inpyproject.toml(including automated test requirements). - Install Playwright browser binaries for e2e automation testing.
Create a local .env file in the project root based on our template:
cp .env.example .envOpen .env and fill in your values (e.g. your Langfuse credentials if using observability).
Activate the virtual environment and start Chainlit:
source venv/bin/activate
chainlit run ui/app.pyThe Chat UI will open automatically at: http://localhost:8000
The Docker Compose setup launches a complete production-ready pipeline, including clickhouse backends, redis caches, minio media uploads, postgres stores, langfuse-server logs visualization, and the chat app.
We provide a helper launch script docker-run.sh that auto-generates your secure encryption keys and starts the build:
./docker-run.shThis script:
- Checks for the existence of
.env. - Generates a safe
SALT,ENCRYPTION_KEY, andNEXTAUTH_SECRETif not present. - Writes these configuration values to
.env.docker. - Builds the application container and boots up the multi-container stack.
Once started, the services can be accessed at:
- Chainlit Chat UI: http://localhost:8000
- Langfuse Dashboard: http://localhost:3000
Use the default administrator credentials generated by our compose file:
-
Email:
admin@langfuse.local -
Password:
admin123
You will immediately see the "MCP Explorer" project populated with real-time logs and active spans!
To run this documentation website locally:
- Activate your local virtual environment:
source venv/bin/activate - Install the documentation theme:
pip install mkdocs-material
- Start the documentation server:
mkdocs serve
- Access the site in your browser at http://localhost:8000 (or the port specified by mkdocs).