FROM golang:1.23 AS builder
WORKDIR /app
# Copy go.mod and go.sum files and download dependencies
COPY go.mod go.sum ./
RUN go mod download
# Copy the source code
COPY . .
# Build the application
RUN CGO_ENABLED=0 GOOS=linux go build -o phalcon-mcp -a -ldflags '-extldflags "-static"' .
# Use alpine as the final base image instead of scratch to include certificates
FROM alpine:latest
# Install CA certificates
RUN apk --no-cache add ca-certificates
# Copy the binary from the builder stage
COPY --from=builder /app/phalcon-mcp /phalcon-mcp
# Set the entrypoint to the binary
ENTRYPOINT ["/phalcon-mcp"]
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/mark3labs/phalcon-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server