This enterprise-focused release delivers 42 resolved issues with major improvements to authentication, configuration management, error handling, and developer experience. Building on v0.4.0's security foundation, v0.5.0 brings enhanced JWT security, comprehensive UI/UX improvements, and strengthened input validation across all endpoints.
๐ Enterprise Operability Achievements
This release enhances production readiness with:
- Enhanced JWT Security โ Mandatory token expiration enforcement when configured
- Masked Sensitive Data โ Authentication credentials properly hidden in API responses
- Improved Error Handling โ User-friendly messages with actionable guidance
- Better Observability โ Enhanced status reporting and service visibility
- Developer Productivity โ File-specific linting and comprehensive Makefile improvements
- Stronger Validation โ XSS prevention and input validation across all endpoints
Important: Admin UI remains development-only with enhanced security defaults. Never expose it in production. Build your own production UI with appropriate security controls. Refer to the Securing MCP Gateway documentation.
Beta Software Notice: MCP Gateway is in early beta. Expect breaking changes between minor versions. Use only with trusted upstream MCP servers. This is an OPEN SOURCE PROJECT with community-driven support and no official support from IBM. Please refer to SECURITY.md and our Roadmap for more info.
โจ Highlights
- ๐ JWT Token Security โ Mandatory expiration when
REQUIRE_TOKEN_EXPIRATION=true(#425) - ๐ญ Masked Auth Values โ Sensitive credentials hidden in all API responses (#601, #602)
- ๐งช Enhanced Test Tool โ Default values, array/boolean handling, multiline support (#620-#644)
- ๐ ๏ธ Developer Experience โ File-specific linting with
make lint filename(#410, #660) - ๐ Better Visibility โ MCP Server Name column in tools/resources overview (#506, #624)
- ๐ Security Scanning โ Snyk, DevSkim, and nodejsscan integration (#590, #638, #639)
- โ UI Improvements โ Checkbox selection, better error messages, form fixes (#392, #619)
- ๐ SPDX Compliance โ Automated file header verification (#315, #317, #656)
๐จ Important Updates
- UI Enabled by Default โ
.env.examplenow setsMCPGATEWAY_UI_ENABLED=truefor easier onboarding - API Docs Authentication โ New
DOCS_BASIC_AUTH_ENABLEDflag for securing documentation endpoints - Enhanced Validation โ Stricter rules for gateway URLs, tool names, and input parameters
- Improved Scripts โ Consolidated
run-gunicorn.shwith better error handling (#397, #430)
๐ Added
Security & Authentication
- JWT Token Expiration (#425) โ Mandatory expiration with
REQUIRE_TOKEN_EXPIRATION=true - Masked Credentials (#601, #602) โ Auth values hidden in gateway API responses
- API Docs Auth (#663) โ Basic authentication for
/docswithDOCS_BASIC_AUTH_ENABLED - XSS Prevention (#576) โ RPC method validation against injection attacks
- SPDX Headers (#315, #317, #656) โ Automated license compliance checking
Developer Experience
-
File-Specific Linting (#410, #660):
make lint filename.py # Lint single file make lint dirname/ # Lint directory make lint-changed # Lint git changes
-
Enhanced Makefile (#365, #397, #507, #597):
.PHONYdeclarations for all targets- Prevented multiple server startups
- Better formatting and organization
- Consolidated scripts and improved readability
-
Test Tool Enhancements:
UI/UX Improvements
- Checkbox Selection (#392, #619) โ Multi-select for servers, tools, resources
- MCP Server Name Column (#506, #624) โ Better visibility in global views
- Connection String Export (#154) โ One-click client configuration
- Time Server Integration (#403, #637) โ Added to docker-compose for testing
- Error Message Clarity (#357, #363, #569, #629, #648) โ Actionable validation feedback
Code Quality & Testing
-
Security Scanners:
-
Web Linting (#390, #614) โ CI/CD integration with jshint, jscpd, markuplint
-
Package Linters (#615, #616) โ check-manifest and pyroma for PyPI compliance
๐ Fixed
Critical Gateway Issues
- Gateway ID null in Create API (#521)
- Duplicate registration bypass (#603, #649)
- Silent update failures in UI (#630)
- Invalid URL validation (#578)
- STREAMABLEHTTP transport validation (#662)
- GitHub MCP Server registration (#584)
Tool & Resource Handling
- REST tool update failures (#579)
- Inconsistent tool name lengths (#631, #651)
- Long input name reflection (#598)
- Invalid "STREAMABLE" value (#610)
- Edit forms not populating (#591, #633, #648)
Authentication & Security
๐ Changed
Configuration Defaults
- UI Enabled โ
.env.examplesetsMCPGATEWAY_UI_ENABLED=true - Enhanced Validation โ Stricter rules across all inputs
- Better Scripts โ Single
run-gunicorn.shwith improved features
Performance & Reliability
- Improved connection handling and timeouts
- Better stateful session management
- Enhanced resource cleanup
๐ฆ Upgrade Instructions
-
Update your package:
pip install --upgrade mcp-contextforge-gateway==0.5.0
-
Review new settings in
.env:cp .env.example .env # Check new DOCS_BASIC_AUTH_ENABLED setting -
Run database migrations (automatic in Docker/Kubernetes):
make db-upgrade
๐ Release Contributors
This release demonstrates strong community growth with 14 new contributors joining the project!
๐ Top Contributors in 0.5.0
- Mihai Criveti (@crivetimihai) - Release coordinator, infrastructure, security
- Madhav Kandukuri (@madhav165) - XSS prevention, validation, security fixes
- Keval Mahajan (@kevalmahajan) - UI enhancements, test tool improvements
- Manav Gupta - File-specific linting, Makefile improvements
- Rakhi Dutta (@rakdutta) - Comprehensive error message improvements
- Shoumi Mukherjee (@shoummu1) - Array parsing, tool fixes, UI improvements
๐ New Contributors
- JimmyLiao - STREAMABLEHTTP transport validation
- Arnav Bhattacharya - File header verification script
- Guoqiang Ding - Tool parameter conversion, API docs auth
- Pascal Roessner - MCP Gateway Name in tools overview
- Kumar Tiger - Duplicate gateway name fix
- Shamsul Arefin - JavaScript validation, UUID support
- Emmanuel Ferdman - Prompt service test fixes
- Tomas Pilar - Gateway response fixes, auth flags
- ChrisPC-39 - UI enablement, tool search
๐ช Returning Contributors
- Nayana R Gowda - Redundant expressions, formatting
- Mohan Lakshmaiah - Tool name consistency
- Abdul Samad - Continued UI polish
- Satya - Gateway URL validation
๐ Resources
- ๐ Docs: https://ibm.github.io/mcp-context-forge/
- ๐ณ Container:
ghcr.io/ibm/mcp-context-forge:v0.5.0 - ๐ PyPI: mcp-contextforge-gateway
- ๐ Full changelog: Compare v0.4.0โฆv0.5.0