[Sprint 01] refactor: Rename package to gitea_mcp_remote and update configuration #18

Closed
opened 2026-02-03 22:44:23 +00:00 by lmiranda · 1 comment
Owner

Rename the package directory from gitea_http_wrapper to gitea_mcp_remote and update the configuration module with new fields required for MCP protocol.

Tasks

  • Rename src/gitea_http_wrapper/ to src/gitea_mcp_remote/
  • Update config/settings.py:
    • Make gitea_repo optional (allow None)
    • Add mcp_auth_mode: str = "optional" field
    • Change HTTP defaults: http_host="0.0.0.0", http_port=8080
    • Remove get_gitea_mcp_env() method
  • Update config/__init__.py imports
  • Verify imports work: from gitea_mcp_remote.config import GiteaSettings

Acceptance Criteria

  • Package directory is src/gitea_mcp_remote/
  • Config has mcp_auth_mode field
  • Config has optional gitea_repo field
  • HTTP defaults are 0.0.0.0:8080
  • Can import: from gitea_mcp_remote.config import GiteaSettings

Implementation Reference

See docs/sprint-proposals/sprint-01-implementation-guide.md - Phase 1, Issues #1-2

Estimated Time: 2-3 hours

Rename the package directory from `gitea_http_wrapper` to `gitea_mcp_remote` and update the configuration module with new fields required for MCP protocol. ## Tasks - [ ] Rename `src/gitea_http_wrapper/` to `src/gitea_mcp_remote/` - [ ] Update `config/settings.py`: - Make `gitea_repo` optional (allow None) - Add `mcp_auth_mode: str = "optional"` field - Change HTTP defaults: `http_host="0.0.0.0"`, `http_port=8080` - Remove `get_gitea_mcp_env()` method - [ ] Update `config/__init__.py` imports - [ ] Verify imports work: `from gitea_mcp_remote.config import GiteaSettings` ## Acceptance Criteria - Package directory is `src/gitea_mcp_remote/` - Config has `mcp_auth_mode` field - Config has optional `gitea_repo` field - HTTP defaults are `0.0.0.0:8080` - Can import: `from gitea_mcp_remote.config import GiteaSettings` ## Implementation Reference See `docs/sprint-proposals/sprint-01-implementation-guide.md` - Phase 1, Issues #1-2 **Estimated Time:** 2-3 hours
lmiranda added this to the Sprint 01: Core Architecture Correction milestone 2026-02-03 22:44:23 +00:00
lmiranda added the Priority/MediumType/RefactorSize/SSize/M labels 2026-02-03 22:44:23 +00:00
Author
Owner

Closing as duplicate of #19

Closing as duplicate of #19
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: personal-projects/gitea-mcp-remote#18