generated from personal-projects/leo-claude-mktplace
[Sprint 02] feat: Implement configuration loader module #11
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Create
config.pymodule to load and validate environment variables for the wrapper.Tasks
src/gitea_mcp_remote/config.pyConfigclass with Pydantic validationGITEA_API_URL(required)GITEA_API_TOKEN(required)ALLOWED_TOOLS(optional, comma-separated allowlist)DENIED_TOOLS(optional, comma-separated denylist)AUTH_TOKEN(optional, for HTTP endpoint authentication)PORT(optional, default 8000)HOST(optional, default 0.0.0.0)configinstanceAcceptance Criteria
config.pyexists withConfigclassfrom gitea_mcp_remote.config import configDependencies
Blocked by: #10 (structure must exist first)
Context
Configuration is centralized in one module that all other components import.
References:
Size: S (1-2 hours)
⚠️ Blocked By: #10