mirror of
https://github.com/NickoScope/nickol-knx-mcp.git
synced 2026-09-29 19:31:12 +02:00
Add Dockerfile for Glama listing / containerized MCP introspection
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>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
5322e8a175
commit
55c1ba54ca
@@ -0,0 +1,12 @@
|
||||
.git
|
||||
.github
|
||||
.venv
|
||||
docs
|
||||
examples
|
||||
tests
|
||||
*.knxproj
|
||||
*.knxkeys
|
||||
__pycache__
|
||||
*.egg-info
|
||||
.pytest_cache
|
||||
.DS_Store
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
# 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"]
|
||||
Reference in New Issue
Block a user