generated from personal-projects/leo-claude-mktplace
This commit establishes the proper architecture for an HTTP transport wrapper around the official Gitea MCP server, replacing the incorrect standalone implementation. New structure: - src/gitea_http_wrapper/ (main package) - config/ (configuration loader) - middleware/ (HTTP auth middleware) - filtering/ (tool filtering for Claude Desktop) - tests/ (wrapper test suite) Updated dependencies: - mcp>=0.9.0 (MCP SDK for HTTP transport) - uvicorn>=0.27.0 (ASGI server) - pydantic>=2.0.0 (config validation) - pydantic-settings>=2.0.0 (settings management) - gitea-mcp-server>=0.1.0 (official Gitea MCP to wrap) Created requirements.txt for Docker deployment convenience. This architecture correctly separates concerns: 1. Official Gitea MCP server handles Gitea API operations 2. HTTP wrapper provides transport, auth, and filtering Closes #10 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
58 lines
1.4 KiB
TOML
58 lines
1.4 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "gitea-mcp-remote"
|
|
version = "0.1.0"
|
|
description = "HTTP transport wrapper for Gitea MCP server"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = { text = "MIT" }
|
|
authors = [
|
|
{ name = "Leo Miranda", email = "lmiranda@example.com" }
|
|
]
|
|
keywords = ["mcp", "gitea", "api", "server", "http", "wrapper"]
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
]
|
|
|
|
dependencies = [
|
|
"mcp>=0.9.0",
|
|
"uvicorn>=0.27.0",
|
|
"pydantic>=2.0.0",
|
|
"pydantic-settings>=2.0.0",
|
|
"python-dotenv>=1.0.0",
|
|
"gitea-mcp-server>=0.1.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0.0",
|
|
"pytest-asyncio>=0.21.0",
|
|
"pytest-cov>=4.0.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
gitea-http-wrapper = "gitea_http_wrapper.server:main"
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/lmiranda/gitea-mcp-remote"
|
|
Repository = "https://github.com/lmiranda/gitea-mcp-remote"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
python_classes = ["Test*"]
|
|
python_functions = ["test_*"]
|