🕒 Run SimpleTool Server on your machine in minutes
There are three main ways to run SimpleTool Server:- Using Docker Compose (recommended for most users) 🐳
- Using Docker directly (more control over container settings) 🐋
- Running the Python code directly (better for development and customization) 🐍
🐳 Option 1: Docker Compose (Recommended)
The Docker Compose setup provides a fully configured container with:- 🖥️ SimpleTool Server with FastAPI
- 🔐 SSH access
- 🖼️ Desktop environment (Xfce) accessible via built-in noVNC
supervisord.
You can check status of each element by running:
📋 Prerequisites
- Docker 🐳
- Docker Compose 📦
📝 Steps
-
Clone the repository 📥
-
Configure environment variables (optional) ⚙️
The default configuration in
docker-compose.yamlworks out of the box, but you can modify any of these settings:use allready build image from ghcr.io if you dont whant to useDockerfile: -
Start the server 🏁
-
Access the server 🔗
- 🌐 API Server: http://localhost:8000
- 📚 Swagger UI: http://localhost:8000/docs
- 🖥️ Web Desktop (noVNC): http://localhost:6901 (password:
vncpassword) - 🔐 SSH:
ssh -p 2222 appuser@localhost(password:appuser)
🛑 Stopping the server
🐋 Option 2: Manual Docker Setup
If you need more control over your Docker container or don’t want to use Docker Compose, you can use the Docker CLI directly.📋 Prerequisites
- Docker 🐳
📝 Steps
Method A: Pull from GitHub Container Registry (Recommended)
-
Pull the image from GHCR 📥
-
Run the container 🏁
Method B: Build from Source
-
Clone the repository 📥
-
Build the Docker image 🔨
-
Run the container 🏁
🔗 Access the server
- 🌐 API Server: http://localhost:8000
- 📚 Swagger UI: http://localhost:8000/docs
- 🖥️ Web Desktop (noVNC): http://localhost:6901 (password:
vncpassword) - 🔐 SSH:
ssh -p 2222 appuser@localhost(password:appuser)
🛑 Stopping and removing the container
🐍 Option 3: Python Direct Mode
Running directly with Python is ideal for development, debugging, or when you don’t need the full container with desktop environment.📋 Prerequisites
- Python 3.10+ installed 🐍
- Git 📥
📝 Steps
-
Clone the repository 📥
-
Set up Python environment 🛠️
-
Configure environment variables (optional) ⚙️
Create a
.envfile in thesrc/serverdirectory: -
Run the server 🏁
Or use the convenience script:
-
Access the server 🔗
- 🌐 API Server: http://localhost:8000
- 📚 Swagger UI: http://localhost:8000/docs
✅ Verifying Your Installation
To verify that the server is running correctly, check these endpoints:-
Health check 🩺
-
Ping test 🏓
-
View available tools 🔧
Probably will be empty, because we dont have any tools yet.
🔮 Next Steps
Once your server is running:- 📚 View the Swagger UI at
/docsto explore API endpoints - 🔧 Check the available MCP tools mapped to OpenAPI standard at
/tools/openapi.json(and this path you can use astoolsforOpenWebUI) - 📡 Connect to the server via the SSE endpoint at
/ssefor real-time communication