Labsco
angrysky56 logo

MCP-Creator-MCP

โ˜… 1

from angrysky56

Create new MCP servers using AI-guided workflows and intelligent templates.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredNeeds API keys

MCP-Creator-MCP ๐Ÿš€

A meta-MCP server that democratizes MCP server creation through AI-guided workflows and intelligent templates.

Transform vague ideas into production-ready MCP servers with minimal cognitive overhead and maximum structural elegance.

๐ŸŽฏ Vision

Creating MCP servers should be as simple as describing what you want. MCP Creator bridges the gap between idea and implementation, providing intelligent guidance, proven templates, and streamlined workflows.

โœจ Core Features

  • ๐Ÿค– AI-Guided Creation: Get intelligent suggestions and best practices tailored to your use case
  • ๐Ÿ“š Template Library: Curated collection of proven MCP server patterns
  • ๐Ÿ”„ Workflow Engine: Save and reuse creation workflows for consistent results
  • ๐ŸŽจ Gradio Interface: User-friendly web interface for visual server management
  • ๐Ÿ”ง Multi-Language Support: Python, Gradio, and expanding language ecosystem
  • ๐Ÿ“Š Built-in Monitoring: Server health checks and operational visibility
  • ๐Ÿ›ก๏ธ Best Practices: Automated validation and security recommendations

alt text

๐Ÿ—๏ธ Architecture

Core Principles

  • Simplicity: Each component has a single, clear responsibility
  • Predictability: Consistent patterns reduce cognitive load
  • Extensibility: Modular design enables easy customization
  • Reliability: Comprehensive error handling and graceful degradation

Component Overview

โ”œโ”€โ”€ src/mcp_creator/
โ”‚   โ”œโ”€โ”€ core/              # Core server functionality
โ”‚   โ”‚   โ”œโ”€โ”€ config.py      # Clean configuration management
โ”‚   โ”‚   โ”œโ”€โ”€ template_manager.py  # Template system
โ”‚   โ”‚   โ””โ”€โ”€ server_generator.py # Server creation engine
โ”‚   โ”œโ”€โ”€ workflows/         # Workflow management
โ”‚   โ”œโ”€โ”€ ai_guidance/       # AI assistance system
โ”‚   โ””โ”€โ”€ utils/             # Shared utilities
โ”œโ”€โ”€ templates/             # Template library
โ”œโ”€โ”€ ai_guidance/           # Guidance content
โ””โ”€โ”€ mcp_servers/          # Generated servers (default)

๐Ÿ“š Template System

Available Templates

  • Python Basic: Clean, well-structured foundation
  • Python with Resources: Database and API integration patterns
  • Python with Sampling: AI-enhanced server capabilities
  • Gradio Interface: Interactive UI with MCP integration

Creating Custom Templates

Templates use Jinja2 with clean abstractions:

# Template structure
templates/languages/{language}/{template_name}/
โ”œโ”€โ”€ metadata.json          # Template configuration
โ”œโ”€โ”€ template.py.j2        # Main template file
โ””โ”€โ”€ README.md.j2          # Documentation template

๐Ÿ”„ Workflow System

Saving Workflows

save_workflow(
    name="Database MCP Server",
    description="Complete database integration workflow",
    steps=[
        {
            "id": "collect_requirements",
            "type": "input",
            "config": {"fields": ["db_type", "connection_string"]}
        },
        {
            "id": "security_review",
            "type": "ai_guidance",
            "config": {"topic": "database_security"}
        },
        {
            "id": "generate_server",
            "type": "generation",
            "config": {"template": "python:database"}
        }
    ]
)

๐Ÿ”ง Development

Project Structure

The codebase follows clean architecture principles:

  • Separation of Concerns: Each module has a single responsibility
  • Dependency Injection: Components are loosely coupled
  • Error Boundaries: Graceful failure handling throughout
  • Type Safety: Comprehensive type hints and validation

Adding New Templates

  1. Create template directory: templates/languages/{lang}/{name}/
  2. Add metadata.json with template configuration
  3. Create template.{ext}.j2 with Jinja2 template
  4. Test with the template manager

Contributing

  1. Fork the repository
  2. Create a feature branch with descriptive name
  3. Follow the existing code patterns and style
  4. Add tests for new functionality
  5. Submit a pull request with clear description

๐Ÿ›ก๏ธ Security & Best Practices

Built-in Protections

  • Input Validation: All user inputs are validated and sanitized
  • Process Management: Proper cleanup prevents resource leaks
  • Error Handling: Graceful failure with helpful messages
  • Logging: Comprehensive operational visibility
  • Use environment variables for sensitive data
  • Implement rate limiting for production deployments
  • Regular security audits of generated servers
  • Monitor server performance and resource usage

๐Ÿ“Š Monitoring & Operations

Health Checks

The server provides built-in health monitoring:

  • Resource usage tracking
  • Error rate monitoring
  • Performance metrics
  • Template validation

Logging

All operations are logged to stderr (MCP compliance):

# View logs in real-time
python main.py 2>&1 | tee mcp-creator.log

๐Ÿš€ What's Next?

  • Multi-language expansion: TypeScript, Go, Rust templates
  • Cloud deployment: Integration with major cloud platforms
  • Collaboration features: Team workflows and template sharing
  • Advanced AI: Enhanced code generation and optimization
  • Marketplace: Community template and workflow ecosystem

๐Ÿ“ License

MIT License - see LICENSE for details.

๐Ÿค Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.

๐Ÿ’ฌ Support


Built with โค๏ธ for the MCP community

MCP Creator makes sophisticated AI integrations accessible to everyone, from hobbyists to enterprise teams.