Skip to main content
Glama

Notion MCP Server V2

by ankitmalik84
Dockerfile.notion-serverV2โ€ข1.05 kB
# Dockerfile for Notion MCP Server V2.1 # Production-ready container with bulletproof validation and comprehensive testing FROM python:3.11-slim # Set working directory WORKDIR /app # Install system dependencies RUN apt-get update && apt-get install -y \ curl \ && rm -rf /var/lib/apt/lists/* # Copy requirements file for notion_mcp_server COPY src/notion_mcp_server/requirements.txt ./requirements.txt # Install Python dependencies RUN pip install --no-cache-dir -r requirements.txt # Copy the entire notion_mcp_server module COPY src/notion_mcp_server/ ./src/notion_mcp_server/ # Copy any additional utility files if needed COPY src/utils/ ./src/utils/ # Set environment variables ENV PYTHONPATH=/app ENV PYTHONUNBUFFERED=1 ENV HOST=0.0.0.0 ENV PORT=8000 # Expose port for HTTP API EXPOSE 8000 # Health check HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \ CMD curl -f http://localhost:8000/health || exit 1 # Run the V2.1 API server (FastAPI) CMD ["python", "-m", "src.notion_mcp_server.api_serverV2"]

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/ankitmalik84/Agentic_Longterm_Memory'

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