Docker-based MCP servers for security and OSINT tasks: theHarvester (email/subdomain harvesting) and WhatWeb (web technology fingerprinting)
Security MCP servers exhibit significant definition quality gaps. Tool descriptions are present but generic (avg ~80 chars, well below 194-char baseline). Input schemas are visible and properly typed, but parameter descriptions are sparse or missing context. The harvest tool accepts a 'sources' parameter with free-form string input despite having a known set of sources (FREE_SOURCES, ALL_SOURCES defined in code), should be enum-constrained. Error handling is minimal: validation errors exist but recovery guidance is absent. No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite all tools being read-only. Output schemas are not documented, LLMs cannot predict response structure. The whatweb_scan tool lacks aggression level guidance in its description.
Retrieve results from a previous harvest by ID.
Retrieve results from a previous scan by scan ID.
Harvest OSINT data for a domain — finds emails, subdomains, IPs, and LinkedIn profiles from public sources. Use sources='free' for fast no-API-key results.
List currently running harvests.
List currently running scans.
List all available OSINT sources.
Identify web technologies, CMS, frameworks, and server software. Detects WordPress, Drupal, Apache, nginx, jQuery, and hundreds more.
sources parameter accepts free-form string despite known enum set (FREE_SOURCES, ALL_SOURCES). Should declare enum constraint to prevent hallucinated source names.
No output schemas documented. LLMs cannot predict response structure (emails, hosts, ips, linkedin fields, etc.). Blocks downstream tool chaining and forces guessing.
Retrieval tools (get_harvest_results, get_scan_results) have minimal descriptions (under 40 chars). LLMs cannot distinguish when to call them vs list_active_* tools.
No tool annotations despite all tools being read-only. Missing readOnlyHint prevents agents from understanding safety profile.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 50 | <=2025-11-25 | v2 |
Error handling returns validation errors but provides no recovery guidance. E.g., invalid domain returns error but does not suggest how to fix or what valid formats are.