mirror of
https://github.com/NickoScope/nickol-knx-mcp.git
synced 2026-09-29 19:31:12 +02:00
Builds the stdio MCP server into a slim image (verified: container starts and responds to initialize + tools/list with all 12 tools). Enables the Glama (glama.ai) checks required by the awesome-mcp-servers listing bot. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
18 lines
580 B
Docker
18 lines
580 B
Docker
# Container image for the nickol-knx-mcp stdio MCP server.
|
|
# Used by Glama (https://glama.ai) to start the server and run MCP introspection.
|
|
FROM python:3.12-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Install the package (and its deps) from source
|
|
COPY pyproject.toml README.md ./
|
|
COPY nickol_knx_mcp ./nickol_knx_mcp
|
|
RUN pip install --no-cache-dir .
|
|
|
|
# Confined output workspace (the server only ever writes here; no bus access)
|
|
ENV NICKOL_KNX_WORKSPACE=/workspace
|
|
RUN mkdir -p /workspace
|
|
|
|
# stdio MCP server — Glama pipes JSON-RPC over stdin/stdout for introspection
|
|
ENTRYPOINT ["nickol-knx-mcp"]
|