Install
$ agentstack add mcp-jmrgrav-hugo-mcp-go ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
hugo-mcp-go
[](https://go.dev) [](https://github.com/jmrGrav/hugo-mcp-go/releases/latest) [](https://github.com/jmrGrav/hugo-mcp-go/actions/workflows/ci.yml) [](LICENSE)
hugo-mcp-go is the Go implementation of the Hugo MCP backend used behind mcp-runtime-go.
It is operator-controlled, single-tenant, and designed to serve Hugo content tooling with a native HTTP backend while preserving the older stdio path for rollback.
Architecture
Claude / ChatGPT / Gemini / other MCP clients
-> mcp-runtime-go (OAuth, gateway, public MCP surface)
-> hugo-mcp-go (native HTTP backend)
-> Hugo site content, assets, and build pipeline
Rollback paths preserved:
-> hugo-mcp-shim
-> legacy Python backend
mcp-runtime-go stays as the public OAuth and connector compatibility layer. hugo-mcp-go provides the backend transport and tool execution.
Tools
Read and chunked content tools:
list_pagesget_pageget_page_chunklist_assetsget_asset_chunk
Mutation and operational tools:
create_pageupdate_pagedelete_pageupload_assetbuild_sitecheck_sri_versionsgenerate_featured_image
Transport
- Native HTTP mode is explicitly enabled with
HUGO_MCP_TRANSPORT=http POST /mcpis the compatibility endpoint- stdio mode remains available for rollback and local use
- backend-only streaming events are available on
/mcp/events - tool catalogs now expose MCP
titleand tool annotations for classification
Example native backend URL:
http://127.0.0.1:18181/mcp
Configuration
Common required roots:
HUGO_ROOTHUGO_CONTENT_ROOTHUGO_STATIC_ROOT
Native HTTP settings:
HUGO_MCP_TRANSPORT=http|stdioHUGO_MCP_HTTP_BIND_ADDRHUGO_MCP_HTTP_BIND_PORTHUGO_MCP_HTTP_TOKEN_FILEHUGO_MCP_STREAMING_ENABLEDHUGO_MCP_MAX_CHUNK_BYTESHUGO_MCP_MAX_RESPONSE_BYTES
Security Model
- file-backed secrets only
- no shell execution
- bounded payload sizes
- traversal and symlink escape rejection
- explicit tool annotations for read-only versus destructive actions
- OAuth remains delegated to
mcp-runtime-go
See:
- [
docs/ABOUT.md](docs/ABOUT.md) - [
SECURITY.md](SECURITY.md) - [
docs/KNOWN_ISSUES.md](docs/KNOWN_ISSUES.md)
Schema Compatibility
All MCP tool inputSchema and outputSchema fragments are validated in the test suite to ensure they carry an explicit JSON Schema keyword (type, oneOf, anyOf, allOf, $ref, enum, or const). Empty fragments ({}) are rejected by the Claude Code MCP validator; the test TestAllToolSchemasHaveNoEmptyFragments catches any regression of this kind before it reaches production.
Validation
The current release has been validated with:
go test ./...go test -race ./...go vet ./...scripts/native-http-smoke.sh
The native backend is live in controlled production, while the shim and Python backend remain preserved for rollback.
License: MIT
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: jmrGrav
- Source: jmrGrav/hugo-mcp-go
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.