diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..59134aa --- /dev/null +++ b/Dockerfile @@ -0,0 +1,19 @@ +# Dockerfile for publora/mcp-server — lets Glama build, start, and introspect the server. +# Node HTTP MCP server (express + StreamableHTTPServerTransport). Starts without secrets; +# the API key is supplied per-request via the Authorization header, so introspection works at boot. + +FROM node:20-alpine +WORKDIR /app + +# Install production dependencies first (better layer caching) +COPY package.json package-lock.json ./ +RUN npm ci --omit=dev + +# App source +COPY . . + +# Defaults (overridable): PORT=3100, PUBLORA_API_URL=https://api.publora.com +ENV PORT=3100 +EXPOSE 3100 + +CMD ["node", "src/index.js"] diff --git a/glama.json b/glama.json new file mode 100644 index 0000000..4548880 --- /dev/null +++ b/glama.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://glama.ai/mcp/schemas/server.json", + "maintainers": ["publora-team"] +}