From 809eef132ab9e2c918882c2b5ccd7fec290d3c60 Mon Sep 17 00:00:00 2001 From: lmiranda Date: Tue, 3 Feb 2026 18:05:07 -0500 Subject: [PATCH] feat: add marketplace dependency and update project config - Add gitea-mcp-server git dependency from marketplace - Update version to 0.2.0 - Update entry point to server_http:main - Add MCP and Caddy environment variables to .env.example - Update uvicorn and starlette versions - Add pyjwt for authentication - Regenerate requirements.txt with all dependencies Closes #22 Co-Authored-By: Claude Opus 4.5 --- .env.example | 7 +++++++ pyproject.toml | 17 +++++++++++------ requirements.txt | 18 ++++++++++++------ 3 files changed, 30 insertions(+), 12 deletions(-) diff --git a/.env.example b/.env.example index 6639b1d..f5bbfeb 100644 --- a/.env.example +++ b/.env.example @@ -1,3 +1,7 @@ +# --- Gitea MCP Server env vars (used by marketplace package) --- +GITEA_API_URL=https://gitea.hotserv.cloud/api/v1 +GITEA_API_TOKEN=your_gitea_personal_access_token + # Gitea Configuration GITEA_URL=https://gitea.example.com GITEA_TOKEN=your_gitea_api_token_here @@ -8,6 +12,9 @@ GITEA_REPO=your_repo_name HTTP_HOST=127.0.0.1 HTTP_PORT=8000 +# --- Caddy / TLS --- +MCP_DOMAIN=mcp-gitea.hotserv.cloud + # Authentication Configuration (Optional) # AUTH_TOKEN=your_bearer_token_here diff --git a/pyproject.toml b/pyproject.toml index 6525281..ac007eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "gitea-mcp-remote" -version = "1.0.0" +version = "0.2.0" description = "HTTP transport wrapper for Gitea MCP server" readme = "README.md" requires-python = ">=3.10" @@ -24,14 +24,19 @@ classifiers = [ ] dependencies = [ + # THE MARKETPLACE PACKAGE — this is the whole point of this repo + "gitea-mcp-server @ git+https://gitea.hotserv.cloud/personal-projects/leo-claude-mktplace.git#subdirectory=mcp-servers/gitea", + # MCP SDK "mcp>=0.9.0", - "uvicorn>=0.27.0", + # HTTP server + "uvicorn>=0.30.0", + "starlette>=0.38.0", + # Config (already used by existing modules) "pydantic>=2.0.0", "pydantic-settings>=2.0.0", "python-dotenv>=1.0.0", - "starlette>=0.36.0", - # gitea-mcp-server - installed separately (not on PyPI yet) - # See: https://gitea.hotserv.cloud/personal-projects/leo-claude-mktplace + # Auth + "pyjwt>=2.8.0", ] [project.optional-dependencies] @@ -44,7 +49,7 @@ dev = [ ] [project.scripts] -gitea-mcp-remote = "gitea_mcp_remote.server:main" +gitea-mcp-remote = "gitea_mcp_remote.server_http:main" [project.urls] Homepage = "https://github.com/lmiranda/gitea-mcp-remote" diff --git a/requirements.txt b/requirements.txt index bd4db7b..d06efaf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,11 +1,17 @@ -# HTTP Transport Wrapper Dependencies +# THE MARKETPLACE PACKAGE — this is the whole point of this repo +gitea-mcp-server @ git+https://gitea.hotserv.cloud/personal-projects/leo-claude-mktplace.git#subdirectory=mcp-servers/gitea + +# MCP SDK mcp>=0.9.0 -uvicorn>=0.27.0 -starlette>=0.36.0 + +# HTTP server +uvicorn>=0.30.0 +starlette>=0.38.0 + +# Config (already used by existing modules) pydantic>=2.0.0 pydantic-settings>=2.0.0 python-dotenv>=1.0.0 -# Official Gitea MCP Server (to be wrapped) -# Install separately - not on PyPI yet -# See: https://gitea.hotserv.cloud/personal-projects/leo-claude-mktplace +# Auth +pyjwt>=2.8.0