Skip to content

Commit d46909b

Browse files
authored
Verify (#1167)
* Catalog docs Signed-off-by: Mihai Criveti <crivetimihai@gmail.com> * Catalog docs Signed-off-by: Mihai Criveti <crivetimihai@gmail.com> --------- Signed-off-by: Mihai Criveti <crivetimihai@gmail.com>
1 parent 94b12b2 commit d46909b

File tree

7 files changed

+507
-4
lines changed

7 files changed

+507
-4
lines changed

.env.example

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,30 @@ MCPGATEWAY_A2A_MAX_RETRIES=3
371371
# Enable A2A agent metrics collection (true/false)
372372
MCPGATEWAY_A2A_METRICS_ENABLED=true
373373

374+
#####################################
375+
# MCP Server Catalog Configuration
376+
#####################################
377+
378+
# Enable MCP server catalog feature (NEW in v0.7.0)
379+
# Allows defining a catalog of pre-configured MCP servers in a YAML file
380+
# for easy discovery and management via the Admin UI
381+
# Options: true (default), false
382+
MCPGATEWAY_CATALOG_ENABLED=true
383+
384+
# Path to the catalog configuration file
385+
# YAML file containing MCP server definitions
386+
# Default: mcp-catalog.yml
387+
MCPGATEWAY_CATALOG_FILE=mcp-catalog.yml
388+
389+
# Automatically health check catalog servers on startup and periodically
390+
# Options: true (default), false
391+
MCPGATEWAY_CATALOG_AUTO_HEALTH_CHECK=true
392+
393+
# Catalog cache TTL in seconds
394+
# How long to cache catalog data before refreshing
395+
# Default: 3600 (1 hour)
396+
MCPGATEWAY_CATALOG_CACHE_TTL=3600
397+
374398
#####################################
375399
# Header Passthrough Configuration
376400
#####################################
@@ -562,7 +586,8 @@ FEDERATION_DISCOVERY=false
562586
FEDERATION_PEERS=[]
563587

564588
# Timeout for federation requests in seconds
565-
FEDERATION_TIMEOUT=30
589+
# Default: 120 seconds (matches config.py)
590+
FEDERATION_TIMEOUT=120
566591

567592
# Interval between federation sync operations in seconds
568593
FEDERATION_SYNC_INTERVAL=300
@@ -593,9 +618,11 @@ PROMPT_RENDER_TIMEOUT=10
593618

594619
# Health Check Configuration
595620
HEALTH_CHECK_INTERVAL=60
596-
HEALTH_CHECK_TIMEOUT=15
621+
# Health check timeout in seconds (default: 10, matches config.py)
622+
HEALTH_CHECK_TIMEOUT=10
597623
UNHEALTHY_THRESHOLD=5
598-
GATEWAY_VALIDATION_TIMEOUT=10
624+
# Gateway URL validation timeout in seconds (default: 5, matches config.py)
625+
GATEWAY_VALIDATION_TIMEOUT=5
599626

600627
# File lock name for gateway service leader election
601628
# Used to coordinate multiple gateway instances when running in cluster mode

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,6 +1296,20 @@ ContextForge implements **OAuth 2.0 Dynamic Client Registration (RFC 7591)** and
12961296
| `INVITATION_EXPIRY_DAYS` | Number of days before team invitations expire | `7` | int > 0 |
12971297
| `REQUIRE_EMAIL_VERIFICATION_FOR_INVITES` | Require email verification for team invitations | `true` | bool |
12981298

1299+
### MCP Server Catalog
1300+
1301+
> 🆕 **New in v0.7.0**: The MCP Server Catalog allows you to define a catalog of pre-configured MCP servers in a YAML file for easy discovery and management via the Admin UI.
1302+
1303+
| Setting | Description | Default | Options |
1304+
| ------------------------------------ | ------------------------------------------------ | ------------------ | ------- |
1305+
| `MCPGATEWAY_CATALOG_ENABLED` | Enable MCP server catalog feature | `true` | bool |
1306+
| `MCPGATEWAY_CATALOG_FILE` | Path to catalog configuration file | `mcp-catalog.yml` | string |
1307+
| `MCPGATEWAY_CATALOG_AUTO_HEALTH_CHECK` | Automatically health check catalog servers | `true` | bool |
1308+
| `MCPGATEWAY_CATALOG_CACHE_TTL` | Catalog cache TTL in seconds | `3600` | int > 0 |
1309+
1310+
**Documentation:**
1311+
- [MCP Server Catalog Guide](https://ibm.github.io/mcp-context-forge/manage/catalog/) - Complete catalog setup and configuration
1312+
12991313
### Security
13001314

13011315
| Setting | Description | Default | Options |

docs/docs/architecture/adr/.pages

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
title: Decision Records
22
nav:
3+
- Overview: index.md
34
- 1 Adopt FastAPI + Pydantic: 001-adopt-fastapi-pydantic.md
45
- 2 Use Async SQLAlchemy ORM: 002-use-async-sqlalchemy-orm.md
56
- 3 Expose Multi-Transport Endpoints: 003-expose-multi-transport-endpoints.md
@@ -8,7 +9,7 @@ nav:
89
- 6 Gateway & Tool-Level Rate Limiting: 006-gateway-tool-rate-limiting.md
910
- 7 Pluggable Cache Backend: 007-pluggable-cache-backend.md
1011
- 8 Federation & Auto-Discovery via DNS-SD: 008-federation-discovery.md
11-
- 9 Built-in Health Checks: 000-built-in-health-checks.md
12+
- 9 Built-in Health Checks: 009-built-in-health-checks.md
1213
- 10 Observability via Prometheus: 010-observability-prometheus.md
1314
- 11 Namespaced Tool Federation: 011-tool-federation.md
1415
- 12 Drop-down tool selection: 012-dropdown-ui-tool-selection.md

docs/docs/manage/.pages

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ nav:
44
- scale.md
55
- tuning.md
66
- backup.md
7+
- catalog.md
78
- bulk-import.md
89
- metadata-tracking.md
910
- export-import.md

0 commit comments

Comments
 (0)