Getting Started & Setup Guide
This page explains how to install dependencies, configure environment settings, and run the MCP Explorer locally or inside a Docker Compose environment.
💻 Method A: Running Locally (Bare Metal)
Running the application locally is ideal for debugging and editing components without container rebuilding.
Prerequisites
- Python 3.11+ installed on your system.
- Ollama installed and running on
localhost:11434. Pull the default model using:
1. Execute Setup Script
We provide an interactive setup.sh script to automate your local virtual environment instantiation:
venv).
* Upgrade pip and install project packages declared in pyproject.toml (including automated test requirements).
* Install Playwright browser binaries for e2e automation testing.
2. Configure Local Secrets
Create a local .env file in the project root based on our template:
.env and fill in your values (e.g. your Langfuse credentials if using observability).
3. Run the Chat Application
Activate the virtual environment and start Chainlit:
The Chat UI will open automatically at: http://localhost:8000🐳 Method B: Running via Docker Compose Stack
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.
1. Build and Run the Stack
We provide a helper launch script docker-run.sh that auto-generates your secure encryption keys and starts the build:
.env.
* Generates a safe SALT, ENCRYPTION_KEY, and NEXTAUTH_SECRET if not present.
* Writes these configuration values to .env.docker.
* Builds the application container and boots up the multi-container stack.
2. Access Dashboards
Once started, the services can be accessed at: - Chainlit Chat UI: http://localhost:8000 - Langfuse Dashboard: http://localhost:3000
3. Sign in to Langfuse
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!
🛠️ Local Serves of Documentation Site
To run this documentation website locally: 1. Activate your local virtual environment:
2. Install the documentation theme: 3. Start the documentation server: 4. Access the site in your browser at http://localhost:8000 (or the port specified by mkdocs).