Skip to content

Commit d3ff2cf

Browse files
committed
fix: align fast-time references with Rust server
Signed-off-by: lucarlig <luca.carlig@ibm.com>
1 parent 77474d3 commit d3ff2cf

11 files changed

Lines changed: 33 additions & 26 deletions

File tree

.secrets.baseline

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"files": "(?x)( package-lock\\.json$ |Cargo\\.lock$ |uv\\.lock$ |go\\.sum$ |mcpgateway/sri_hashes\\.json$ )|^.secrets.baseline$",
44
"lines": null
55
},
6-
"generated_at": "2026-06-26T15:45:11Z",
6+
"generated_at": "2026-06-26T16:01:47Z",
77
"plugins_used": [
88
{
99
"name": "AWSKeyDetector"
@@ -766,7 +766,7 @@
766766
"hashed_secret": "2df14e4719f299249cd9a97cf68cc87232a27cbb",
767767
"is_secret": false,
768768
"is_verified": false,
769-
"line_number": 1247,
769+
"line_number": 1246,
770770
"type": "Hex High Entropy String",
771771
"verified_result": null
772772
}
@@ -858,7 +858,7 @@
858858
"hashed_secret": "2df14e4719f299249cd9a97cf68cc87232a27cbb",
859859
"is_secret": false,
860860
"is_verified": false,
861-
"line_number": 1397,
861+
"line_number": 1396,
862862
"type": "Hex High Entropy String",
863863
"verified_result": null
864864
}
@@ -940,7 +940,7 @@
940940
"hashed_secret": "2df14e4719f299249cd9a97cf68cc87232a27cbb",
941941
"is_secret": false,
942942
"is_verified": false,
943-
"line_number": 1379,
943+
"line_number": 1388,
944944
"type": "Hex High Entropy String",
945945
"verified_result": null
946946
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ Copy [.env.example](https://github.com/IBM/mcp-context-forge/blob/main/.env.exam
284284
<summary><strong>🚀 End-to-end demo (register a local MCP server)</strong></summary>
285285

286286
```bash
287-
# 1️⃣ Spin up the sample GO MCP time server using mcpgateway.translate & docker (replace docker with podman if needed)
287+
# 1️⃣ Spin up the sample MCP time server using mcpgateway.translate & docker (replace docker with podman if needed)
288288
python3 -m mcpgateway.translate \
289289
--stdio "docker run --rm -i ghcr.io/ibm/fast-time-server:latest -transport=stdio" \
290290
--expose-sse \
@@ -295,7 +295,7 @@ pip install uv # to install uvx, if not already installed
295295
python3 -m mcpgateway.translate --stdio "uvx mcp-server-git" --expose-sse --port 9000
296296

297297
# Alternative: running the local binary
298-
# cd mcp-servers/go/fast-time-server; make build
298+
# cd mcp-servers/rust/fast-time-server; make build
299299
# python3 -m mcpgateway.translate --stdio "./dist/fast-time-server -transport=stdio" --expose-sse --port 8002
300300

301301
# NEW: Expose via multiple protocols simultaneously!

charts/mcp-stack/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1477,7 +1477,7 @@ minio:
14771477
memory: 256Mi
14781478

14791479
########################################################################
1480-
# MCP-FAST-TIME-SERVER - optional high-performance time server for MCP (go)
1480+
# MCP-FAST-TIME-SERVER - optional high-performance time server for MCP (Rust)
14811481
# Provides a fast implementation including SSE and Streamable HTTP
14821482
########################################################################
14831483
mcpFastTimeServer:

docker-compose-debug.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -997,8 +997,7 @@ services:
997997

998998
###############################################################################
999999
# Fast Time Server - High-performance time/timezone service for MCP
1000-
# Note: This is an amd64-only image. On ARM platforms (Apple Silicon),
1001-
# emulation may not work properly.
1000+
# Uses the published multi-arch GHCR image.
10021001
###############################################################################
10031002
fast_time_server:
10041003
image: ghcr.io/ibm/fast-time-server:latest

docker-compose-performance.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,8 +1147,7 @@ services:
11471147

11481148
###############################################################################
11491149
# Fast Time Server - High-performance time/timezone service for MCP
1150-
# Note: This is an amd64-only image. On ARM platforms (Apple Silicon),
1151-
# emulation may not work properly.
1150+
# Uses the published multi-arch GHCR image.
11521151
###############################################################################
11531152
fast_time_server:
11541153
image: ghcr.io/ibm/fast-time-server:latest

docker-compose-verbose-logging.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,20 +1126,29 @@ services:
11261126

11271127
###############################################################################
11281128
# Fast Time Server - High-performance time/timezone service for MCP
1129-
# Uses pre-built image by default. On ARM64, build locally:
1129+
# Defaults to the published GHCR image. Override FAST_TIME_IMAGE when building locally:
11301130
# FAST_TIME_IMAGE=mcpgateway/fast-time-server:local docker compose build fast_time_server
11311131
###############################################################################
11321132
fast_time_server:
11331133
image: ${FAST_TIME_IMAGE:-ghcr.io/ibm/fast-time-server:latest}
11341134
build:
1135-
context: ./mcp-servers/go/fast-time-server
1136-
dockerfile: Dockerfile
1135+
context: .
1136+
dockerfile: mcp-servers/rust/fast-time-server/Containerfile
11371137
restart: unless-stopped
11381138
networks: [mcpnet]
11391139
ports:
11401140
- "8888:8080" # Map host port 8888 to container port 8080
1141+
environment:
1142+
- BIND_ADDRESS=0.0.0.0:8080
1143+
- RUST_LOG=info
11411144
# Use dual mode for both SSE (/sse) and Streamable HTTP (/http) endpoints
11421145
command: ["-transport=dual", "-listen=0.0.0.0", "-port=8080", "-log-level=info"]
1146+
healthcheck:
1147+
test: ["CMD", "curl", "-sf", "http://localhost:8080/health"]
1148+
interval: 30s
1149+
timeout: 5s
1150+
retries: 3
1151+
start_period: 10s
11431152

11441153
###############################################################################
11451154
# Auto-registration service - registers fast_time_server with gateway

docs/docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ curl -s -H "Authorization: Bearer $MCPGATEWAY_BEARER_TOKEN" \
200200
??? example "End-to-end demo (register a local MCP server)"
201201

202202
```bash
203-
# 1️⃣ Spin up the sample GO MCP time server using mcpgateway.translate & docker
203+
# 1️⃣ Spin up the sample MCP time server using mcpgateway.translate & docker
204204
python3 -m mcpgateway.translate \
205205
--stdio "docker run --rm -i ghcr.io/ibm/fast-time-server:latest -transport=stdio" \
206206
--expose-sse \

docs/docs/using/servers/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ The **ContextForge Gateway** includes a collection of **high-performance sample
88

99
## 🌟 Available Servers
1010

11-
### 🦫 Fast Time Server (Go)
12-
**`mcp-servers/go/fast-time-server`** - Ultra-fast timezone and time conversion tools
11+
### 🦀 Fast Time Server (Rust)
12+
**`mcp-servers/rust/fast-time-server`** - Ultra-fast timezone and time conversion tools
1313

14-
- **Language:** Go 1.21+
14+
- **Language:** Rust
1515
- **Performance:** Sub-millisecond response times
1616
- **Transport:** stdio, HTTP, SSE, dual-mode
1717
- **Tools:** `get_system_time`, timezone conversions with DST support
1818
- **Container:** `ghcr.io/ibm/fast-time-server:latest`
1919

20-
**[📖 Full Documentation](go/fast-time-server.md)**
20+
**[📖 Source README](https://github.com/IBM/mcp-context-forge/tree/main/mcp-servers/rust/fast-time-server)**
2121

2222
#### Quick Start
2323
```bash
@@ -27,7 +27,7 @@ docker run --rm -it -p 8888:8080 \
2727
-transport=dual -log-level=debug
2828

2929
# From source
30-
cd mcp-servers/go/fast-time-server
30+
cd mcp-servers/rust/fast-time-server
3131
make build && make run
3232
```
3333

@@ -218,7 +218,7 @@ We're particularly interested in:
218218

219219
## 🔗 Quick Links
220220

221-
- [🦫 **Fast Time Server (Go)**](go/fast-time-server.md)
221+
- [🦀 **Fast Time Server (Rust)**](https://github.com/IBM/mcp-context-forge/tree/main/mcp-servers/rust/fast-time-server)
222222

223223
---
224224

mcp-servers/rust/fast-time-server/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2-
# 🦀 FAST-TEST-SERVER - Makefile
2+
# 🦀 FAST-TIME-SERVER - Makefile
33
# Ultra-fast MCP server in Rust for performance testing
44
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
55
#
66
# Usage: make <target> or just `make help`
77
#
8-
# help: 🦀 FAST-TEST-SERVER (Rust build & automation helpers)
8+
# help: 🦀 FAST-TIME-SERVER (Rust build & automation helpers)
99
# ─────────────────────────────────────────────────────────────────────────
1010

1111
# =============================================================================

mcp-servers/rust/fast-time-server/locustfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def on_test_start(environment, **kwargs):
9696
return
9797

9898
logger.info("=" * 60)
99-
logger.info("RUST FAST-TEST-SERVER LOAD TEST (FastHttpUser)")
99+
logger.info("RUST FAST-TIME-SERVER LOAD TEST (FastHttpUser)")
100100
logger.info("=" * 60)
101101
logger.info(f"Host: {environment.host}")
102102
logger.info(f"MCP Endpoint: {environment.host}{MCP_PATH}")
@@ -116,7 +116,7 @@ def on_test_stop(environment, **kwargs):
116116
failure_rate = (total_failures / total_requests * 100) if total_requests > 0 else 0
117117

118118
print("\n" + "=" * 80)
119-
print("RUST FAST-TEST-SERVER TEST SUMMARY (FastHttpUser)")
119+
print("RUST FAST-TIME-SERVER TEST SUMMARY (FastHttpUser)")
120120
print("=" * 80)
121121
print(f"\n{'OVERALL METRICS':^80}")
122122
print("-" * 80)

0 commit comments

Comments
 (0)