Dev.to AI πŸ€– Ai πŸ‘ 2 πŸ“– 2 min read

I Built a Zero-Dependency Local MCP Server for PII Redaction, SEO/GEO & Shopify Audits

When I started wiring local tools into Claude Desktop and Cursor via the Model Context Protocol (MCP), most existing servers pulled in 200+ MB of npm dependencies or required third-party SaaS API keys just to run basic d

When I started wiring local tools into Claude Desktop and Cursor via the Model Context Protocol (MCP), most existing servers pulled in 200+ MB of npm dependencies or required third-party SaaS API keys just to run basic deterministic checks.

So I wrote lumastudio-mcp-suite β€” a single zero-dependency Node.js 18+ MCP server (stdio JSON-RPC 2.0) that gives AI coding agents 8 deterministic auditing and privacy tools locally.

Why zero dependencies?

  1. Instant cold start: node src/server.js boots in milliseconds with zero supply-chain bloat.
  2. Reversible local PII redaction: Before pasting contracts, logs, or customer emails into a prompt, redact_pii masks emails, US SSNs, Luhn-verified credit cards, IBANs, phone numbers, and API keys (sk-, sk_live_, AKIA, ghp_) into collision-proof tokens ([EMAIL_1]). restore_pii swaps them back in a single pass.
  3. SSRF-protected live HTTP/DNS audits: Every network-facing tool runs through a shared safe_net.js guard that resolves DNS first, blocks private/loopback/link-local/ULA/CGNAT IPv4 and IPv6 addresses, caps redirects at 5 hops, strips sensitive headers cross-origin, and bounds reads to 2 MB.

What the 8 tools do (v1.1.0)

Tool Function
redact_pii / restore_pii Local reversible masking for emails, SSNs, Luhn cards, IBANs, and API keys
audit_geo_llms_txt Checks /llms.txt, /llms-full.txt, RFC-9309 robots.txt policies for 10 AI crawlers (GPTBot, OAI-SearchBot, PerplexityBot, ClaudeBot), and JSON-LD @type entities
audit_shopify_gmc_eaa Audits Shopify & ecommerce pages for Google Merchant Center JSON-LD (MerchantReturnPolicy, OfferShippingDetails), static EU EAA / WCAG 2.2 signals, and Mobile Hero LCP bottlenecks
audit_seo_meta_robots Inspects <title>, meta description, canonical resolution, Open Graph/Twitter cards, robots.txt, and HEAD /sitemap.xml
audit_dns_email_auth Pure-DNS check of MX, SPF (including RFC 7208 10-lookup limit), DMARC (with apex fallback), and CAA
detect_tech_stack Zero-browser fingerprinter covering 75+ ecommerce, CMS, analytics, payment, and CDN signatures
calc_payment_fees Penny-exact forward & reverse fee math for Stripe, PayPal, Etsy (including the $100 Offsite Ads cap), Shopify Payments, and Gumroad

Quick setup in Claude Desktop / Cursor / Windsurf

git clone https://github.com/matiascorrea2024-star/lumastudio-mcp-suite.git
cd lumastudio-mcp-suite
npm test

Add to your MCP config:

{
  "mcpServers": {
    "lumastudio": {
      "command": "node",
      "args": ["/absolute/path/to/lumastudio-mcp-suite/src/server.js"]
    }
  }
}

You can also inspect the tool schema and quality score on Glama.

Running the same checks in bulk (1,000+ URLs)

Local MCP is ideal for interactive agent work on 1–10 URLs. For scheduled batch runs across hundreds of client sites or automated agency pipelines:

Pull requests and issue reports are welcome on GitHub.

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.