From ddf3c1a695818a236608d09c309fb93edeb10f6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D1=8F?= Date: Tue, 30 Jun 2026 15:00:01 +0400 Subject: [PATCH] Add glama.json (claim listing) and Dockerfile for Glama --- Dockerfile | 19 +++++++++++++++++++ glama.json | 4 ++++ 2 files changed, 23 insertions(+) create mode 100644 Dockerfile create mode 100644 glama.json 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"] +}