Skip to content

Commit a4ebe1e

Browse files
authored
Merge pull request #40 from IBM/release-0.1.0
MCP Gateway 0.1.0 – Initial public release
2 parents 78abc39 + 6953281 commit a4ebe1e

File tree

3 files changed

+76
-10
lines changed

3 files changed

+76
-10
lines changed

.bumpversion.cfg

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,27 @@
11
[bumpversion]
2-
current_version = v0.1.0
3-
commit = False
4-
tag = False
5-
search = version = {current_version}
6-
replace = version = {new_version}
2+
current_version = 0.1.0
3+
commit = False
4+
tag = False
5+
sign-tags = True
6+
tag_name = v{new_version} # tag format (only used if you flip tag=True later)
7+
8+
# SemVer parsing/serialising
9+
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
10+
serialize =
11+
{major}.{minor}.{patch}
712

813
[bumpversion:file:mcpgateway/__init__.py]
9-
search = __version__ = "{current_version}"
14+
search = __version__ = "{current_version}"
1015
replace = __version__ = "{new_version}"
1116

1217
[bumpversion:file:Containerfile]
13-
search = version="{current_version}"
18+
search = version="{current_version}"
1419
replace = version="{new_version}"
1520

1621
[bumpversion:file:Containerfile.lite]
17-
search = version="{current_version}"
22+
search = version="{current_version}"
1823
replace = version="{new_version}"
1924

2025
[bumpversion:file:pyproject.toml]
21-
search = version = "{current_version}"
26+
search = version = "{current_version}"
2227
replace = version = "{new_version}"

CHANGELOG.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and this project **adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)**.
6+
7+
---
8+
9+
## [0.1.0] - 2025‑06‑01
10+
11+
### Added
12+
13+
Initial public release of MCP Gateway — a FastAPI‑based gateway and federation layer for the Model Context Protocol (MCP). This preview brings a fully‑featured core, production‑grade deployment assets and an opinionated developer experience.
14+
15+
Setting up GitHub repo, CI/CD with GitHub Actions, templates, `good first issue`, etc.
16+
17+
#### 🚪 Core protocol & gateway
18+
* 📡 **MCP protocol implementation** – initialise, ping, completion, sampling, JSON-RPC fallback
19+
* 🌐 **Gateway layer** in front of multiple MCP servers with peer discovery & federation
20+
21+
#### 🔄 Adaptation & transport
22+
* 🧩 **Virtual-server wrapper & REST-to-MCP adapter** with JSON-Schema validation, retry & rate-limit policies
23+
* 🔌 **Multi-transport support** – HTTP/JSON-RPC, WebSocket, Server-Sent Events and stdio
24+
25+
#### 🖥️ User interface & security
26+
* 📊 **Web-based Admin UI** (HTMX + Alpine.js + Tailwind) with live metrics
27+
* 🛡️ **JWT & HTTP-Basic authentication**, AES-encrypted credential storage, per-tool rate limits
28+
29+
#### 📦 Packaging & deployment recipes
30+
* 🐳 **Container images** on GHCR, self-signed TLS recipe, health-check endpoint
31+
* 🚀 **Deployment recipes** – Gunicorn config, Docker/Podman/Compose, Kubernetes, Helm, IBM Cloud Code Engine, AWS, Azure, Google Cloud Run
32+
33+
#### 🛠️ Developer & CI tooling
34+
* 📝 **Comprehensive Makefile** (80 + targets), linting, > 400 tests, CI pipelines & badges
35+
* ⚙️ **Dev & CI helpers** – hot-reload dev server, Ruff/Black/Mypy/Bandit, Trivy image scan, SBOM generation, SonarQube helpers
36+
37+
#### 🗄️ Persistence & performance
38+
* 🐘 **SQLAlchemy ORM** with pluggable back-ends (SQLite default; PostgreSQL, MySQL, etc.)
39+
* 🚦 **Fine-tuned connection pooling** (`DB_POOL_SIZE`, `DB_MAX_OVERFLOW`, `DB_POOL_RECYCLE`) for high-concurrency deployments
40+
41+
### 📈 Observability & metrics
42+
* 📜 **Structured JSON logs** and **/metrics endpoint** with per-tool / per-gateway counters
43+
44+
### 📚 Documentation
45+
* 🔗 **Comprehensive MkDocs site**[https://ibm.github.io/mcp-context-forge/deployment/](https://ibm.github.io/mcp-context-forge/deployment/)
46+
47+
48+
### Changed
49+
50+
* *Nothing – first tagged version.*
51+
52+
### Fixed
53+
54+
* *N/A*
55+
56+
---
57+
58+
### Release links
59+
60+
* **Source diff:** [`v0.1.0`](https://github.com/IBM/mcp-context-forge/releases/tag/v0.1.0)

mcpgateway/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
from sqlalchemy.orm import Session
5353
from starlette.middleware.base import BaseHTTPMiddleware
5454

55+
from mcpgateway import __version__
5556
from mcpgateway.admin import admin_router
5657
from mcpgateway.cache import ResourceCache, SessionRegistry
5758
from mcpgateway.config import jsonpath_modifier, settings
@@ -159,7 +160,7 @@
159160
# Initialize FastAPI app
160161
app = FastAPI(
161162
title=settings.app_name,
162-
version="1.0.0",
163+
version=__version__,
163164
description="A FastAPI-based MCP Gateway with federation support",
164165
root_path=settings.app_root_path,
165166
)

0 commit comments

Comments
 (0)