local-scanner-mcp

treaties-ai/local-scanner-mcp

3.1

If you are the rightful owner of local-scanner-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server for scanning local code and localhost URLs.

The Local Scanner MCP Server extends AI assistants' capabilities to interact with locally running web applications and code files. It bridges the gap between AI and local development environments, enabling AI assistants to test and debug locally running web applications, capture screenshots for visual verification, lint code files to ensure quality and standards compliance, and validate HTML for accessibility and standards compliance. This server is particularly useful for developers working with AI assistants like Cline (VSCode) or Cascade (WindSurf) who want to leverage AI capabilities for local development tasks.

Features

  • scan_localhost: Access a localhost URL, capture console logs, and check for runtime errors.
  • screenshot_localhost: Take a screenshot of a localhost URL.
  • lint_code: Lint JavaScript, TypeScript, or CSS code files.
  • validate_html: Validate HTML content or URL for standards compliance.

Usages

usage with VSCode Cline

{
  "mcpServers": {
    "local-scanner": {
      "command": "node",
      "args": ["/Users/your_username/Documents/Cline/MCP/local-scanner-mcp/build/index.js"],
      "disabled": false,
      "autoApprove": []
    }
  }
}

usage with WindSurf Cascade

{
  "mcpServers": {
    "local-scanner": {
      "command": "node",
      "args": ["/Users/your_username/Documents/WindSurf/MCP/local-scanner-mcp/build/index.js"],
      "disabled": false,
      "autoApprove": []
    }
  }
}