Add standalone MCP gateway with web UI for dynamic server management #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR implements a complete standalone MCP gateway with a modern web-based user interface for dynamic server management, addressing the need for a UI-driven approach to managing MCP servers with real-time configuration capabilities.
Overview
The standalone gateway provides a comprehensive solution for managing MCP servers through an intuitive web interface, enabling users to:
Key Features
🎛️ Modern Web Interface
🔄 Dynamic Server Management
mcp-add,mcp-remove,mcp-find)📋 Configuration Export
mcp.jsonfiles with STDIO command configurations🌐 Remote Operations
Implementation Details
Web UI (
ui/)index.html: Modern responsive interface with CSS Grid layout and smooth animationsapp.js: JavaScript application with API integration and real-time updatesStandalone Gateway Server (
cmd/standalone-gateway/)Docker Deployment
Dockerfile.standalone: Multi-stage build with embedded UIcompose.standalone.yaml: One-command deployment configurationUsage
Quick Start
Generated Configurations
Claude Desktop (mcp.json):
{ "mcpServers": { "MCP_GATEWAY": { "command": "docker", "args": ["mcp", "gateway", "run", "--servers=filesystem,duckduckgo"], "env": {} } } }Docker Compose:
API Endpoints
GET /api/servers- List available servers with statusPOST /api/servers/add- Add server to gatewayPOST /api/servers/remove- Remove server from gatewayGET /api/export/{claude|llmstudio|docker-compose}- Export configurationsTesting
The implementation includes sample MCP servers (filesystem, duckduckgo, github, postgres, slack) with realistic configurations, secrets requirements, and tool definitions. The UI has been tested with:
This provides a complete solution for standalone MCP gateway management with an intuitive web interface that integrates seamlessly with the existing MCP ecosystem while enabling dynamic server configuration using the complete Docker MCP catalog.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.