hugo-mcp-server
Click on "Install 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: MCP Adapter Implementation Example
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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
FlicenseAqualityCmaintenanceModel Context Protocol (MCP) integration for managing content in the DevHub CMS system (blog posts, content, location administration)108- Flicense-qualityFmaintenanceEnables WordPress content management (posts, metadata, taxonomies, Gutenberg blocks) via the Model Context Protocol, demonstrating MCP Adapter integration patterns.
- Flicense-qualityBmaintenanceEnables uploading and serving static websites via MCP tools, with automatic path prefix injection for multi-file sites.
- AlicenseAqualityAmaintenanceProvides a single-writer MCP server for a governance-grade knowledge base of markdown documents with version control and query capabilities.2918Apache 2.0
Related MCP Connectors
Manage SRG+ hubs, channels, content, assets, users, and workspaces from any MCP-aware AI agent.
Create and manage Lindo AI websites, pages, blogs, clients, and credits from any MCP client.
Hosted MCP for creating, checking, deploying, and hosting static sites for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/klauri/hugo-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server