Skip to content

Latest commit

 

History

History
1131 lines (878 loc) · 63.3 KB

File metadata and controls

1131 lines (878 loc) · 63.3 KB

Changelog

All notable changes to this project will be documented in this file. The format is based on Keep a Changelog and this project adheres to Semantic Versioning.


[0.7.0] - 2025-09-16 - Enterprise Multi-Tenancy, RBAC, Teams, SSO

Overview

This major release implements [EPIC #860]: Complete Enterprise Multi-Tenancy System with Team-Based Resource Scoping, transforming MCP Gateway from a single-tenant system into a production-ready enterprise multi-tenant platform with team-based resource scoping, comprehensive authentication, and enterprise SSO integration.

Impact: Complete architectural transformation enabling secure team collaboration, enterprise SSO integration, and scalable multi-tenant deployments.

🚀 Migration Guide

⚠️ IMPORTANT: This is a major architectural change requiring database migration.

📖 Complete migration instructions: See MIGRATION-0.7.0.md for detailed upgrade guidance from v0.6.0 to v0.7.0.

📋 Migration includes:

  • Automated database schema upgrade
  • Team assignment for existing servers/resources
  • Platform admin user creation
  • Configuration export/import tools
  • Comprehensive verification and troubleshooting

🔑 Password Management: After migration, platform admin password must be changed using the API endpoint /auth/email/change-password. The PLATFORM_ADMIN_PASSWORD environment variable is only used during initial setup.

Added

🔐 Authentication & Authorization System

  • Email-based Authentication (#544) - Complete user authentication system with Argon2id password hashing replacing basic auth
  • Complete RBAC System (#283) - Platform Admin, Team Owner, Team Member roles with full multi-tenancy support
  • Enhanced JWT Tokens (#87) - JWT tokens with team context, scoped permissions, and per-user expiry
  • Asymmetric JWT Algorithm Support - Complete support for RSA (RS256/384/512) and ECDSA (ES256/384/512) algorithms alongside existing HMAC support
    • Multiple Algorithm Support: HS256/384/512 (HMAC), RS256/384/512 (RSA), ES256/384/512 (ECDSA)
    • Enterprise Security: Public/private key separation for distributed architectures
    • Configuration Validation: Runtime validation ensures proper keys exist for chosen algorithm
    • Backward Compatibility: Existing HMAC JWT configurations continue working unchanged
    • Key Management Integration: make certs-jwt and make certs-jwt-ecdsa for secure key generation
    • Container Support: make container-run-ssl-jwt for full TLS + JWT asymmetric deployment
    • Dynamic Client Registration: Configurable audience verification for DCR scenarios
  • Password Policy Engine (#426) - Configurable security requirements with password complexity rules
  • Password Change API - Secure /auth/email/change-password endpoint for changing user passwords with old password verification
  • Multi-Provider SSO Framework (#220, #278, #859) - GitHub, Google, and IBM Security Verify integration
  • Per-Virtual-Server API Keys (#282) - Scoped access tokens for individual virtual servers

👥 Team Management System

  • Personal Teams Auto-Creation - Every user automatically gets a personal team on registration
  • Multi-Team Membership - Users can belong to multiple teams with different roles (owner/member)
  • Team Invitation System - Email-based invitations with secure tokens and expiration
  • Team Visibility Controls - Private/Public team discovery and cross-team collaboration
  • Team Administration - Complete team lifecycle management via API and Admin UI

🔒 Resource Scoping & Visibility

  • Three-Tier Resource Visibility System:
    • Private: Owner-only access
    • Team: Team member access
    • Public: Cross-team access for collaboration
  • Applied to All Resource Types: Tools, Servers, Resources, Prompts, A2A Agents
  • Team-Scoped API Endpoints with proper access validation and filtering
  • Cross-Team Resource Discovery for public resources

🏗️ Platform Administration

  • Platform Admin Role separate from team roles for system-wide management
  • Domain-Based Auto-Assignment via SSO (SSO_AUTO_ADMIN_DOMAINS)
  • Enterprise Domain Trust (SSO_TRUSTED_DOMAINS) for controlled access
  • System-Wide Team Management for administrators

🗄️ Database & Infrastructure

  • Complete Multi-Tenant Database Schema with proper indexing and performance optimization
  • Team-Based Query Filtering for performance and security
  • Automated Migration Strategy from single-tenant to multi-tenant with rollback support
  • All APIs Redesigned to be team-aware with backward compatibility

🔧 Configuration & Security

  • Database Connection Pool Configuration - Optimized settings for multi-tenant workloads:

    # New .env.example settings for performance:
    DB_POOL_SIZE=50              # Maximum persistent connections (default: 200, SQLite capped at 50)
    DB_MAX_OVERFLOW=20           # Additional connections beyond pool_size (default: 10, SQLite capped at 20)
    DB_POOL_TIMEOUT=30           # Seconds to wait for connection before timeout (default: 30)
    DB_POOL_RECYCLE=3600         # Seconds before recreating connection (default: 3600)
  • Complete MariaDB & MySQL Database Support (#925) - Full production support for MariaDB and MySQL backends:

    # MariaDB (recommended MySQL-compatible option):
    DATABASE_URL=mysql+pymysql://mysql:changeme@localhost:3306/mcp
    
    # Docker deployment with MariaDB 12.0.2-ubi10:
    DATABASE_URL=mysql+pymysql://mysql:changeme@mariadb:3306/mcp
    • 36+ database tables fully compatible with MariaDB 12.0+ and MySQL 8.4+
    • All VARCHAR length issues resolved for MySQL compatibility
    • Container support: MariaDB and MySQL drivers included in all container images
    • Complete feature parity with SQLite and PostgreSQL backends
    • Production ready: Supports all MCP Gateway features including federation, caching, and A2A agents
  • Enhanced JWT Configuration - Audience, issuer claims, and improved token validation:

    # New JWT configuration options:
    JWT_AUDIENCE=mcpgateway-api      # JWT audience claim for token validation
    JWT_ISSUER=mcpgateway           # JWT issuer claim for token validation
  • Account Security Configuration - Lockout policies and failed login attempt limits:

    # New security policy settings:
    MAX_FAILED_LOGIN_ATTEMPTS=5              # Maximum failed attempts before lockout
    ACCOUNT_LOCKOUT_DURATION_MINUTES=30      # Account lockout duration in minutes

Changed

🔄 Authentication Migration

  • Username to Email Migration - All authentication now uses email addresses instead of usernames
    # OLD (v0.6.0 and earlier):
    python3 -m mcpgateway.utils.create_jwt_token --username admin --exp 10080 --secret my-test-key
    
    # NEW (v0.7.0+):
    python3 -m mcpgateway.utils.create_jwt_token --username admin@example.com --exp 10080 --secret my-test-key
  • JWT Token Format Enhanced - Tokens now include team context and scoped permissions
  • API Authentication Updated - All examples and documentation updated to use email-based authentication

📊 Database Schema Evolution

  • New Multi-Tenant Tables: email_users, email_teams, email_team_members, email_team_invitations, token_usage_logs
  • Token Management Tables: email_api_tokens, token_usage_logs, token_revocations - Complete API token lifecycle tracking
  • Extended Resource Tables - All resource tables now include team_id, owner_email, visibility columns
  • Performance Indexing - Strategic indexes on team_id, owner_email, visibility for optimal query performance

🚀 API Enhancements

  • New Authentication Endpoints - Email registration/login and SSO provider integration
  • New Team Management Endpoints - Complete CRUD operations for teams and memberships
  • Enhanced Resource Endpoints - All resource endpoints support team-scoping parameters
  • Backward Compatibility - Existing API endpoints remain functional with feature flags

Security

  • Data Isolation - Team-scoped queries prevent cross-tenant data access
  • Resource Ownership - Every resource has owner_email and team_id validation
  • Visibility Enforcement - Private/Team/Public visibility strictly enforced
  • Secure Tokens - Invitation tokens with expiration and single-use validation
  • Domain Restrictions - Corporate domain enforcement via SSO_TRUSTED_DOMAINS
  • MFA Support - Automatic enforcement of SSO provider MFA policies

Documentation

  • Architecture Documentation - docs/docs/architecture/multitenancy.md - Complete multi-tenancy architecture guide
  • SSO Integration Tutorials:
    • docs/docs/manage/sso.md - General SSO configuration guide
    • docs/docs/manage/sso-github-tutorial.md - GitHub SSO integration tutorial
    • docs/docs/manage/sso-google-tutorial.md - Google SSO integration tutorial
    • docs/docs/manage/sso-ibm-tutorial.md - IBM Security Verify integration tutorial
    • docs/docs/manage/sso-okta-tutorial.md - Okta SSO integration tutorial
  • Configuration Reference - Complete environment variable documentation with examples
  • Migration Guide - Single-tenant to multi-tenant upgrade path with troubleshooting
  • API Reference - Team-scoped endpoint documentation with usage examples

Infrastructure

  • Team-Based Indexing - Optimized database queries for multi-tenant workloads
  • Connection Pooling - Enhanced configuration for enterprise scale
  • Migration Scripts - Automated Alembic migrations with rollback support
  • Performance Monitoring - Team-scoped metrics and observability

Migration Guide

Environment Configuration Updates

Update your .env file with the new multi-tenancy settings:

#####################################
# Email-Based Authentication
#####################################

# Enable email-based authentication system
EMAIL_AUTH_ENABLED=true

# Platform admin user (bootstrap from environment)
PLATFORM_ADMIN_EMAIL=admin@example.com
PLATFORM_ADMIN_PASSWORD=changeme
PLATFORM_ADMIN_FULL_NAME=Platform Administrator

# Argon2id Password Hashing Configuration
ARGON2ID_TIME_COST=3
ARGON2ID_MEMORY_COST=65536
ARGON2ID_PARALLELISM=1

# Password Policy Configuration
PASSWORD_MIN_LENGTH=8
PASSWORD_REQUIRE_UPPERCASE=false
PASSWORD_REQUIRE_LOWERCASE=false
PASSWORD_REQUIRE_NUMBERS=false
PASSWORD_REQUIRE_SPECIAL=false

#####################################
# Personal Teams Configuration
#####################################

# Enable automatic personal team creation for new users
AUTO_CREATE_PERSONAL_TEAMS=true

# Personal team naming prefix
PERSONAL_TEAM_PREFIX=personal

# Team Limits
MAX_TEAMS_PER_USER=50
MAX_MEMBERS_PER_TEAM=100

# Team Invitation Settings
INVITATION_EXPIRY_DAYS=7
REQUIRE_EMAIL_VERIFICATION_FOR_INVITES=true

#####################################
# SSO Configuration (Optional)
#####################################

# Master SSO switch - enable Single Sign-On authentication
SSO_ENABLED=false

# GitHub OAuth Configuration
SSO_GITHUB_ENABLED=false
# SSO_GITHUB_CLIENT_ID=your-github-client-id
# SSO_GITHUB_CLIENT_SECRET=your-github-client-secret

# Google OAuth Configuration
SSO_GOOGLE_ENABLED=false
# SSO_GOOGLE_CLIENT_ID=your-google-client-id.googleusercontent.com
# SSO_GOOGLE_CLIENT_SECRET=your-google-client-secret

# IBM Security Verify OIDC Configuration
SSO_IBM_VERIFY_ENABLED=false
# SSO_IBM_VERIFY_CLIENT_ID=your-ibm-verify-client-id
# SSO_IBM_VERIFY_CLIENT_SECRET=your-ibm-verify-client-secret
# SSO_IBM_VERIFY_ISSUER=https://your-tenant.verify.ibm.com/oidc/endpoint/default

Database Migration

Database migrations run automatically on startup:

# Backup your database AND .env file first
cp mcp.db mcp.db.backup.$(date +%Y%m%d_%H%M%S)
cp .env .env.bak

# Update .env with new multi-tenancy settings
cp .env.example .env  # then configure PLATFORM_ADMIN_EMAIL and other settings

# Migrations run automatically when you start the server
make dev  # Migrations execute automatically, then server starts

# Or for production
make serve  # Migrations execute automatically, then production server starts

JWT Token Generation Updates

All JWT token generation now uses email addresses:

# Generate development tokens
export MCPGATEWAY_BEARER_TOKEN=$(python3 -m mcpgateway.utils.create_jwt_token \
    --username admin@example.com --exp 10080 --secret my-test-key)

# For API testing
curl -s -H "Authorization: Bearer $MCPGATEWAY_BEARER_TOKEN" \
     http://127.0.0.1:4444/version | jq

Breaking Changes

  • Database Schema - New tables and extended resource tables (backward compatible with feature flags)
  • Authentication System - Migration from username to email-based authentication
    • Action Required: Update JWT token generation to use email addresses instead of usernames
    • Action Required: Update .env with new authentication configuration
  • API Changes - New endpoints added, existing endpoints enhanced with team parameters
    • Backward Compatible: Existing endpoints work with new team-scoping parameters
  • Configuration - New required environment variables for multi-tenancy features
    • Action Required: Copy updated .env.example to .env and configure multi-tenancy settings

Issues Closed

Primary Epic:

  • Closes #860 - [EPIC]: Complete Enterprise Multi-Tenancy System with Team-Based Resource Scoping

Core Security & Authentication:

  • Closes #544 - Database-Backed User Authentication with Argon2id (replace BASIC auth)
  • Closes #283 - Role-Based Access Control (RBAC) - User/Team/Global Scopes for full multi-tenancy support
  • Closes #426 - Configurable Password and Secret Policy Engine
  • Closes #87 - Epic: Secure JWT Token Catalog with Per-User Expiry and Revocation
  • Closes #282 - Per-Virtual-Server API Keys with Scoped Access

SSO Integration:

  • Closes #220 - Authentication & Authorization - SSO + Identity-Provider Integration
  • Closes #278 - Authentication & Authorization - Google SSO Integration Tutorial
  • Closes #859 - Authentication & Authorization - IBM Security Verify Enterprise SSO Integration

Future Foundation:

  • Provides foundation for #706 - ABAC Virtual Server Support (RBAC foundation implemented)

[0.6.0] - 2025-08-22 - Security, Scale & Smart Automation

Overview

This major release focuses on Security, Scale & Smart Automation with 118 commits and 50+ issues resolved, bringing significant improvements across multiple domains:

  • 🔌 Plugin Framework - Comprehensive plugin system with pre/post hooks for extensible gateway capabilities
  • 🤖 A2A (Agent-to-Agent) Support - Full integration for external AI agents (OpenAI, Anthropic, custom agents)
  • 📊 OpenTelemetry Observability - Vendor-agnostic observability with Phoenix integration and comprehensive metrics
  • 🔄 Bulk Import System - Enterprise-grade bulk tool import with 200-tool capacity and rate limiting
  • 🔐 Enhanced Security - OAuth 2.0 support, improved headers, well-known URI handlers, and security validation
  • ⚡ Performance & Scale - Streamable HTTP improvements, better caching, connection optimizations
  • 🛠️ Developer Experience - Enhanced UI/UX, better error handling, tool annotations, mutation testing

Added

🔌 Plugin Framework & Extensibility (#319, #313)

  • Comprehensive Plugin System - Full plugin framework with manifest-based configuration
  • Pre/Post Request Hooks - Plugin hooks for request/response interception and modification
  • Tool Invocation Hooks (#682) - tool_pre_invoke and tool_post_invoke plugin hooks
  • Plugin CLI Tools (#720) - Command-line interface for authoring and packaging plugins
  • Phoenix Observability Plugin (#727) - Built-in Phoenix integration for observability
  • External Plugin Support (#773) - Support for loading external plugins with configuration management

🤖 A2A (Agent-to-Agent) Integration (#298, #792)

  • Multi-Agent Support - Integration for OpenAI, Anthropic, and custom AI agents
  • Agent as Tools - A2A agents automatically exposed as tools within virtual servers
  • Protocol Versioning - A2A protocol version support for compatibility
  • Authentication Support - Flexible auth types (API key, OAuth, bearer tokens) for agents
  • Metrics & Monitoring - Comprehensive metrics collection for agent interactions
  • Admin UI Integration - Dedicated A2A management tab in admin interface

📊 OpenTelemetry Observability (#735)

  • Vendor-Agnostic Observability - Full OpenTelemetry instrumentation across the gateway
  • Phoenix Integration (#727) - Built-in Phoenix observability plugin for ML monitoring
  • Distributed Tracing - Request tracing across federated gateways and MCP servers
  • Metrics Export - Comprehensive metrics export to OTLP-compatible backends
  • Performance Monitoring - Detailed performance metrics for tools, resources, and agents

🔄 Bulk Operations & Scale

  • Bulk Tool Import (#737, #798) - Enterprise-grade bulk import with 200-tool capacity
  • Rate Limiting - Built-in rate limiting for bulk operations (10 requests/minute)
  • Batch Processing - Efficient batch processing with progress tracking
  • Import Validation - Comprehensive validation during bulk import operations
  • Export Capabilities (#186, #185) - Granular configuration export/import via UI & API

🔐 Security Enhancements

  • OAuth 2.0 Support (#799) - OAuth authentication support in gateway edit functionality
  • Well-Known URI Handler (#540) - Configurable handlers for security.txt, robots.txt
  • Enhanced Security Headers (#533, #344) - Additional configurable security headers for Admin UI
  • Header Passthrough Security (#685) - Improved security for HTTP header passthrough
  • Bearer Token Removal Option (#705) - Option to completely disable bearer token authentication

💾 Admin UI Log Viewer (#138, #364)

  • Real-time Log Monitoring - Built-in log viewer with live streaming via Server-Sent Events
  • Advanced Filtering - Filter by log level, entity type, time range, and full-text search
  • Export Capabilities - Export filtered logs to JSON or CSV format
  • In-memory Buffer - Configurable circular buffer (1MB default) with size-based eviction
  • Color-coded Severity - Visual indicators for debug, info, warning, error, critical levels
  • Request Tracing - Track logs by request ID for debugging distributed operations

🏷️ Tagging & Metadata System (#586)

  • Comprehensive Tag Support - Tags for tools, resources, prompts, gateways, and A2A agents
  • Tag-based Filtering - Filter and search by tags across all entities
  • Tag Validation - Input validation and editing support for tags
  • Metadata Tracking (#137) - Creator and timestamp metadata for servers, tools, resources

🔄 MCP Protocol Enhancements

  • MCP Elicitation Support (#708) - Implementation of MCP elicitation protocol (v2025-06-18)
  • Streamable HTTP Virtual Server Support (#320) - Full virtual server support for Streamable HTTP
  • SSE Keepalive Configuration (#690) - Configurable keepalive events for SSE transport
  • Enhanced Tool Annotations (#774) - Fixed and improved tool annotation system

🚀 Performance & Infrastructure

  • Mutation Testing (#280, #256) - Comprehensive mutation testing with mutmut for test quality
  • Async Performance Testing (#254) - Async code testing and performance profiling
  • Database Caching Improvements (#794) - Enhanced caching with database as cache type
  • Connection Optimizations (#787) - Improved connection handling and authentication decoding

Fixed

🐛 Critical Bug Fixes

  • Virtual Server Functionality (#704) - Fixed virtual servers not working as advertised in v0.5.0
  • Tool Invocation Errors (#753, #696) - Fixed tool invocation returning 'Invalid method' errors
  • Streamable HTTP Issues (#728, #560) - Fixed translation feature connection and tool listing issues
  • Database Migration (#661, #478, #479) - Fixed database migration issues during doctest execution
  • Resource & Prompt Loading (#716, #393) - Fixed resources and prompts not displaying in Admin Dashboard

🔧 Tool & Gateway Management

  • Tool Edit Screen Issues (#715, #786) - Fixed field mismatch and MCP tool validation errors
  • Duplicate Gateway Registration (#649) - Fixed bypassing of uniqueness check for equivalent URLs
  • Gateway Registration Failures (#646) - Fixed MCP Server/Federated Gateway registration issues
  • Tool Description Display (#557) - Fixed cleanup of tool descriptions (newline removal, text truncation)

🚦 Connection & Transport Issues

  • DNS Resolution Issues (#744) - Fixed gateway failures with CDNs/load balancers
  • Docker Container Issues (#560) - Fixed tool listing when running inside Docker
  • Connection Authentication - Fixed auth header issues and connection reliability
  • Session Management (#518) - Fixed Redis runtime errors with multiple sessions

🖥️ UI/UX Improvements

  • Tool Annotations Display (#774) - Fixed annotations not working with improved specificity
  • Escape Key Handler (#802) - Added event handler for escape key functionality
  • Content Validation (#436) - Fixed content length verification when headers absent
  • Resource MIME Types (#520) - Fixed resource mime-type always storing as text/plain

Changed

🔄 Architecture & Protocol Updates

  • Wrapper Functionality (#779, #780) - Major redesign of wrapper functionality for performance
  • Integration Type Migration (#452) - Removed "Integration Type: MCP", now supports only REST
  • Transport Protocol Updates - Enhanced Streamable HTTP support with virtual servers
  • Plugin Configuration - New plugin configuration system with enabled/disabled flags (#679)

📊 Metrics & Monitoring Enhancements (#368)

  • Enhanced Metrics Tab UI - Virtual servers and top 5 performance tables
  • Comprehensive Metrics Collection - Improved metrics for A2A agents, plugins, and tools
  • Performance Monitoring - Better performance tracking across all system components

🔧 Developer Experience Improvements

  • Enhanced Error Messages (#666, #672) - Improved error handling throughout main.py and frontend
  • Better Validation (#694) - Enhanced validation for gateway creation and all endpoints
  • Documentation Updates - Improved plugin development workflow and architecture documentation

⚙️ Configuration & Environment

  • Plugin Configuration - New plugins/config.yaml system with enable/disable flags
  • A2A Configuration - Comprehensive A2A configuration options with feature flags
  • Security Configuration - Enhanced security configuration validation and startup checks

Security

  • OAuth 2.0 Integration - Secure OAuth authentication flow support
  • Enhanced Header Security - Improved HTTP header passthrough with security validation
  • Well-Known URI Security - Secure implementation of security.txt and robots.txt handlers
  • Plugin Security Model - Secure plugin loading with manifest validation
  • A2A Security - Encrypted credential storage for A2A agent authentication

Infrastructure & DevOps

  • Comprehensive Testing - Mutation testing, fuzz testing, async performance testing
  • Enhanced CI/CD - Improved build processes with better error handling
  • Plugin Development Tools - CLI tools for plugin authoring and packaging
  • Observability Integration - Full OpenTelemetry and Phoenix integration

Performance

  • Bulk Import Optimization - Efficient batch processing for large-scale tool imports
  • Database Caching - Enhanced caching strategies with database-backed cache
  • Connection Pool Management - Optimized connection handling for better performance
  • Async Processing - Improved async handling throughout the system

🌟 Release Contributors

This release represents a major milestone in MCP Gateway's evolution toward enterprise-grade security, scale, and intelligent automation. With contributions from developers worldwide, 0.6.0 delivers groundbreaking features including a comprehensive plugin framework, A2A agent integration, and advanced observability.

🏆 Top Contributors in 0.6.0

  • Mihai Criveti (@crivetimihai) - Release coordination, A2A architecture, plugin framework, OpenTelemetry integration, and comprehensive testing infrastructure
  • Manav Gupta (@manavg) - Transport-translation enhancements, MCP eval server, reverse proxy implementation, and protocol optimizations
  • Madhav Kandukuri (@madhav165) - Tool service refactoring, database optimizations, UI improvements, and performance enhancements
  • Keval Mahajan (@kevalmahajan) - Plugin architecture, A2A catalog implementation, authentication improvements, and security enhancements

🎉 New Contributors

Welcome to our first-time contributors who joined us in 0.6.0:

  • Multiple Contributors - Multiple contributors helped with OAuth implementation, bulk import features, UI enhancements, and bug fixes across the codebase
  • Community Contributors - Various developers contributed to plugin development, testing improvements, and documentation updates

💪 Returning Contributors

Thank you to our dedicated contributors who continue to strengthen MCP Gateway:

  • Core Team Members - Continued contributions to architecture, testing, documentation, and feature development
  • Community Members - Ongoing support with bug reports, feature requests, and code improvements

This release showcases the power of open-source collaboration, bringing together expertise in AI/ML, distributed systems, security, and developer experience to create a truly enterprise-ready MCP gateway solution.


[0.5.0] - 2025-08-06 - Enterprise Operability, Auth, Configuration & Observability

Overview

This release focuses on enterprise-grade operability with 42 issues resolved, bringing major improvements to authentication, configuration management, error handling, and developer experience. Key achievements include:

  • Enhanced JWT token security with mandatory expiration when configured
  • Improved UI/UX with better error messages, validation, and test tool enhancements
  • Stronger input validation across all endpoints with XSS prevention
  • Developer productivity improvements including file-specific linting and enhanced Makefile
  • Better observability with masked sensitive data and improved status reporting

Added

Security & Authentication

  • JWT Token Expiration Enforcement (#425) - Made JWT token expiration mandatory when REQUIRE_TOKEN_EXPIRATION=true
  • Masked Authentication Values (#601, #602) - Auth credentials now properly masked in API responses for gateways
  • API Docs Basic Auth Support (#663) - Added basic authentication support for API documentation endpoints with DOCS_BASIC_AUTH_ENABLED flag
  • Enhanced XSS Prevention (#576) - Added validation for RPC methods to prevent XSS attacks
  • SPDX License Headers (#315, #317, #656) - Added script to verify and fix file headers with SPDX compliance

Developer Experience

  • File-Specific Linting (#410, #660) - Added make lint filename|dirname target for targeted linting
  • MCP Server Name Column (#506, #624) - New "MCP Server Name" column in Global tools/resources for better visibility
  • Export Connection Strings (#154) - Enhanced connection string export for various clients from UI and API
  • Time Server Integration (#403, #637) - Added time server to docker-compose.yaml for testing
  • Enhanced Makefile (#365, #397, #507, #597, #608, #611, #612) - Major Makefile improvements:
    • Fixed database migration commands
    • Added comprehensive file-specific linting support
    • Improved formatting and readability
    • Consolidated run-gunicorn scripts
    • Added .PHONY declarations where missing
    • Fixed multiple server startup prevention (#430)

UI/UX Improvements

  • Test Tool Enhancements:
    • Display default values from input_schema (#623, #644)
    • Fixed boolean inputs passing as on/off instead of true/false (#622)
    • Fixed array inputs being passed as strings (#620, #641)
    • Support for multiline text input (#650)
    • Improved parameter type conversion logic (#628)
  • Checkbox Selection (#392, #619) - Added checkbox selection for servers, tools, and resources in UI
  • Improved Error Messages (#357, #363, #569, #607, #629, #633, #648) - Comprehensive error message improvements:
    • More user-friendly error messages throughout
    • Better validation feedback for gateways, tools, prompts
    • Fixed "Unexpected error when registering gateway with same name" (#603)
    • Enhanced error handling for add/edit operations

Code Quality & Testing

  • Security Scanners:
    • Added Snyk security scanning (#638, #639)
    • Integrated DevSkim static analysis tool (#590, #592)
    • Added nodejsscan for JavaScript security (#499)
  • Web Linting (#390, #614) - Added lint-web to CI/CD with additional linters (jshint, jscpd, markuplint)
  • Package Linters (#615, #616) - Added pypi package linters: check-manifest and pyroma

Fixed

Critical Bugs

  • Gateway Issues:
    • Fixed gateway ID returned as null by Create API (#521)
    • Fixed duplicate gateway registration bypassing uniqueness check (#603, #649)
    • Gateway update no longer fails silently in UI (#630)
    • Fixed validation for invalid gateway URLs (#578)
    • Improved STREAMABLEHTTP transport validation (#662)
    • Fixed unexpected error when registering gateway with same name (#603)
  • Tool & Resource Handling:
    • Fixed edit tool update failures with integration_type="REST" (#579)
    • Fixed inconsistent acceptable length of tool names (#631, #651)
    • Fixed long input names being reflected in error messages (#598)
    • Fixed edit tool sending invalid "STREAMABLE" value (#610)
    • Fixed GitHub MCP Server registration flow (#584)
  • Authentication & Security:
    • Fixed auth_username and auth_password not being set correctly (#472)
    • Fixed _populate_auth functionality (#471)
    • Properly masked auth values in gateway APIs (#601)

UI/UX Fixes

  • Edit Functionality:
    • Fixed edit prompt failing when template field is empty (#591)
    • Fixed edit screens for servers and resources (#633, #648)
    • Improved consistency in displaying error messages (#357)
  • Version Panel & Status:
    • Clarified difference between "Reachable" and "Available" status (#373, #621)
    • Fixed service status display in version panel
  • Input Validation:
    • Fixed array input parsing in test tool UI (#620, #641)
    • Fixed boolean input handling (#622)
    • Added support for multiline text input (#650)

Infrastructure & Build

  • Docker & Deployment:
    • Fixed database migration commands in Makefile (#365)
    • Resolved Docker container issues (#560)
    • Fixed internal server errors during CRUD operations (#85)
  • Documentation & API:
    • Fixed OpenAPI title from "MCP_Gateway" to "MCP Gateway" (#522)
    • Added mcp-cli documentation (#46)
    • Fixed invalid HTTP request logs (#434)
  • Code Quality:
    • Fixed redundant conditional expressions (#423, #653)
    • Fixed lint-web issues in admin.js (#613)
    • Updated default .env examples to enable UI (#498)

Changed

Configuration & Defaults

  • UI Enabled by Default - Updated .env.example to set MCPGATEWAY_UI_ENABLED=true and MCPGATEWAY_ADMIN_API_ENABLED=true
  • Enhanced Validation - Stricter validation rules for gateway URLs, tool names, and input parameters
  • Improved Error Handling - More descriptive and actionable error messages across all operations

Performance & Reliability

  • Connection Handling - Better retry mechanisms and timeout configurations
  • Session Management - Improved stateful session handling for Streamable HTTP
  • Resource Management - Enhanced cleanup and resource disposal

Developer Workflow

  • Simplified Scripts - Consolidated run-gunicorn scripts into single improved version
  • Better Testing - Enhanced test coverage with additional security and validation tests
  • Improved Tooling - Comprehensive linting and security scanning integration

Security

  • Mandatory JWT token expiration when configured
  • Masked sensitive authentication data in API responses
  • Enhanced XSS prevention in RPC methods
  • Comprehensive security scanning with Snyk, DevSkim, and nodejsscan
  • SPDX-compliant file headers for license compliance

Infrastructure

  • Improved Makefile with better target organization and documentation
  • Enhanced Docker compose with integrated time server
  • Better CI/CD with comprehensive linting and security checks
  • Simplified deployment with consolidated scripts

🌟 Release Contributors

This release represents a major step forward in enterprise readiness with contributions from developers worldwide focusing on security, usability, and operational excellence.

🏆 Top Contributors in 0.5.0

  • Mihai Criveti (@crivetimihai) - Release coordinator, infrastructure improvements, security enhancements
  • Madhav Kandukuri (@madhav165) - XSS prevention, validation improvements, security fixes
  • Keval Mahajan (@kevalmahajan) - UI enhancements, test tool improvements, checkbox implementation
  • Manav Gupta - File-specific linting support and Makefile improvements
  • Rakhi Dutta (@rakdutta) - Comprehensive error message improvements across add/edit operations
  • Shoumi Mukherjee (@shoummu1) - Array input parsing, tool creation fixes, UI improvements

🎉 New Contributors

Welcome to our first-time contributors who joined us in 0.5.0:

  • JimmyLiao (@jimmyliao) - Fixed STREAMABLEHTTP transport validation
  • Arnav Bhattacharya (@arnav264) - Added file header verification script
  • Guoqiang Ding (@dgq8211) - Fixed tool parameter type conversion and API docs auth
  • Pascal Roessner (@roessner) - Added MCP Gateway Name to tools overview
  • Kumar Tiger (@kumar-tiger) - Fixed duplicate gateway name registration
  • Shamsul Arefin (@shams) - Improved JavaScript validation patterns and UUID support
  • Emmanuel Ferdman (@emmanuelferdman) - Fixed prompt service test cases
  • Tomas Pilar (@thomas7pilar) - Fixed missing ID in gateway response and auth flag issues

💪 Returning Contributors

Thank you to our dedicated contributors who continue to strengthen MCP Gateway:

  • Nayana R Gowda - Fixed redundant conditional expressions and Makefile formatting
  • Mohan Lakshmaiah - Improved tool name consistency validation
  • Abdul Samad - Continued UI polish and improvements
  • Satya (@TS0713) - Gateway URL validation improvements
  • ChrisPC-39 - Updated default .env to enable UI and added tool search functionality

[0.4.0] - 2025-07-22 - Security, Bugfixes, Resilience & Code Quality

Security Notice

This is a security-focused release. Upgrading is highly recommended.

This release continues our security-first approach with the Admin UI and Admin API disabled by default. To enable these features for local development, update your .env file:

# Enable the visual Admin UI (true/false)
MCPGATEWAY_UI_ENABLED=true

# Enable the Admin API endpoints (true/false)
MCPGATEWAY_ADMIN_API_ENABLED=true

Overview

This release represents a major milestone in code quality, security, and reliability. With 52 issues resolved, we've achieved:

  • 100% security scanner compliance (Bandit, Grype, nodejsscan)
  • 60% docstring coverage with enhanced documentation
  • 82% pytest coverage including end-to-end testing and security tests
  • 10/10 Pylint score across the entire codebase (along existing 100% pass for ruff, pre-commit)
  • Comprehensive input validation security test suite, checking for security issues and input validation
  • Smart retry mechanisms with exponential backoff for resilient connections

Added

  • Resilience & Reliability:

    • HTTPX Client with Smart Retry (#456) - Automatic retry with exponential backoff and jitter for failed requests
    • Docker HEALTHCHECK (#362) - Container health monitoring for production deployments
    • Enhanced Error Handling - Replaced assert statements with proper exceptions throughout codebase
  • Developer Experience:

    • Test MCP Server Connectivity Tool (#181) - Debug and validate gateway connections directly from Admin UI
    • Persistent Admin UI Filter State (#177) - Filters and preferences persist across page refreshes
    • Contextual Hover-Help Tooltips (#233) - Inline help throughout the UI for better user guidance
    • mcp-cli Documentation (#46) - Comprehensive guide for using MCP Gateway with the official CLI
    • JSON-RPC Developer Guide (#19) - Complete curl command examples for API integration
  • Security Enhancements:

    • Comprehensive Input Validation Test Suite (#552) - Extensive security tests for all input scenarios
    • Additional Security Scanners (#415) - Added nodejsscan (#499) for JavaScript security analysis
    • Enhanced Validation Rules (#339, #340) - Stricter input validation across all API endpoints
    • Output Escaping in UI (#336) - Proper HTML escaping for all user-controlled content
  • Code Quality Tools:

    • Dead Code Detection (#305) - Vulture and unimport integration for cleaner codebase
    • Security Vulnerability Scanning (#279) - Grype integration in CI/CD pipeline
    • 60% Doctest Coverage (#249) - Executable documentation examples with automated testing

Fixed

  • Critical Bugs:

    • STREAMABLEHTTP Transport (#213) - Fixed critical issues preventing use of Streamable HTTP
    • Authentication Handling (#232) - Resolved "Auth to None" failures
    • Gateway Authentication (#471, #472) - Fixed auth_username and auth_password not being set correctly
    • XSS Prevention (#361) - Prompt and RPC endpoints now properly validate content
    • Transport Validation (#359) - Gateway validation now correctly rejects invalid transport types
  • UI/UX Improvements:

    • Dark Theme Visibility (#366) - Fixed contrast and readability issues in dark mode
    • Test Server Connectivity (#367) - Repaired broken connectivity testing feature
    • Duplicate Server Names (#476) - UI now properly shows errors for duplicate names
    • Edit Screen Population (#354) - Fixed fields not populating when editing entities
    • Annotations Editor (#356) - Annotations are now properly editable
    • Resource Data Handling (#352) - Fixed incorrect data mapping in resources
    • UI Element Spacing (#355) - Removed large empty spaces in text editors
    • Metrics Loading Warning (#374) - Eliminated console warnings for missing elements
  • API & Backend:

    • Federation HTTPS Detection (#424) - Gateway now respects X-Forwarded-Proto headers
    • Version Endpoint (#369, #382) - API now returns proper semantic version
    • Test Server URL (#396) - Fixed incorrect URL construction for test connections
    • Gateway Tool Separator (#387) - Now respects GATEWAY_TOOL_NAME_SEPARATOR configuration
    • UI-Disabled Mode (#378) - Unit tests now properly handle disabled UI scenarios
  • Infrastructure & CI/CD:

    • Makefile Improvements (#371, #433) - Fixed Docker/Podman detection and venv handling
    • GHCR Push Logic (#384) - Container images no longer incorrectly pushed on PRs
    • OpenAPI Documentation (#522) - Fixed title formatting in API specification
    • Test Isolation (#495) - Fixed test_admin_tool_name_conflict affecting actual database
    • Unused Config Removal (#419) - Removed deprecated lock_file_path from configuration

Changed

  • Code Quality Achievements:

    • 60% Docstring Coverage (#467) - Every function and class now fully documented, complementing 82% pytest coverage
    • Zero Bandit Issues (#421) - All security linting issues resolved
    • 10/10 Pylint Score (#210) - Perfect code quality score maintained
    • Zero Web Stack Lint Issues (#338) - Clean JavaScript and HTML throughout
  • Security Improvements:

    • Enhanced Input Validation - Stricter backend validation rules with configurable limits, with additional UI validation rules
    • Removed Git Commands (#416) - Version detection no longer uses subprocess calls
    • Secure Error Handling (#412) - Better exception handling without information leakage
  • Developer Workflow:

    • E2E Acceptance Test Documentation (#399) - Comprehensive testing guide
    • Security Policy Documentation (#376) - Clear security guidelines on GitHub Pages
    • Pre-commit Configuration (#375) - yamllint now correctly ignores node_modules
    • PATCH Method Support (#508) - REST API integration now properly supports PATCH

Security

  • All security scanners now pass with zero issues: Bandit, Grype, nodejsscan
  • Comprehensive input validation prevents XSS, SQL injection, and other attacks
  • Secure defaults with UI and Admin API disabled unless explicitly enabled
  • Enhanced error handling prevents information disclosure
  • Regular security scanning integrated into CI/CD pipeline

Infrastructure

  • Docker health checks for production readiness
  • Improved Makefile with OS detection and better error handling
  • Enhanced CI/CD with security scanning and code quality gates
  • Better test isolation and coverage reporting

🌟 Release Contributors

This release represents our commitment to enterprise-grade security and code quality. Thanks to our amazing contributors who made this security-focused release possible!

🏆 Top Contributors in 0.4.0

  • Mihai Criveti (@crivetimihai) - Release coordinator, security improvements, and extensive testing infrastructure
  • Madhav Kandukuri (@madhav165) - Major input validation framework, security fixes, and test coverage improvements
  • Keval Mahajan (@kevalmahajan) - HTTPX retry mechanism implementation and UI improvements
  • Manav Gupta (@manavgup) - Comprehensive doctest coverage and Playwright test suite

🎉 New Contributors

Welcome to our first-time contributors who joined us in 0.4.0:

  • Satya (@TS0713) - Fixed duplicate server name handling and invalid transport type validation
  • Guoqiang Ding (@dgq8211) - Improved tool description display with proper line wrapping
  • Rakhi Dutta (@rakdutta) - Enhanced error messages for better user experience
  • Nayana R Gowda - Fixed CodeMirror layout spacing issues
  • Mohan Lakshmaiah - Contributed UI/UX improvements and test case updates
  • Shoumi Mukherjee - Fixed resource data handling in the UI
  • Reeve Barreto (@reevebarreto) - Implemented the Test MCP Server Connectivity feature
  • ChrisPC-39/Sebastian - Achieved 10/10 Pylint score and added security scanners
  • Jason Frey (@fryguy9) - Improved GitHub Actions with official IBM Cloud CLI action

💪 Returning Contributors

Thank you to our dedicated contributors who continue to strengthen MCP Gateway:

  • Thong Bui - REST API enhancements including PATCH support and path parameters
  • Abdul Samad - Dark mode improvements and UI polish

This release represents a true community effort with contributions from developers around the world. Your dedication to security, code quality, and user experience has made MCP Gateway more robust and enterprise-ready than ever!


[0.3.1] - 2025-07-11 - Security and Data Validation (Pydantic, UI)

Security Improvements

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).

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.

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).

  • Comprehensive Input Validation Framework (#339, #340):

    • Enhanced data validation for all /admin endpoints - tools, resources, prompts, gateways, and servers
    • Extended validation framework to all non-admin API endpoints for consistent data integrity
    • Implemented configurable validation rules with sensible defaults:
      • Character restrictions: names ^[a-zA-Z0-9_\-\s]+$, tool names ^[a-zA-Z][a-zA-Z0-9_]*$
      • URL scheme validation for approved protocols (http://, https://, ws://, wss://)
      • JSON nesting depth limits (default: 10 levels) to prevent resource exhaustion
      • Field-specific length limits (names: 255, descriptions: 4KB, content: 1MB)
      • MIME type validation for resources
    • Clear, helpful error messages guide users to correct input formats
  • Enhanced Output Handling in Admin UI (#336):

    • Improved data display safety - all user-controlled content now properly HTML-escaped
    • Protected fields include prompt templates, tool names/annotations, resource content, gateway configs
    • Ensures user data displays as intended without unexpected behavior

Added

  • Test MCP Server Connectivity Tool (#181) - new debugging feature in Admin UI to validate gateway connections
  • Persistent Admin UI Filter State (#177) - filters and view preferences now persist across page refreshes
  • Revamped UI Components - metrics and version tabs rewritten from scratch for consistency with overall UI layout

Changed

  • Code Quality - Zero Lint Status (#338):

    • Resolved all 312 code quality issues across the web stack
    • Updated 14 JavaScript patterns to follow best practices
    • Corrected 2 HTML structure improvements
    • Standardized JavaScript naming conventions
    • Removed unused code for cleaner maintenance
  • Validation Configuration - new environment variables for customization. Update your .env:

    VALIDATION_MAX_NAME_LENGTH=255
    VALIDATION_MAX_DESCRIPTION_LENGTH=4096
    VALIDATION_MAX_JSON_DEPTH=10
    VALIDATION_ALLOWED_URL_SCHEMES=["http://", "https://", "ws://", "wss://"]
  • Performance - validation overhead kept under 10ms per request with efficient patterns


[0.3.0] - 2025-07-08

Added

  • Transport-Translation Bridge (mcpgateway.translate) - bridges local JSON-RPC/stdio servers to HTTP/SSE and vice versa:

    • Expose local stdio MCP servers over SSE endpoints with session management
    • Bridge remote SSE endpoints to local stdio for seamless integration
    • Built-in keepalive mechanisms and unique session identifiers
    • Full CLI support: python3 -m mcpgateway.translate --stdio "uvx mcp-server-git" --port 9000
  • Tool Annotations & Metadata - comprehensive tool annotation system:

    • New annotations JSON column in tools table for storing rich metadata
    • UI support for viewing and managing tool annotations
    • Alembic migration scripts for smooth database upgrades (e4fc04d1a442)
  • Multi-server Tool Federations - resolved tool name conflicts across gateways (#116):

    • Composite Key & UUIDs for Tool Identity - tools now uniquely identified by (gateway_id, name) instead of global name uniqueness
    • Generated qualified_name field (gateway.tool) for human-readable tool references
    • UUID primary keys for Gateways, Tools, and Servers for future-proof references
    • Enables adding multiple gateways with same-named tools (e.g., multiple google tools)
  • Auto-healing & Visibility - enhanced gateway and tool status management (#159):

    • Separated is_active into enabled and reachable fields for better status granularity (#303)
    • Auto-activation of MCP servers when they come back online after being marked unreachable
    • Improved status visibility in Admin UI with proper enabled/reachable indicators
  • Export Connection Strings - one-click client integration (#154):

    • Generate ready-made configs for LangChain, Claude Desktop, and other MCP clients
    • /servers/{id}/connect API endpoint for programmatic access
    • Download connection strings directly from Admin UI
  • Configurable Connection Retries - resilient startup behavior (#179):

    • DB_MAX_RETRIES and DB_RETRY_INTERVAL_MS for database connections
    • REDIS_MAX_RETRIES and REDIS_RETRY_INTERVAL_MS for Redis connections
    • Prevents gateway crashes during slow service startup in containerized environments
    • Sensible defaults (3 retries × 2000ms) with full configurability
  • Dynamic UI Picker - enhanced tool/resource/prompt association (#135):

    • Searchable multi-select dropdowns replace raw CSV input fields
    • Preview tool metadata (description, request type, integration type) in picker
    • Maintains API compatibility with CSV backend format
  • Developer Experience Improvements:

    • Developer Workstation Setup Guide for Mac (Intel/ARM), Linux, and Windows (#18)
    • Comprehensive environment setup instructions including Docker/Podman, WSL2, and common gotchas
    • Signing commits guide with proper gitconfig examples
  • Infrastructure & DevOps:

    • Enhanced Helm charts with health probes, HPA support, and migration jobs
    • Fast Go MCP server example (mcp-fast-time-server) for high-performance demos (#265)
    • Database migration management with proper Alembic integration
    • Init containers for database readiness checks

Changed

  • Database Schema Evolution:

    • tools.name no longer globally unique - now uses composite key (gateway_id, name)
    • Migration from single is_active field to separate enabled and reachable boolean fields
    • Added UUID primary keys for better federation support and URL-safe references
    • Moved Alembic configuration inside mcpgateway package for proper wheel packaging
  • Enhanced Federation Manager:

    • Updated to use new enabled and reachable fields instead of deprecated is_active
    • Improved gateway synchronization and health check logic
    • Better error handling for offline tools and gateways
  • Improved Code Quality:

    • Fixed Pydantic v2 compatibility - replaced deprecated patterns:
      • Field(..., env=...)model_config with BaseSettings
      • class Configmodel_config = ConfigDict(...)
      • @validator@field_validator
      • .dict().model_dump(), .parse_obj().model_validate()
    • Replaced deprecated stdlib functions - datetime.utcnow()datetime.now(timezone.utc)
    • Pylint improvements across codebase with better configuration and reduced warnings
  • File System & Deployment:

    • Fixed file lock path - now correctly uses /tmp/gateway_service_leader.lock instead of current directory (#316)
    • Improved Docker and Helm deployment with proper health checks and resource limits
    • Better CI/CD integration with updated linting and testing workflows

Fixed

  • UI/UX Fixes:

    • Close button for parameter input in Global Tools tab now works correctly (#189)
    • Gateway modal status display - fixed isActiveenabled && reachable logic (#303)
    • Dark mode improvements and consistent theme application (#26)
  • API & Backend Fixes:

    • Gateway reactivation warnings - fixed 'dict' object Pydantic model errors (#28)
    • GitHub Remote Server addition - resolved server registration flow issues (#152)
    • REST path parameter substitution - improved payload handling for REST APIs (#100)
    • Missing await on coroutine - fixed async response handling in tool service
  • Build & Packaging:

    • Alembic configuration packaging - migration scripts now properly included in pip wheels (#302)
    • SBOM generation failure - fixed documentation build issues (#132)
    • Makefile image target - resolved Docker build and documentation generation (#131)
  • Testing & Quality:

    • Improved test coverage - especially in test_tool_service.py reaching 90%+ coverage
    • Redis connection handling - better error handling and lazy imports
    • Fixed flaky tests and improved stability across test suite
    • Pydantic v2 compatibility warnings - resolved deprecated patterns and stdlib functions (#197)

Security

  • Enhanced connection validation with configurable retry mechanisms
  • Improved credential handling in Basic Auth and JWT implementations
  • Better error handling to prevent information leakage in federation scenarios

🙌 New contributors in 0.3.0

Thanks to the first-time contributors who delivered features in 0.3.0:

Contributor Contributions
Irusha Basukala Comprehensive Developer Workstation Setup Guide for Mac, Linux, and Windows
Michael Moyles Fixed close button functionality for parameter input scheme in UI
Reeve Barreto Configurable connection retries for DB and Redis with extensive testing
Chris PC-39 Major pylint improvements and code quality enhancements
Ruslan Magana Watsonx.ai Agent documentation and integration guides
Shaikh Quader macOS-specific setup documentation
Mohan Lakshmaiah Test case updates and coverage improvements

🙏 Returning contributors who delivered in 0.3.0

Contributor Key contributions
Mihai Criveti Release coordination, code reviews, mcpgateway.translate stdio ↔ SSE, overall architecture, Issue Creation, Helm chart enhancements, HPA support, pylint configuration, documentation updates, isort cleanup, and infrastructure improvements
Manav Gupta Transport-Translation Bridge mcpgateway.translate Reverse SSE ↔ stdio bridging,
Madhav Kandukuri Composite Key & UUIDs migration, Alembic integration, extensive test coverage improvements, database schema evolution, and tool service enhancements
Keval Mahajan Auto-healing capabilities, enabled/reachable status migration, federation UI improvements, file lock path fixes, and wrapper functionality

[0.2.0] - 2025-06-24

Added

  • Streamable HTTP transport - full first-class support for MCP's new default transport (deprecated SSE):

    • gateway accepts Streamable HTTP client connections (stateful & stateless). SSE support retained.
    • UI & API allow registering Streamable HTTP MCP servers with health checks, auth & time-outs
    • UI now shows a transport column for each gateway/tool;
  • Authentication & stateful sessions for Streamable HTTP clients/servers (Basic/Bearer headers, session persistence).

  • Gateway hardening - connection-level time-outs and smarter health-check retries to avoid UI hangs

  • Fast Go MCP server example - high-performance reference server for benchmarking/demos.

  • Exportable connection strings - one-click download & /servers/{id}/connect API that generates ready-made configs for LangChain, Claude Desktop, etc. (closed #154).

  • Infrastructure as Code - initial Terraform & Ansible scripts for cloud installs.

  • Developer tooling & UX

    • tox, GH Actions pytest + coverage workflow
    • pre-commit linters (ruff, flake8, yamllint) & security scans
    • dark-mode theme and compact version-info panel in Admin UI
    • developer onboarding checklist in docs.
  • Deployment assets - Helm charts now accept external secrets/Redis; Fly.io guide; Docker-compose local-image switch; Helm deployment walkthrough.

Changed

  • Minimum supported Python is now 3.11; CI upgraded to Ubuntu 24.04 / Python 3.12.
  • Added detailed context-merging algorithm notes to docs.
  • Refreshed Helm charts, Makefile targets, JWT helper CLI and SBOM generation; tightened typing & linting.
  • 333 unit-tests now pass; major refactors in federation, tool, resource & gateway services improve reliability.

Fixed

  • SBOM generation failure in make docs (#132) and Makefile images target (#131).
  • GitHub Remote MCP server addition flow (#152).
  • REST path-parameter & payload substitution issues (#100).
  • Numerous flaky tests, missing dependencies and mypy/flake8 violations across the code-base .

Security

  • Dependency bumps and security-policy updates; CVE scans added to pre-commit & CI (commit ed972a8).

🙌 New contributors in 0.2.0

Thanks to the new first-time contributors who jumped in between 0.1.1 → 0.2.0:

Contributor First delivered in 0.2.0
Abdul Samad Dark-mode styling across the Admin UI and a more compact version-info panel
Arun Babu Neelicattu Bumped the minimum supported Python to 3.11 in pyproject.toml
Manoj Jahgirdar Polished the Docs home page / index
Shoumi Mukherjee General documentation clean-ups and quick-start clarifications
Thong Bui REST adapter: path-parameter ({id}) support, PATCH handling and 204 responses

Welcome aboard-your PRs made 0.2.0 measurably better! 🎉


🙏 Returning contributors who went the extra mile in 0.2.0

Contributor Highlights this release
Mihai Criveti Release management & 0.2.0 version bump, Helm-chart refactor + deployment guide, full CI revamp (pytest + coverage, pre-commit linters, tox), 333 green unit tests, security updates, build updates, fully automated deployment to Code Engine, improved helm stack, doc & GIF refresh
Keval Mahajan Implemented Streamable HTTP transport (client + server) with auth & stateful sessions, transport column in UI, gateway time-outs, extensive test fixes and linting
Madhav Kandukuri - Wrote ADRs for tool-federation & dropdown UX
- Polished the new dark-mode theme
- Authored Issue #154 that specified the connection-string export feature
- Plus multiple stability fixes (async DB, gateway add/del, UV sync, Basic-Auth headers)
Manav Gupta Fixed SBOM generation & license verification, repaired Makefile image/doc targets, improved Docker quick-start and Fly.io deployment docs

Huge thanks for keeping the momentum going! 🚀

[0.1.1] - 2025-06-14

Added

  • Added mcpgateway/translate.py (initial version) to convert stdio -> SSE
  • Moved mcpgateway-wrapper to mcpgateway/wrapper.py so it can run as a Python module (python3 -m mcpgateway.wrapper)
  • Integrated version into UI. API and separate /version endpoint also available.
  • Added /ready endpoint
  • Multiple new Makefile and packaging targets for maintaing the release
  • New helm charts and associated documentation

Fixed

  • Fixed errors related to deleting gateways when metrics are associated with their tools
  • Fixed gateway addition errors when tools overlap. We add the missing tools when tool names overlap.
  • Improved logging by capturing ExceptionGroups correctly and showing specific errors
  • Fixed headers for basic authorization in tools and gateways

[0.1.0] - 2025-06-01

Added

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.

Setting up GitHub repo, CI/CD with GitHub Actions, templates, good first issue, etc.

🚪 Core protocol & gateway

  • 📡 MCP protocol implementation - initialise, ping, completion, sampling, JSON-RPC fallback
  • 🌐 Gateway layer in front of multiple MCP servers with peer discovery & federation

🔄 Adaptation & transport

  • 🧩 Virtual-server wrapper & REST-to-MCP adapter with JSON-Schema validation, retry & rate-limit policies
  • 🔌 Multi-transport support - HTTP/JSON-RPC, WebSocket, Server-Sent Events and stdio

🖥️ User interface & security

  • 📊 Web-based Admin UI (HTMX + Alpine.js + Tailwind) with live metrics
  • 🛡️ JWT & HTTP-Basic authentication, AES-encrypted credential storage, per-tool rate limits

📦 Packaging & deployment recipes

  • 🐳 Container images on GHCR, self-signed TLS recipe, health-check endpoint
  • 🚀 Deployment recipes - Gunicorn config, Docker/Podman/Compose, Kubernetes, Helm, IBM Cloud Code Engine, AWS, Azure, Google Cloud Run

🛠️ Developer & CI tooling

  • 📝 Comprehensive Makefile (80 + targets), linting, > 400 tests, CI pipelines & badges
  • ⚙️ Dev & CI helpers - hot-reload dev server, Ruff/Black/Mypy/Bandit, Trivy image scan, SBOM generation, SonarQube helpers

🗄️ Persistence & performance

  • 🐘 SQLAlchemy ORM with pluggable back-ends (SQLite default; PostgreSQL, MySQL, etc.)
  • 🚦 Fine-tuned connection pooling (DB_POOL_SIZE, DB_MAX_OVERFLOW, DB_POOL_RECYCLE) for high-concurrency deployments

📈 Observability & metrics

  • 📜 Structured JSON logs and /metrics endpoint with per-tool / per-gateway counters

📚 Documentation

Changed

  • Nothing - first tagged version.

Fixed

  • N/A

Release links