generated from personal-projects/leo-claude-mktplace
Create correct directory structure and dependencies
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>
This commit is contained in:
@@ -5,14 +5,14 @@ build-backend = "setuptools.build_meta"
|
||||
[project]
|
||||
name = "gitea-mcp-remote"
|
||||
version = "0.1.0"
|
||||
description = "MCP server for Gitea API integration"
|
||||
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"]
|
||||
keywords = ["mcp", "gitea", "api", "server", "http", "wrapper"]
|
||||
classifiers = [
|
||||
"Development Status :: 3 - Alpha",
|
||||
"Intended Audience :: Developers",
|
||||
@@ -24,9 +24,12 @@ classifiers = [
|
||||
]
|
||||
|
||||
dependencies = [
|
||||
"mcp>=0.1.0",
|
||||
"httpx>=0.24.0",
|
||||
"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]
|
||||
@@ -37,7 +40,7 @@ dev = [
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
gitea-mcp = "gitea_mcp.server:main"
|
||||
gitea-http-wrapper = "gitea_http_wrapper.server:main"
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://github.com/lmiranda/gitea-mcp-remote"
|
||||
|
||||
Reference in New Issue
Block a user