MCP.so
ログイン
サーバー

Hugo MCP Server

@SunnyCloudYang

A powerful MCP (Model Control Protocol) server for managing Hugo static site generator.

概要

What is Hugo MCP Server?

An MCP server for managing Hugo static site generator. It provides a comprehensive set of tools for creating, managing, and deploying Hugo sites, including environment setup, site creation, theme management, content management, and preview/build operations.

How to use Hugo MCP Server?

Install by cloning the repository and adding the server to your MCP client configuration using the uv command. Optionally start the server manually with uv run main.py. Connect via an MCP client and invoke the provided tools.

Key features of Hugo MCP Server

  • Check and install Hugo, Go, and Git across operating systems
  • Create new Hugo sites with optional themes and example content
  • List, get details, install, and update Hugo themes
  • Create posts and list content within a Hugo site
  • Git configuration management (user name and email)

Use cases of Hugo MCP Server

  • Setting up a new Hugo site from scratch with dependency verification
  • Installing and updating themes for an existing Hugo project
  • Creating blog posts as drafts or published content
  • Automating site deployment workflows programmatically
  • Managing multiple Hugo sites through an MCP client

FAQ from Hugo MCP Server

What are the prerequisites for Hugo MCP Server?

Python 3.10+, uv (Python package manager), and Git (highly recommended).

How do I install Hugo MCP Server?

Clone the repository and add a configuration entry to your MCP client with command: "uv" and args: ["--directory", "/ABSOLUTE/PATH/TO/PARENT/FOLDER/hugo-mcp", "run", "main.py"].

How do I start using the server?

Check that Hugo, Go, and Git are installed (the server provides tools to check and install them). Start the server manually with uv run main.py if needed, then connect using an MCP client.

What tools does Hugo MCP Server provide?

It provides environment setup tools (check/install Hugo, Go, Git), site management tools (create site), theme management tools (list, get details, install, update themes), content management tools (create post, list content), and preview/build tools.

Can the server install Hugo and other dependencies?

Yes, it includes install_hugo, install_go, and install_git tools that use the appropriate OS package manager (Homebrew, apt, dnf, yum) to install each dependency.

タグ

「その他」の他のコンテンツ