Skip to main content
Glama

MCP Remote Server for Kubernetes

by huchunlinnk
Dockerfile640 B
# 使用官方 Node.js 运行时作为基础镜像 FROM node:18-alpine # 设置工作目录 WORKDIR /app # 复制 package.json 和 package-lock.json COPY package*.json ./ # 安装依赖 RUN npm ci --only=production # 复制源代码 COPY . . # 构建应用 RUN npm run build # 创建非 root 用户 RUN addgroup -g 1001 -S nodejs RUN adduser -S nodejs -u 1001 # 更改文件所有权 RUN chown -R nodejs:nodejs /app USER nodejs # 暴露端口 EXPOSE 3000 # 健康检查 HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ CMD curl -f http://localhost:3000/health || exit 1 # 启动应用 CMD ["npm", "start"]

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/huchunlinnk/mcp-remote-server-kubernetes'

If you have feedback or need assistance with the MCP directory API, please join our Discord server