# Run the SharePoint Lists MCP server as a service (HTTP transport). # docker compose up -d --build # # Requires mcp-server/.env (git-ignored) with: # SP_TENANT_ID, SP_CLIENT_ID, SP_CLIENT_SECRET, MCP_AUTH_TOKEN # See mcp-server/.env.example. services: sharepoint-mcp: build: context: . dockerfile: mcp-server/Dockerfile image: sharepoint-lists-mcp:latest container_name: sharepoint-lists-mcp restart: unless-stopped env_file: - ./mcp-server/.env environment: PORT: "3838" ports: # Exposes on all host interfaces. To restrict to the LAN IP, use # "192.168.101.12:3838:3838". The bearer token guards the endpoint either way. - "3838:3838" healthcheck: test: ["CMD", "wget", "-qO-", "http://localhost:3838/health"] interval: 30s timeout: 5s retries: 3 start_period: 10s