Commit 3434ec34 authored by Kostas Chartsias's avatar Kostas Chartsias
Browse files

README for MCP module

parent d2cf0aad
Loading
Loading
Loading
Loading
+32 −3
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@ MCP_module/

## ⚙️ Installation

### Option 1
### Option 1 - Local(venv)

```
git clone https://labs.etsi.org/rep/oop/code/ai2.git
@@ -68,9 +68,19 @@ OpenOP_ISI_BACKEND=

These define where the MCP server will listen for requests.

### Option 2 - Containerized
Build the Docker Image

Run this inside the project root (same folder as Dockerfile):
```
docker build -t mcp_module .
```

---

## 🚀 Running the Server
## 🚀 Usage

### Option 1 - Local (venv)

Run the application with:

@@ -80,7 +90,26 @@ python app.py

By default, it  on `127.0.0.1:8000`.

---
### Option 2 - Containerized
Run the container:

The Dockerfile sets these defaults:
```
OpenOP_Backend=
OpenOP_ISI_BACKEND=

MCP_HOST=
MCP_PORT=
```
To start the backend with these defaults:
```
docker run -p 8000:8000 mcp_module
```
You can override the defaults at runtime.
Example change port:
```
docker run -p 5001:5001 -e MCP_PORT=5001 -e OpenOP_Backend=x mcp_module
```
---
## 🧩 Integration with 3rd party apps
Open-WebUI 0.6.34 - Python 3.11.x