Skip to content

Data-Everything/mcp-server-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MCP Server Templates

Version Python Versions License Discord

Trust Score

Deploy Model Context Protocol (MCP) servers in seconds, not hours.

Zero-configuration deployment of production-ready MCP servers with Docker containers, comprehensive CLI tools, and intelligent caching. Focus on AI integration, not infrastructure setup.


πŸš€ Quick Start

# Install MCP Templates
pip install mcp-templates

# List available templates
mcpt list

# Deploy instantly
mcpt deploy demo

# View deployment
mcpt logs demo

That's it! Your MCP server is running at http://localhost:8080


⚑ Why MCP Templates?

Traditional MCP Setup With MCP Templates
❌ Complex configuration βœ… One-command deployment
❌ Docker expertise required βœ… Zero configuration needed
❌ Manual tool discovery βœ… Automatic detection
❌ Environment setup headaches βœ… Pre-built containers

Perfect for: AI developers, data scientists, DevOps teams building with MCP.


🌟 Key Features

πŸ–±οΈ One-Click Deployment

Deploy MCP servers instantly with pre-built templatesβ€”no Docker knowledge required.

πŸ” Smart Tool Discovery

Automatically finds and showcases every tool your server offers.

🧠 Intelligent Caching

6-hour template caching with automatic invalidation for lightning-fast operations.

πŸ’» Powerful CLI

Comprehensive command-line interface for deployment, management, and tool execution.

πŸ› οΈ Flexible Configuration

Configure via JSON, YAML, environment variables, CLI options, or override parameters.

πŸ“¦ Growing Template Library

Ready-to-use templates for common use cases: filesystem, databases, APIs, and more.


πŸ“š Installation

PyPI (Recommended)

pip install mcp-templates

Docker

docker run --privileged -it dataeverything/mcp-server-templates:latest deploy demo

From Source

git clone https://github.com/DataEverything/mcp-server-templates.git
cd mcp-server-templates
pip install -r requirements.txt

🎯 Common Use Cases

Deploy with Custom Configuration

# Basic deployment
mcpt deploy filesystem --config allowed_dirs="/path/to/data"

# Advanced overrides
mcpt deploy demo --override metadata__version=2.0 --transport http

Manage Deployments

# List all deployments
mcpt list --deployed

# Stop a deployment
mcpt stop demo

# View logs
mcpt logs demo --follow

Template Development

# Create new template
mcpt create my-template

# Test locally
mcpt deploy my-template --backend mock

πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  CLI Tool   │───▢│ DeploymentManager │───▢│ Backend (Docker)    β”‚
β”‚  (mcpt)     β”‚    β”‚                   β”‚    β”‚                     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
       β”‚                      β”‚                        β”‚
       β–Ό                      β–Ό                        β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Template    β”‚    β”‚ CacheManager      β”‚    β”‚ Container Instance  β”‚
β”‚ Discovery   β”‚    β”‚ (6hr TTL)         β”‚    β”‚                     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Configuration Flow: Template Defaults β†’ Config File β†’ CLI Options β†’ Environment Variables


πŸ“¦ Available Templates

Template Description Transport Use Case
demo Hello world MCP server HTTP, stdio Testing & learning
filesystem Secure file operations stdio File management
gitlab GitLab API integration stdio CI/CD workflows
github GitHub API integration stdio Development workflows
zendesk Customer support tools HTTP, stdio Support automation

View all templates β†’


πŸ› οΈ Configuration Examples

Basic Configuration

mcpt deploy filesystem --config allowed_dirs="/home/user/data"

Advanced Configuration

mcpt deploy gitlab \
  --config gitlab_token="$GITLAB_TOKEN" \
  --config read_only_mode=true \
  --override metadata__version=1.2.0 \
  --transport stdio

Configuration File

{
  "allowed_dirs": "/home/user/projects",
  "log_level": "DEBUG",
  "security": {
    "read_only": false,
    "max_file_size": "100MB"
  }
}
mcpt deploy filesystem --config-file myconfig.json

πŸ”§ Template Development

Creating Templates

  1. Use the generator:

    mcpt create my-template
  2. Define template.json:

    {
      "name": "My Template",
      "description": "Custom MCP server",
      "docker_image": "my-org/my-mcp-server",
      "transport": {
        "default": "stdio",
        "supported": ["stdio", "http"]
      },
      "config_schema": {
        "type": "object",
        "properties": {
          "api_key": {
            "type": "string",
            "env_mapping": "API_KEY",
            "sensitive": true
          }
        }
      }
    }
  3. Test and deploy:

    mcpt deploy my-template --backend mock

Full template development guide β†’


πŸ“– Documentation


🀝 Community


πŸ“ License

This project is licensed under the Elastic License 2.0.


πŸ™ Acknowledgments

Built with ❀️ for the MCP community. Thanks to all contributors and template creators!