Back to Home
hyperpolymath icon

poly-ssg-mcp

by hyperpolymath

Overview

Unified server for managing and interacting with various static site generators written in diverse programming languages, designed for integration with AI agents.

Installation

Run Command
deno task start

Environment Variables

  • DENO_DEPLOYMENT_ID
  • MCP_HTTP_MODE
  • PORT
  • HOST

Security Notes

The server uses `Deno.Command.run` to execute external SSG binaries. Critical command injection vulnerabilities exist in adapters like `Franklin`, `Documenter`, `StaticWebPages`, and `Coleslaw` where user-provided input (`path`, `template`, `title`) is directly interpolated into shell commands for `julia -e` or `sbcl --eval`. While `Executor.res.js` contains a `sanitizeArg` function, it is not consistently applied in all adapter execution functions, leaving multiple paths for arbitrary command execution. This is a severe risk.

Similar Servers

Stats

Interest Score30
Security Score3
Cost ClassMedium
Avg Tokens500
Stars1
Forks0
Last Update2026-01-18

Tags

Static Site GeneratorsPolyglotDenoReScriptMCP Server