← Back to Plugins
MCP Server MCP

io.github.reeinharddd/snapmcp

github By github 👁 1 views ▲ 0 votes

Visual capture MCP server: terminal colors, code, diffs, PDFs, GIFs. 13 tools, SSRF on by default.

Homepage Verified source GitHub

Install

npx -y snapmcp@2.3.2

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "npm",
      "identifier": "snapmcp",
      "version": "2.3.2",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Output directory for captures",
          "format": "string",
          "default": "./captures",
          "name": "SNAPMCP_DIR"
        },
        {
          "description": "Shiki syntax highlighting theme (27 built-in themes, auto-detected terminal theme when unset)",
          "format": "string",
          "name": "SNAPMCP_THEME"
        },
        {
          "description": "Output image format: png or jpeg",
          "format": "string",
          "default": "png",
          "name": "SNAPMCP_FORMAT"
        },
        {
          "description": "JPEG quality (1-100, only used for JPEG)",
          "format": "number",
          "default": "90",
          "name": "SNAPMCP_QUALITY"
        },
        {
          "description": "Drop shadow level: none, soft, medium, strong",
          "format": "string",
          "default": "none",
          "name": "SNAPMCP_SHADOW"
        },
        {
          "description": "Comma- or semicolon-separated allowlist of file paths readable by capture_file (deny-all when unset)",
          "format": "string",
          "name": "SNAPMCP_ALLOWED_PATHS"
        },
        {
          "description": "Block requests to private IP ranges (DNS-resolved, IPv4 + IPv6). Default: true",
          "format": "string",
          "default": "true",
          "name": "SNAPMCP_SSRF_PROTECTION"
        },
        {
          "description": "Path to a system Chrome/Chromium binary to use for browser captures",
          "format": "string",
          "name": "SNAPMCP_CHROME_EXECUTABLE"
        },
        {
          "description": "Chrome profile directory to use for browser captures (persistent context)",
          "format": "string",
          "name": "SNAPMCP_CHROME_PROFILE"
        }
      ]
    }
  ]
}
mcp model-context-protocol npm

Comments

Sign in to leave a comment

Loading comments...