caddy-mcp

Author:@lum8rjack
View on GitHub

Overview

caddy-mcp is a server that provides a Model Context Protocol (MCP) interface for managing a Caddy server via the Caddy API. It enables users to handle Caddy configurations in multiple formats and monitor reverse proxy upstreams.

To use caddy-mcp, clone its repository, build the server, and run it with your preferred transport and port settings. You can then interact with it using provided tools to manage Caddy configurations.

Key features include: retrieving the current Caddy configuration in JSON; updating the server with a full JSON configuration; converting configurations from Caddyfile, Nginx, or YAML to JSON; and monitoring the status of reverse proxy upstreams.

Use cases are: managing Caddy server configurations programmatically; converting existing Nginx configurations to Caddy format; and monitoring reverse proxy upstream health in real-time.

Frequently asked questions: caddy-mcp is written in Go. It is free and open-source under the MIT license. To add Caddy modules, import them in main.go and update dependencies.