Initial commit: BunnyCDN MCP server with K8s deployment

- FastMCP server with 12 tools (pullzone, cache, statistics, shield)
- Dockerfile with multi-stage build (python:3.11-slim + uv)
- K8s manifests (Deployment + Service)
- Gitea Actions CI/CD pipeline (build → push → deploy)
This commit is contained in:
kappa
2026-02-15 15:19:42 +09:00
commit 7269686179
16 changed files with 530 additions and 0 deletions

12
bunnycdn_mcp/server.py Normal file
View File

@@ -0,0 +1,12 @@
"""FastMCP server initialization."""
from mcp.server.fastmcp import FastMCP
from .config import MCP_HOST, MCP_PORT, logger
from .tools import register_all_tools
mcp = FastMCP("bunnycdn", host=MCP_HOST, port=MCP_PORT)
register_all_tools(mcp)
logger.info("BunnyCDN MCP server initialized with %s:%s", MCP_HOST, MCP_PORT)