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 <noreply@anthropic.com>
This commit is contained in:
2026-02-03 18:05:07 -05:00
parent 1c55eed7c0
commit 809eef132a
3 changed files with 30 additions and 12 deletions

View File

@@ -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

View File

@@ -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"

View File

@@ -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