mcp-server-template

mcp-server-template

3.1

If you are the rightful owner of mcp-server-template and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Model Context Protocol (MCP) server template provides a framework for deploying and managing model context servers using containerization technologies like Podman or Docker.

mcp-server template

MCP (ModelContextProvider) server template


Building locally

To build the container image locally using Podman, run:

podman build -t mcp-server-template:latest .

This will create a local image named mcp-server-template:latest that you can use to run the server.

Running with Podman or Docker

Example configuration for running with Podman:

{
  "mcpServers": {
    "mcp-server": {
      "command": "podman",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e", "API_BASE_URL",
        "-e", "API_KEY",
        "-e", "MCP_TRANSPORT",
        "localhost/mcp-server-template:latest"
      ],
      "env": {
        "API_BASE_URL": "https://api.example.com",
        "API_KEY": "REDACTED",
        "MCP_TRANSPORT": "stdio"
      }
    }
  }
}