This repository contains the build configurations for official Docker images of Model Context Protocol (MCP) servers, optimized for the Targetly Marketplace.
Each server image encapsulates:
- Build Context: The original source code from the author (e.g.,
modelcontextprotocol/servers). - Targetly Adapter: An HTTP/SSE adapter (
targetly-adapter.jsortargetly-adapter.py) that makes the server web-accessible.
adapters/: Contains the bridge scripts that run inside the container.servers/: Contains the Dockerfile for each official image.
From the root of this repository:
# Build Memory Server (Node.js)
docker build -f servers/memory/Dockerfile -t targetly/mcp-memory:latest .
# Build Time Server (Python)
docker build -f servers/time/Dockerfile -t targetly/mcp-time:latest .- Create a folder in
servers/. - Create a
Dockerfile. - Copy the pattern from
memory(for Node) ortime(for Python). - Ensure it copies the correct adapter from the
adapters/context.