FROM python:3.10-slim
WORKDIR /app
# Install dependencies
COPY . .
RUN pip install --no-cache-dir --upgrade pip && pip install -e .
# Set environment variables
ENV PYTHONUNBUFFERED=1
# OpenSearch connection parameters
ENV OPENSEARCH_HOST="https://localhost:9200"
ENV OPENSEARCH_USERNAME="admin"
ENV OPENSEARCH_PASSWORD="admin"
# These can be overridden at runtime with docker run --env
# Expose the port the server is running on
EXPOSE 8000
# Run the server
# Default port is 8000
CMD ["opensearch-mcp-server"]
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/showjason/opensearch-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server