Skip to main content

MCP Server

The MCP (Model Context Protocol) server exposes 20 tools that let AI agents manage the entire infrastructure — monitoring, WordPress content, Cloudflare, security, and documentation. Accessible via bearer token authentication on a private endpoint.

Tools

ToolDescription
server_statusCPU, RAM, disk, service health
disk_usageDetailed disk breakdown
service_statussystemd service details
read_logsStream logs (nginx, php, mariadb, bot)
security_reportSSH attempts, fail2ban, port scanning
ToolDescription
wp_list_postsList blog posts
wp_get_postGet full post content
wp_create_draftCreate posts programmatically
ToolDescription
cf_analyticsTraffic, visitors, cache stats
cf_countriesTop countries by traffic
cf_threatsDDoS and threat logs
cf_purgeCache purge
ToolDescription
list_docsBrowse project documentation
read_docRead specific document
append_to_docAdd to changelog, ideas, context
ToolDescription
list_ideasBrowse IDEAS.md
add_ideaSubmit new feature ideas
exec_commandRun whitelisted shell commands (30s timeout)
write_fileWrite to allowed directories

Security

  • Bearer token authentication
  • Command whitelist — only safe commands allowed
  • Directory restrictions — writes limited to specific paths
  • DNS rebinding protection
  • Localhost-only port, exposed via Nginx reverse proxy