- Move tests from src/gitea_mcp_remote/tests/ to tests/ (top-level)
- Update pytest.ini to point to new test location
- All imports already use absolute paths (gitea_mcp_remote.*)
- Tests run successfully from new location (28/30 pass, 2 pre-existing failures)
This improves project structure by following standard Python conventions
where tests live at the repository root level rather than inside the
source package.
Closes#21
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Delete old subprocess-based server.py
- Create new server_http.py with base structure for MCP Streamable HTTP protocol
- Update __init__.py to import from server_http
- Health check endpoint in place
- Middleware integration ready for MCP endpoints
Issue #24 will add the actual MCP protocol endpoints.
Closes#23
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Issue #19 - Foundation for Sprint 01: Core Architecture Correction
Changes:
- Renamed package directory: gitea_http_wrapper -> gitea_mcp_remote
- Updated config/settings.py:
- Made gitea_repo optional (allow None)
- Added mcp_auth_mode field (default: "optional")
- Changed HTTP defaults: 0.0.0.0:8080 (was 127.0.0.1:8000)
- Removed get_gitea_mcp_env() method (no longer needed)
- Updated all import paths throughout codebase
- Updated filtering/filter.py: Changed ValueError to warning when both
enabled_tools and disabled_tools are specified
- Updated test files with new import paths
- Updated test_filtering.py to test warning instead of ValueError
- Updated pyproject.toml, pytest.ini, and README.md references
All modules preserved - only import paths and configuration updated.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>