hugo-mcp-server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@hugo-mcp-serverlist my page schemas"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Hugo MCP Remote Server
Streamable HTTP MCP server that wraps the Hugo Generator API. Use it from Cursor (or any MCP remote client) to add and manage page schemas, records, generate markdown, build, and publish.
Prerequisites
Node.js 22+
A running Hugo Generator API (
HUGO_API_BASE_URL)
Related MCP server: contentstack-mcp
Local development
cp .env.example .env
# edit HUGO_API_BASE_URL if needed
npm install
npm run devServer listens on http://localhost:3100/mcp by default.
npm run build && npm startDocker
docker compose up --build -dDefaults:
Variable | Default |
|
|
|
|
| (empty — auth disabled) |
extra_hosts: host.docker.internal:host-gateway lets the container reach an API on the host machine. If the API runs in the same Compose network, set HUGO_API_BASE_URL to that service URL instead (e.g. http://hugo-generator:8080).
Cursor MCP config
Add a remote server entry (path may vary by Cursor version):
{
"mcpServers": {
"hugo": {
"url": "http://localhost:3100/mcp"
}
}
}With optional bearer auth (MCP_API_KEY set on the server):
{
"mcpServers": {
"hugo": {
"url": "http://localhost:3100/mcp",
"headers": {
"Authorization": "Bearer change-me"
}
}
}
}Tools
Tool | Purpose |
| Upstream API health |
| Schema CRUD |
| Page records |
| Write Hugo markdown |
| Run Hugo CLI |
| Sync |
| Theme library |
| Theme → schema helpers |
Typical content workflow: list_schemas → create_record → generate_from_records → build_site → publish_site.
Note: The upstream Records API supports create/list/get only (no update/delete).
Environment
Variable | Required | Description |
| yes | Hugo Generator API base URL (no trailing slash) |
| no | Listen port (default |
| no | When set, |
GET /health on this server is always unauthenticated (for Docker healthchecks).
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that provides access to Agility CMS. See https://mcp.agilitycms.com for more details.
Create, edit, preview, publish, and manage web pages from MCP-capable AI clients.
Manage structured website content in Garchi CMS through MCP.
Publish HTML, Markdown, and multi-file sites as shareable URLs instantly via MCP.
Related MCP Servers
FlicenseAqualityCmaintenanceModel Context Protocol (MCP) integration for managing content in the DevHub CMS system (blog posts, content, location administration)109-- AlicenseAqualityCmaintenanceAn MCP server for interacting with Contentstack's Content Management API157 npm2TypeScriptMIT
- FlicenseNot gradedqualityFmaintenanceEnables WordPress content management (posts, metadata, taxonomies, Gutenberg blocks) via the Model Context Protocol, demonstrating MCP Adapter integration patterns.-
- AlicenseAqualityAmaintenanceProvides a single-writer MCP server for a governance-grade knowledge base of markdown documents with version control and query capabilities.4927Apache 2.0