MCP (ModelContextProvider) server template
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.
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"
}
}
}
}