Install
$ agentstack add mcp-jmrgrav-hugo-public-mcp ✓ 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-public-mcp
hugo-public-mcp is a strict read-only MCP server for published Hugo sites.
It builds an in-memory index from a Hugo public/ tree at startup and exposes only safe discovery and read tools:
list_pagesget_pagesearch_pagesget_recent_postslist_tagslist_categoriesget_sitemapget_feedget_site_information
Current status
This repository is at release-candidate quality for the MVP scope:
- startup indexing from
public/ - read-only MCP tools
- request-path validation
- symlink and traversal rejection
- security-oriented HTTP transport guards
- unit, integration, and scale tests
- CI and lint configuration
- deployment examples for systemd, nginx/openresty, Caddy, Traefik, and Cloudflare
- GitHub repository hardening files, templates, and automated security scans
Security posture
The public server is intentionally narrow:
- read-only strict
- no shell
- no rebuild
- no writes
- no access to the Hugo source repo
- no direct file paths in the public API
- no draft content
- no runtime HTML scraping for search
- no disk access during requests when the in-memory index is sufficient
- no mutation-capable MCP tools
Repository governance
The repository includes:
- branch protection rules for
main - GitHub Actions CI, lint, CodeQL, and secret scanning
- Dependabot updates
- issue and pull request templates
- a CODEOWNERS file and support guidance
Configuration
See examples/arleo.eu/config.example.yaml for a concrete published-site example. The binary reads its YAML config from HUGO_PUBLIC_MCP_CONFIG and supports stdio or http transport.
Documentation
docs/installation.mddocs/deployment.mddocs/cloudflare.mddocs/api-shield.mddocs/dns-aid.mddocs/openapi.mddocs/oauth-runtime-evaluation.mddocs/architecture.mddocs/threat-model.mddocs/mvp-validation.mddocs/security-tests.mddocs/go-interfaces.mddocs/deployment-pattern.mddocs/release-readiness.md
Development
Run the test suite:
go test ./...
Run lint:
golangci-lint run ./...
Project goal
Provide a reusable, secure, Hugo-oriented MCP surface that improves agent discoverability and content reading without creating an execution platform.
Is Your Site Agent-Ready? https://isitagentready.com/www.arleo.eu
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-public-mcp
- License: MIT
- Homepage: https://github.com/jmrGrav/hugo-public-mcp
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.