feat(gitea): add pip-installable packaging for external consumption #415
Reference in New Issue
Block a user
Delete Branch "feat/gitea-mcp-packaging"
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
server.pyintotool_registry.pyto enable transport-agnostic reuseChanges
pyproject.tomlwith PEP 621 compliant package manifest (hatchling)tool_registry.pywithget_tool_definitions()andcreate_tool_dispatcher()server.pyto use registry (1100 → 93 lines)__init__.pywith package exports and__version__Technical Details
The
tool_filterparameter enables selective tool exposure for remote servers.Stdio transport behavior is unchanged - all 36 tools still work identically.
Test plan
pip install -e mcp-servers/giteaworks🤖 Generated with Claude Code