generated from personal-projects/leo-claude-mktplace
feat: Remove old server and create MCP base server structure
- Delete old subprocess-based server.py - Create new server_http.py with base structure for MCP Streamable HTTP protocol - Update __init__.py to import from server_http - Health check endpoint in place - Middleware integration ready for MCP endpoints Issue #24 will add the actual MCP protocol endpoints. Closes #23 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,17 +1,11 @@
|
||||
"""
|
||||
Gitea HTTP MCP Wrapper
|
||||
Gitea MCP Remote — HTTP deployment wrapper for marketplace Gitea MCP server.
|
||||
|
||||
This package provides an HTTP transport wrapper around the official Gitea MCP server.
|
||||
It handles configuration loading, tool filtering, and HTTP authentication middleware.
|
||||
|
||||
Architecture:
|
||||
- config/: Configuration loader module
|
||||
- middleware/: HTTP authentication middleware
|
||||
- filtering/: Tool filtering for Claude Desktop compatibility
|
||||
- server.py: Main HTTP MCP server implementation
|
||||
Imports tool definitions from gitea-mcp-server (marketplace) and serves them
|
||||
over Streamable HTTP transport with authentication and TLS via Caddy.
|
||||
"""
|
||||
|
||||
from .server import GiteaMCPWrapper, create_app, main
|
||||
from .server_http import create_app, main
|
||||
|
||||
__version__ = "0.1.0"
|
||||
__all__ = ["__version__", "GiteaMCPWrapper", "create_app", "main"]
|
||||
__version__ = "0.2.0"
|
||||
__all__ = ["__version__", "create_app", "main"]
|
||||
|
||||
Reference in New Issue
Block a user