From 28c7fd9a8a223ca08c9b6e6fedefabe0b1a6936b Mon Sep 17 00:00:00 2001 From: Alejandro Ponce Date: Thu, 23 Oct 2025 12:12:32 +0300 Subject: [PATCH 1/2] Add .dockerignore file to project We were missing a dockerignore --- .dockerignore | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..26a28e8 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,60 @@ +# Python cache and build artifacts +__pycache__/ +*.py[oc] +*.egg-info +build/ +dist/ +wheels/ + +# Virtual environments +.venv +venv/ + +# Git repository +.git/ +.gitignore + +# Docker files +Dockerfile* +.dockerignore +docker-compose*.yml + +# IDE and editor files +.vscode/ +.idea/ +*.swp +*.swo + +# Development and testing +.coverage +.pytest_cache/ +htmlcov/ +.tox/ + +# Logs +*.log + +# Environment files +.env* +*.local* + +# Database files +*.db + +# OS-specific +.DS_Store +Thumbs.db + +# Documentation and specs +docs/ +specs/ +CLAUDE.md + +# CI/CD +.github/ +.gitlab-ci.yml + +# Reports +bandit-report.json +pip-audit-report.json +sbom.json From 566015265a796e180705b8d6528ec1e16d6a480b Mon Sep 17 00:00:00 2001 From: Alejandro Ponce Date: Thu, 23 Oct 2025 13:51:22 +0300 Subject: [PATCH 2/2] comments from review --- .dockerignore | 10 +++++++--- CLAUDE.md | 1 - 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.dockerignore b/.dockerignore index 26a28e8..0ac8899 100644 --- a/.dockerignore +++ b/.dockerignore @@ -39,13 +39,13 @@ htmlcov/ *.local* # Database files -*.db +*.db* # OS-specific .DS_Store Thumbs.db -# Documentation and specs +# Documentation and specs (not needed in runtime) docs/ specs/ CLAUDE.md @@ -54,7 +54,11 @@ CLAUDE.md .github/ .gitlab-ci.yml -# Reports +# Reports (generated by security scans, not needed in runtime) bandit-report.json pip-audit-report.json sbom.json + +# Task runner +Taskfile.yml + diff --git a/CLAUDE.md b/CLAUDE.md index bea4d72..9ac8a23 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -18,7 +18,6 @@ The general purpose of mcp-optimizer is to develop a MCP server that acts as an - The main server code is located in `src/mcp_optimizer/server.py` - The database configuration and CRUD operations are in `src/mcp_optimizer/db/` - The mcp-optimizer CLI implementation is located in `src/mcp_optimizer/cli.py` -- The evaluation CLI is located at `evaluation/src/mcp_optimizer_eval/cli.py` ## Development Workflow - After adding or modifying code, use `task format` to automatically format the code