MCP Server Template
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Server Templatelist available capabilities"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Enterprise MCP Server Template
This repository is an opinionated, production-oriented architecture template for building MCP (Model Context Protocol) servers using Python. It focuses on maintainability, extensibility, and engineering practices rather than implementing domain-specific capabilities.
This project intentionally contains minimal business logic.
Its purpose is to demonstrate how to structure production-grade MCP servers. Future repositories extend this template with Linux, Docker, Git, Database, and Kubernetes capabilities.
Overview
This template provides an enterprise-ready Model Context Protocol (MCP) foundation. It is designed to act as a platform for exposing infrastructure operations to AI agents and clients via a standardized communication protocol.
Related MCP server: MCP Server Template
Features
Opinionated & Architecture-first: Built around a strict, layered architecture.
Capability Registry: A centralized manager for dynamically loading and registering tools, resources, and prompts.
Strict Decoupling: Business logic is isolated from the server layer and external infrastructure is abstracted via adapters.
Production-Ready: Pre-configured with structured logging (
structlog), health monitoring, dependency injection, and environment configuration.Dockerized: Ready for production and local development using Docker and Docker Compose.
Fast and Modern: Built with Python 3.11+ and relies on
uvfor blazing fast package management.
Roadmap
This repository establishes the canonical architecture that will natively evolve into:
This repository
↓
Linux MCP
↓
Docker MCP
↓
Git MCP
↓
Database MCP
↓
Redis MCP
↓
Kubernetes MCPGetting Started
Local Development
# Start development server
make dev
# Run linting
make lint
# Run formatting
make format
# Run tests
make testDocker
# Build development image
make docker
# Run the dockerized server
docker run -it simple-mcp-server:devTesting
This repository uses pytest and uv to manage and run test cases efficiently.
Running Tests
To run the entire test suite, simply use:
make testNote: Under the hood, this runs uv run pytest.
Test Structure
Tests are organized into logical layers that reflect the enterprise architecture:
tests/unit/: Tests individual components (e.g.,HealthCheckintest_health.py).tests/integration/: Tests the interactions between capabilities, the registry, and services.tests/e2e/: End-to-end testing of the fully booted server (Transport to Infrastructure).tests/fixtures/: Shared test data, mock configurations, and dependency overrides.
Adding New Tests
When contributing new capabilities, place the corresponding test files in the tests/unit/ or tests/integration/ directory using the test_*.py naming convention.
This server cannot be deployed
Maintenance
Related MCP Connectors
Primarily to be used as a template repository for developing MCP servers with FastMCP in Python, P…
Guarded MCP server for agent-readable business truth, provenance, readiness, and discovery.
MCP server for Codat — companies, connections, invoices, bills and financial statements.
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA production-ready Python template for building MCP servers with enterprise features including registry integration, configuration management, structured logging, and extensible patterns for tools, resources, and prompts.MIT
- AlicenseNot gradedqualityCmaintenanceA production-ready template for building Model Context Protocol (MCP) servers in Python, using Docker Compose for containerized development and CI/CD.MIT
- AlicenseNot gradedqualityCmaintenanceA production-ready template for developing Model Context Protocol (MCP) servers using Python and FastMCP.Apache 2.0
- AlicenseAqualityBmaintenanceA Python MCP server template with environment-driven configuration, key authentication with rotation, JSON logging, and a golden-set eval harness for building production-ready MCP servers.2MIT