- 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)
13 lines
324 B
Python
13 lines
324 B
Python
"""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)
|