mcp-server template

A template for creating MCP (ModelContextProvider) servers, configurable via environment variables.

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": "sse"
      }
    }
  }
}

Máy chủ liên quan

NotebookLM Web Importer

Nhập trang web và video YouTube vào NotebookLM chỉ với một cú nhấp. Được tin dùng bởi hơn 200.000 người dùng.

Cài đặt tiện ích Chrome