Skip to main content
Glama
Dockerfile951 B
# Dockerfile for base-mcp MCP Server # Generated automatically from MCP configuration FROM node:20-alpine # Set working directory WORKDIR /app # Set environment variables ENV CHAIN_ID=${CHAIN_ID} ENV PINATA_JWT=${PINATA_JWT} ENV SEED_PHRASE=${SEED_PHRASE} ENV ALCHEMY_API_KEY=${ALCHEMY_API_KEY} ENV OPENROUTER_API_KEY=${OPENROUTER_API_KEY} ENV COINBASE_PROJECT_ID=${COINBASE_PROJECT_ID} ENV COINBASE_API_KEY_NAME=${COINBASE_API_KEY_NAME} ENV COINBASE_API_PRIVATE_KEY=${COINBASE_API_PRIVATE_KEY} # Install dependencies if package.json exists COPY package*.json ./ RUN if [ -f package.json ]; then npm install --omit=dev --legacy-peer-deps; fi # Copy application files COPY . . # Expose MCP server port EXPOSE 3000 # Health check HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ CMD wget --no-verbose --tries=1 --spider http://localhost:3000/health || exit 1 # Start the MCP server CMD ["npx","-y","base-mcp@latest"]

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/bioanywhere/mcp-base-mcp2'

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