# Image Glama builds to introspect cirdan's MCP server (stdio → tools/list).
# Minimal and self-contained: installs the published package, no repo build
# context required. Paste this into Glama's "add Dockerfile" UI.
FROM python:3.12-slim

# The `mcp` extra pulls in the MCP server runtime (the base package omits it).
RUN pip install --no-cache-dir "cirdanops[mcp]"

# Clean stdio MCP server. --system uses the ~/.cirdan scope so no project is
# required; all status output goes to stderr, leaving stdout for JSON-RPC.
ENTRYPOINT ["cirdan", "serve-mcp", "--system"]
