Skip to main content
Glama

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.

Related MCP server: mcp4mcp

✨ 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

πŸš€ Quick Start

Prerequisites

  • Python 3.10 or higher

  • uv package manager

  • Claude Desktop (for MCP integration)

Installation

# Clone and set up the project
git clone https://github.com/angrysky56/mcp-creator-mcp.git
cd mcp-creator-mcp

# Create and activate virtual environment
uv venv --python 3.12 --seed
source .venv/bin/activate

# Install dependencies
uv add -e .

# Configure environment
cp .env.example .env
# Edit .env with your API keys (see Configuration section)

Basic Usage

  1. Configure Claude Desktop:

    # Copy the example config
    cp example_mcp_config.json ~/path/to/claude_desktop_config.json
    # Edit paths and API keys as needed
  2. Start using in Claude Desktop:

    • Restart Claude Desktop

    • Use tools like create_mcp_server, list_templates, get_ai_guidance

Option 2: Standalone Interface

# Launch the Gradio interface
uv run gradio_interface.py

# Or use the CLI
uv run mcp-creator-gui

πŸ“– Configuration

Environment Variables

Create a .env file with your settings:

# AI Model Providers (at least one required for AI guidance)
ANTHROPIC_API_KEY=your_anthropic_key_here
OPENAI_API_KEY=your_openai_key_here
OLLAMA_BASE_URL=http://localhost:11434

# MCP Creator Settings
DEFAULT_OUTPUT_DIR=./mcp_servers
LOG_LEVEL=INFO

# Gradio Interface
GRADIO_SERVER_PORT=7860
GRADIO_SHARE=false

Claude Desktop Integration

  1. Edit your Claude Desktop config (usually at ~/.config/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "mcp-creator": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/mcp-creator-mcp",
        "run",
        "python",
        "main.py"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "your_key_here"
      }
    }
  }
}
  1. Restart Claude Desktop

πŸ› οΈ Usage Examples

Creating Your First MCP Server

# In Claude Desktop, ask:
"Create an MCP server called 'weather_helper' that provides weather data and forecasts"

# Or use the tool directly:
create_mcp_server(
    name="weather_helper",
    description="Provides weather data and forecasts",
    language="python",
    template_type="basic",
    features=["tools", "resources"]
)

Getting AI Guidance

# Ask for specific guidance:
get_ai_guidance(
    topic="security",
    server_type="database"
)

# Or access guidance resources:
# Use resource: mcp-creator://guidance/sampling

Managing Templates

# List available templates
list_templates()

# Filter by language
list_templates(language="python")

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

πŸ› Troubleshooting

Common Issues

Server won't start:

# Check dependencies
uv add -e .

# Verify configuration
cat .env

# Check logs
tail -f logs/mcp-creator.log

Claude Desktop integration:

# Verify config file syntax
python -m json.tool claude_desktop_config.json

# Check server connectivity
python main.py --test

Template errors:

# List available templates
uv run python -c "from src.mcp_creator import TemplateManager; print(TemplateManager().list_templates())"

πŸ“Š 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.

Available Tools

4 tools
create_mcp_serverB
Create a new MCP server based on specifications.

IMPORTANT NOTES:
- AI sampling (ctx.sample) is not currently supported in Claude Desktop
- Use modern typing: dict, list, str | None instead of Dict, List, Optional
- Generated servers include proper process cleanup and error handling
- All generated code uses working MCP SDK patterns

Args:
    name: Name of the MCP server (must be valid Python identifier)
    description: Description of what the server does
    language: Programming language (python, gradio, typescript)
    template_type: Type of template (basic, fastmcp_server)
    features: list of features to include (tools, resources, prompts)
    output_dir: Output directory (defaults to configured default)

Returns:
    Status message with creation details and next steps

Inputs: name (required), description (required), language, template_type, +2 more.

get_ai_guidanceA
Get structured guidance for MCP server development.

IMPORTANT NOTES:
- AI sampling (ctx.sample) is NOT currently supported in Claude Desktop
- Use modern typing: dict, list, str | None instead of Dict, List, Optional
- Always implement proper process cleanup and signal handling
- Follow MCP SDK patterns for tools, resources, and prompts

This tool provides structured, deterministic guidance instead of AI-generated content.
For dynamic AI assistance, use Claude Desktop's built-in capabilities directly.

Args:
    topic: Topic to get guidance on (best_practices, security, performance, typing, etc.)
    server_type: Type of server for contextualized advice

Returns:
    Structured guidance and recommendations with working code patterns

Inputs: topic (required), server_type.

list_templatesC
list available templates for MCP server creation.

Args:
    language: Filter by language (optional)

Returns:
    Formatted list of available templates

Inputs: language.

save_workflowC
Save a creation workflow for reuse.

Args:
    name: Workflow name
    description: Workflow description
    steps: list of workflow steps

Returns:
    Confirmation message

Inputs: name (required), description (required), steps (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap: create_mcp_server generates new servers, get_ai_guidance provides development advice, list_templates shows available templates, and save_workflow stores reusable workflows. The descriptions reinforce these distinct functions, making tool selection unambiguous.

    Naming Consistency4/5

    Three tools follow a consistent verb_noun pattern (create_mcp_server, list_templates, save_workflow), while get_ai_guidance uses a get_noun pattern that slightly deviates. The naming is still readable and predictable, with only minor inconsistency in verb choice.

    Tool Count5/5

    Four tools is well-scoped for an MCP creation assistant, covering the core workflow: creating servers, getting guidance, listing templates, and saving workflows. Each tool earns its place without redundancy or obvious gaps in this focused domain.

    Completeness4/5

    The toolset covers the main MCP creation lifecycle: planning (guidance), setup (templates), execution (creation), and reuse (workflow saving). A minor gap exists in managing or modifying existing servers (e.g., update or delete operations), but agents can work around this given the server's focused scope.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A Meta MCP Server that provides persistent memory and intelligent guidance for MCP development projects.
      -
    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      An MCP server that enables developers to summon AI development team agents directly from their IDE to help with tasks like PR reviews, security evaluation, and CI/CD deployment setup.
      -
    • A
      license
      A
      quality
      D
      maintenance
      A robust MCP server with tools to search, install, configure, repair, and uninstall MCP servers, automating setup and maintenance across multiple AI and developer tools.
      4
      17
      MIT