# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
# Dockerfile for GraphQL Schema MCP Server
# Uses Node.js Alpine for a small footprint
FROM node:lts-alpine AS base
# Create app directory
WORKDIR /app
# Copy package manifest(s)
COPY package.json package-lock.json ./
# Install dependencies (ignore any prepare scripts)
RUN npm ci --ignore-scripts --production
# Copy source files into image
COPY index.mjs tsconfig.json .
# Provide a minimal default schema to prevent startup failure
RUN printf "type Query { _empty: String }" > schema.graphqls
# Default command to start server
ENTRYPOINT ["node", "index.mjs"]
# The server will use schema.graphqls by default unless overridden via args
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/hannesj/mcp-graphql-schema'
If you have feedback or need assistance with the MCP directory API, please join our Discord server