A modern, AI-assisted development platform for creating and deploying Model Context Protocol (MCP) servers with Open-WebUI integration. This project provides a complete development environment with UV-based dependency management, comprehensive testing, and production-ready deployment.
- ποΈ Modern Architecture: Clean separation with
mcp/servers/
structure - β‘ UV-Powered: Lightning-fast dependency management (packages in milliseconds)
- π§ͺ Comprehensive Testing: Automated test suites with performance monitoring
- π§ AI-Assisted Development: Optimized for AI agent collaboration
- π¦ Container-Ready: Docker-based development and deployment
- π Open-WebUI Integration: Direct integration with AI assistant interfaces
- π Rich Documentation: Complete development guides and standards
mcp-server-platform/
βββ mcp/
β βββ servers/ # Individual MCP servers
β β βββ openweather/ # Example: Weather server
β β βββ pyproject.toml # UV dependencies
β β βββ openweather.py # Server implementation
β β βββ run_uv.sh # UV runner script
β β βββ README.md # Server documentation
β βββ shared/ # Shared resources
β βββ templates/ # Server templates
β βββ utils/ # Common utilities
β βββ configs/ # Shared configurations
β βββ docs/ # Documentation
βββ tests/ # Test suite
βββ config/ # MCPO configuration
βββ docs/ # Project documentation
βββ scripts/ # Legacy/utility scripts
- Docker and Docker Compose
- Python 3.10+ (for local development)
- Git
git clone <repository-url>
cd mcp-server-platform
docker compose up -d
# Run comprehensive tests
python tests/test_mcp_structure.py
# Test specific functionality
python tests/test_openweather.py
- MCPO Server: http://localhost:8989
- API Documentation: http://localhost:8989/docs
- Health Check: http://localhost:8989/time
- get_current_time: Get current time for any timezone
- Endpoint:
/time/get_current_time
- get_current_weather: Real-time weather conditions with rich formatting
- get_forecast: Detailed 5-day weather forecasts
- π get_weather_recommendations: Smart activity and clothing suggestions
- π get_astronomy_data: Sunrise, sunset, moon phases, solar calculations
- π compare_weather: Multi-city weather comparison (up to 5 cities)
- π get_air_quality: Air quality index and pollution data
- check_openweather_status: Comprehensive server diagnostics
- Endpoints:
/openweather/*
- Features: Activity recommendations, astronomy data, air quality monitoring
- read_resource: Read stored memories
- write_resource: Store new memories
- Endpoints:
/memory/*
- Development Guide: Complete development workflow
- MCP Standards: MCP/MCPO specifications and best practices
- Server Creation: Step-by-step server development
- Testing Guide: Testing framework and utilities
- Architecture: System design and components
- Project Roadmap: Future enhancements and development plans
- Security Guide: Security best practices and API key management
# Comprehensive system test
python tests/test_mcp_structure.py
# OpenWeather-specific tests
python tests/test_openweather.py
# Data mount cleanup
python tests/cleanup_data_mounts.py --dry-run
This project is optimized for AI agent collaboration:
- Clear Structure: Organized directories with specific purposes
- Rich Documentation: Comprehensive guides for AI understanding
- Automated Testing: Validation tools for AI-generated code
- Template System: Standardized patterns for consistency
- Error Handling: Detailed error messages and debugging tools
- Create Server: Use templates in
mcp/shared/templates/
- Implement Logic: Follow MCP standards and patterns
- Test Locally: Use comprehensive test suite
- Deploy: Add to MCPO configuration
- Validate: Run full system tests
- UV Package Management: ~15ms for dependency installation
- API Response Times: ~2-5ms for status checks
- Container Startup: ~10-15 seconds to healthy state
- Memory Usage: Optimized for production deployment
- Environment Variables: Secure API key management
- Container Isolation: Sandboxed server execution
- Read-only Mounts: Secure file system access
- Health Checks: Automated monitoring and recovery
- Read Documentation: Start with DEVELOPMENT.md
- Follow Standards: Use MCP_STANDARDS.md
- Test Thoroughly: Run all test suites
- Document Changes: Update relevant documentation
MIT License - see LICENSE file for details.
- Issues: Use GitHub Issues for bug reports
- Documentation: Check
docs/
directory - Testing: Run test suite for diagnostics
- Community: Follow contribution guidelines