Skip to main content
Glama

MCP AppleMusic Server

Dockerfile860 B
# Build stage FROM node:20-slim AS builder WORKDIR /app # Copy package files COPY package*.json ./ # Install dependencies including dev dependencies RUN npm ci # Copy source code COPY . . # Build the application RUN npm run build # Production stage FROM node:20-slim WORKDIR /app # Copy package files COPY package*.json ./ # Remove husky prepare script and install production dependencies RUN npm pkg delete scripts.prepare && \ npm ci --omit=dev && \ npm cache clean --force # Copy built files from builder stage COPY --from=builder /app/dist ./dist # Copy configuration files COPY --from=builder /app/tsconfig.json ./tsconfig.json # Copy .env file if it exists COPY --from=builder /app/.env ./.env # Expose the port EXPOSE 3000 # Set environment variables ENV NODE_ENV=production # Start the application CMD ["node", "dist/index.js"]

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/samwang0723/mcp-applemusic'

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