feat: scaffold gitea-mcp package with module rename

- Copied source from leo-claude-mktplace/mcp-servers/gitea/ v1.0.0
- Renamed module: mcp_server → gitea_mcp (all imports updated)
- Created pyproject.toml for standalone package identity
- Preserved all existing tools and test suite
- MCP SDK imports unchanged

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-08 15:41:46 -05:00
commit 2b32387864
20 changed files with 5074 additions and 0 deletions

40
pyproject.toml Normal file
View File

@@ -0,0 +1,40 @@
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "gitea-mcp"
version = "1.0.0"
description = "MCP server for Gitea — issues, PRs, wikis, milestones, merges"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{ name = "Leo Miranda" }
]
keywords = ["mcp", "gitea", "claude", "tools", "model-context-protocol"]
dependencies = [
"mcp>=0.9.0",
"python-dotenv>=1.0.0",
"requests>=2.31.0",
"pydantic>=2.5.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.3",
"pytest-asyncio>=0.23.0",
"pytest-cov>=4.0.0",
]
[project.scripts]
gitea-mcp = "gitea_mcp.server:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["gitea_mcp*"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]