Skip to content

BrandXX/mcp-server-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MCP Server Development Platform

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.

πŸš€ Features

  • πŸ—οΈ 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

πŸ—οΈ Project Structure

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

πŸš€ Quick Start

Prerequisites

  • Docker and Docker Compose
  • Python 3.10+ (for local development)
  • Git

1. Clone and Start

git clone <repository-url>
cd mcp-server-platform
docker compose up -d

2. Verify Installation

# Run comprehensive tests
python tests/test_mcp_structure.py

# Test specific functionality
python tests/test_openweather.py

3. Access Services

πŸ› οΈ Available MCP Servers

⏰ Time Server

  • get_current_time: Get current time for any timezone
  • Endpoint: /time/get_current_time

🌀️ OpenWeather Server (Enhanced v0.3.0)

  • 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

πŸ’Ύ Memory Server

  • read_resource: Read stored memories
  • write_resource: Store new memories
  • Endpoints: /memory/*

πŸ“– Documentation

πŸ§ͺ Testing

# 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

πŸ€– AI-Assisted Development

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

πŸ”§ Development Workflow

  1. Create Server: Use templates in mcp/shared/templates/
  2. Implement Logic: Follow MCP standards and patterns
  3. Test Locally: Use comprehensive test suite
  4. Deploy: Add to MCPO configuration
  5. Validate: Run full system tests

πŸ“Š Performance

  • 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

πŸ”’ Security & Production

  • Environment Variables: Secure API key management
  • Container Isolation: Sandboxed server execution
  • Read-only Mounts: Secure file system access
  • Health Checks: Automated monitoring and recovery

🀝 Contributing

  1. Read Documentation: Start with DEVELOPMENT.md
  2. Follow Standards: Use MCP_STANDARDS.md
  3. Test Thoroughly: Run all test suites
  4. Document Changes: Update relevant documentation

πŸ“„ License

MIT License - see LICENSE file for details.

πŸ†˜ Support

  • Issues: Use GitHub Issues for bug reports
  • Documentation: Check docs/ directory
  • Testing: Run test suite for diagnostics
  • Community: Follow contribution guidelines

About

Modern MCP Server Development Platform with UV, AI assistance, and comprehensive documentation

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published