MCP.so
登录

Hugo MCP Server

@SunnyCloudYang

关于 Hugo MCP Server

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

基本信息

分类

其他

运行时

python

传输方式

stdio

发布者

SunnyCloudYang

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "hugo-mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "/ABSOLUTE/PATH/TO/PARENT/FOLDER/hugo-mcp",
        "run",
        "main.py"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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.

评论

其他 分类下的更多 MCP 服务器