Dockerized MCP server template

Dockerized MCP server template

dockerized-mcp-server-template•byzantis

A reusable template for a Python Model Context Protocol server that runs in a Docker container and uses stateless Streamable HTTP for communication.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Provides a Python MCP server template built on the Model Context Protocol Python implementation.
  • •Runs the MCP server inside a Docker container.
  • •Uses Streamable HTTP transport with stateless operation for deployment on standard web infrastructure.
  • •Includes an example MCP tool named add that adds two integers.

BEST FOR

  • •Developers building a new MCP server from a Python starting point.
  • •Teams that want to deploy an MCP server in Docker with stateless Streamable HTTP.
  • •Projects targeting serverless or standard web infrastructure for MCP deployments.

ABOUT DOCKERIZED-MCP-SERVER-TEMPLATE

Dockerized MCP server template is cataloged as an MCP server attributed to zantis. A reusable template for a Python Model Context Protocol server that runs in a Docker container and uses stateless Streamable HTTP for communication. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Dockerized MCP server template are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What transport does the template use?

It uses Streamable HTTP transport, available in the Model Context Protocol starting with the Python SDK v1.8.0.

Can the server run without Docker?

Yes. Besides Docker Compose, the server can be run directly using Python after installing dependencies.

Upstream README

View this exact version on GitHub

README.md · 5512a73a70a9 · Fetched 2026-11-13 10:32:18 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Dockerized MCP Server Template

This repository provides a reusable template for a Python server implementing the Model Context Protocol (MCP), running in a Docker container and utilizing Streamable HTTP for real-time communication. Built on the Python implementation of the Model Context Protocol (MCP), this template enables easy integration with Large Language Models (LLMs).

What is MCP?

The Model Context Protocol (MCP) lets you build servers that expose data and functionality to LLM applications in a secure, standardized way.

This template demonstrates a production-ready MCP server running in a Docker container, utilizing stateless Streamable HTTP for real-time communication.

Project Structure

dockerized-mcp-server-template/
├── src/
│   ├── Dockerfile
│   ├── requirements.txt
│   └── server.py
├── docker-compose.yml
└── README.md

Getting Started

Build and Run with Docker Compose

docker-compose up --build

The server will be accessible at:

http://localhost:8080/mcp

Running Directly (without Docker)

Alternatively, you can run the server directly using Python. First, install dependencies:

pip install -r src/requirements.txt

Then run the server:

python src/server.py

The server will be accessible at:

http://localhost:8080/mcp

Example Usage

The example includes a simple MCP tool function add:

@mcp.tool()
def add(a: int, b: int) -> int:
    """Add two numbers"""
    return a + b

You can invoke this tool via MCP client requests.

Technical Notes

This template uses Streamable HTTP transport, which is available in the Model Context Protocol starting with the Python SDK v1.8.0 (https://github.com/modelcontextprotocol/python-sdk).

Why Streamable HTTP?

Streamable HTTP significantly improves upon the previous SSE transport by enabling stateless operation, making MCP compatible with serverless architectures and standard web infrastructure. This approach eliminates the need for persistent connections, resulting in better resource efficiency and cost effectiveness, while offering a more straightforward implementation for developers. The result is an MCP server that's easier to deploy, more scalable, and more resource-efficient without sacrificing functionality.

Resources

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Dockerized MCP server template from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/dockerized-mcp-server-template)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools