[Sprint 02] setup: Create correct directory structure and dependencies #10

Closed
opened 2026-02-03 21:00:31 +00:00 by lmiranda · 1 comment
Owner

Summary

Set up the correct package structure (src/gitea_mcp_remote/) and rewrite pyproject.toml to depend on the marketplace package.

Tasks

  • Create src/gitea_mcp_remote/ directory (note: underscore, not hyphen)
  • Create src/gitea_mcp_remote/__init__.py
  • Rewrite pyproject.toml with:
    • Correct package name: gitea-mcp-remote
    • Dependency on gitea-mcp-server (marketplace package)
    • Dependencies: mcp, httpx, python-dotenv, pydantic
    • Entry point for HTTP server: gitea-mcp-remote = gitea_mcp_remote.server_http:main
  • Verify structure with tree src/

Acceptance Criteria

  • src/gitea_mcp_remote/ exists with __init__.py
  • pyproject.toml has correct package name and marketplace dependency
  • pyproject.toml includes all required dependencies
  • Entry point configured for HTTP server
  • Project metadata updated (description, authors, etc.)

Dependencies

Blocked by: #9 (cleanup must complete first)

Context

This is a deployment wrapper, not a standalone server. It imports tools from the marketplace package and adds deployment-specific logic (filtering, auth, HTTP transport).

References:

  • Corrective Rebuild specification
  • Steps 2-3 of 14-step rebuild plan

Size: S (1-2 hours)

## Summary Set up the correct package structure (`src/gitea_mcp_remote/`) and rewrite `pyproject.toml` to depend on the marketplace package. ## Tasks - [ ] Create `src/gitea_mcp_remote/` directory (note: underscore, not hyphen) - [ ] Create `src/gitea_mcp_remote/__init__.py` - [ ] Rewrite `pyproject.toml` with: - Correct package name: `gitea-mcp-remote` - Dependency on `gitea-mcp-server` (marketplace package) - Dependencies: `mcp`, `httpx`, `python-dotenv`, `pydantic` - Entry point for HTTP server: `gitea-mcp-remote = gitea_mcp_remote.server_http:main` - [ ] Verify structure with `tree src/` ## Acceptance Criteria - `src/gitea_mcp_remote/` exists with `__init__.py` - `pyproject.toml` has correct package name and marketplace dependency - `pyproject.toml` includes all required dependencies - Entry point configured for HTTP server - Project metadata updated (description, authors, etc.) ## Dependencies **Blocked by:** #9 (cleanup must complete first) ## Context This is a deployment wrapper, not a standalone server. It imports tools from the marketplace package and adds deployment-specific logic (filtering, auth, HTTP transport). **References:** - Corrective Rebuild specification - Steps 2-3 of 14-step rebuild plan **Size:** S (1-2 hours)
lmiranda added this to the Sprint 02: Corrective Rebuild milestone 2026-02-03 21:00:31 +00:00
lmiranda added the Tech/PythonType/SetupComponent/BackendPriority/HighSize/S labels 2026-02-03 21:00:31 +00:00
Author
Owner

⚠️ Blocked By: #9

⚠️ **Blocked By:** #9
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#10