You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+53Lines changed: 53 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,59 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
6
6
7
7
---
8
8
9
+
## [0.3.1] - 2025-01-11 - Security and Data Validation (Pydantic, UI)
10
+
11
+
### Security Improvements
12
+
13
+
> This release adds enhanced validation rules in the Pydantic data models to help prevent XSS injection when data from untrusted MCP servers is displayed in downstream UIs. You should still ensure any downstream agents and applications perform data sanitization coming from untrusted MCP servers (apply defense in depth).
14
+
15
+
> Data validation has been strengthened across all API endpoints (/admin and main), with additional input and output validation in the UI to improve overall security.
16
+
17
+
> The Admin UI continues to follow security best practices with localhost-only access by default and feature flag controls - now set to disabled by default, as shown in `.env.example` file (`MCPGATEWAY_UI_ENABLED=false` and `MCPGATEWAY_ADMIN_API_ENABLED=false`).
@@ -376,7 +376,7 @@ docker run -d --name mcpgateway \
376
376
-e JWT_SECRET_KEY=my-test-key \
377
377
-e BASIC_AUTH_USER=admin \
378
378
-e BASIC_AUTH_PASSWORD=changeme \
379
-
ghcr.io/ibm/mcp-context-forge:0.3.0
379
+
ghcr.io/ibm/mcp-context-forge:0.3.1
380
380
```
381
381
382
382
SQLite now lives on the host at `./data/mcp.db`.
@@ -398,7 +398,7 @@ docker run -d --name mcpgateway \
398
398
-e PORT=4444 \
399
399
-e DATABASE_URL=sqlite:////data/mcp.db \
400
400
-v $(pwd)/data:/data \
401
-
ghcr.io/ibm/mcp-context-forge:0.3.0
401
+
ghcr.io/ibm/mcp-context-forge:0.3.1
402
402
```
403
403
404
404
Using `--network=host` allows Docker to access the local network, allowing you to add MCP servers running on your host. See [Docker Host network driver documentation](https://docs.docker.com/engine/network/drivers/host/) for more details.
@@ -414,7 +414,7 @@ podman run -d --name mcpgateway \
414
414
-p 4444:4444 \
415
415
-e HOST=0.0.0.0 \
416
416
-e DATABASE_URL=sqlite:///./mcp.db \
417
-
ghcr.io/ibm/mcp-context-forge:0.3.0
417
+
ghcr.io/ibm/mcp-context-forge:0.3.1
418
418
```
419
419
420
420
#### 2 - Persist SQLite
@@ -433,7 +433,7 @@ podman run -d --name mcpgateway \
433
433
-p 4444:4444 \
434
434
-v $(pwd)/data:/data \
435
435
-e DATABASE_URL=sqlite:////data/mcp.db \
436
-
ghcr.io/ibm/mcp-context-forge:0.3.0
436
+
ghcr.io/ibm/mcp-context-forge:0.3.1
437
437
```
438
438
439
439
#### 3 - Host networking (rootless)
@@ -451,7 +451,7 @@ podman run -d --name mcpgateway \
451
451
--network=host \
452
452
-v $(pwd)/data:/data \
453
453
-e DATABASE_URL=sqlite:////data/mcp.db \
454
-
ghcr.io/ibm/mcp-context-forge:0.3.0
454
+
ghcr.io/ibm/mcp-context-forge:0.3.1
455
455
```
456
456
457
457
---
@@ -460,7 +460,7 @@ podman run -d --name mcpgateway \
***.env files** - Put all the `-e FOO=` lines into a file and replace them with `--env-file .env`. See the provided [.env.example](.env.example) for reference.
463
-
***Pinned tags** - Use an explicit version (e.g. `v0.3.0`) instead of `latest` for reproducible builds.
463
+
***Pinned tags** - Use an explicit version (e.g. `v0.3.1`) instead of `latest` for reproducible builds.
464
464
***JWT tokens** - Generate one in the running container:
0 commit comments