Skip to main content
Glama
aegntic

Obsidian Elite RAG MCP Server

Dockerfile1.05 kB
# Multi-stage build for MCP server FROM node:18-alpine AS builder WORKDIR /app # Copy package files COPY package*.json ./ COPY tsconfig.json ./ # Install dependencies RUN npm ci # Copy source code COPY src/ ./src/ # Build the application RUN npm run build # Production stage FROM node:18-alpine AS production WORKDIR /app # Install dumb-init for proper signal handling RUN apk add --no-cache dumb-init curl # Create non-root user RUN addgroup -g 1001 -S nodejs && adduser -S nodejs -u 1001 # Copy package files and install production dependencies COPY package*.json ./ RUN npm ci --only=production && npm cache clean --force # Copy built application COPY --from=builder /app/dist ./dist COPY --chown=nodejs:nodejs . . # Create necessary directories RUN mkdir -p models cache && chown -R nodejs:nodejs models cache USER nodejs # Health check HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ CMD curl -f http://localhost:8081/health || exit 1 EXPOSE 8081 ENTRYPOINT ["dumb-init", "--"] CMD ["node", "dist/index.js"]

Latest Blog Posts

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/aegntic/aegntic-MCP'

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