Coding and ops agents that ship or maintain websites can check the security basics before calling a job done: is the site on HTTPS, is the certificate valid, how many days until it expires, and are the standard security response headers present. SiteDoctor does this over MCP as part of its scan_website audit and returns a list of issues the agent can act on.
| Check | How it is reported | Score impact (security category, max 25) |
|---|---|---|
| HTTPS | Critical issue if the URL is not https | −10 |
| SSL certificate | https_valid (TLS handshake with hostname verification) and ssl_days_remaining; high-severity issue if under 14 days | −6 when < 14 days |
| Strict-Transport-Security (HSTS) | Medium issue “Missing header: …” when the header is absent | −4 |
| Content-Security-Policy (CSP) | −4 | |
| X-Frame-Options (clickjacking) | −3 | |
| X-Content-Type-Options | −2 | |
| Referrer-Policy | −2 | |
| Permissions-Policy | −1 | |
| Server header with a version number | Low issue “Server version exposed” | −1 |
The same call also scores SEO, performance, mobile readiness and broken links (see the website audit guide).
| Tool | Includes the security checks? | Cost |
|---|---|---|
scan_website | Yes: HTTPS, SSL days remaining, 6 headers, plus SEO, performance, mobile and links | 3 credits |
check_page_seo | No (on-page SEO only) | 1 credit |
check_broken_links | No (links only) | 2 credits |
register_free_key | Mints a key with 25 credits, no signup, email or card | free |
Credit packs: $9 = 1,000 · $29 = 10,000 · $99 = 100,000 credits (about 333 / 3,333 / 33,333 full scans). Credits never expire.
Output of scan_website({"url": "https://manhourplan.com/"}), captured from the live server on 2026-11-21. Our own homepage is missing a CSP header, and the scan says so:
{
"url": "https://manhourplan.com/",
"score": 91,
"grade": "A",
"categories": {
"seo": 28,
"performance": 22,
"security": 21,
"mobile": 10,
"content_links": 10
},
"max_per_category": {
"seo": 30,
"performance": 25,
"security": 25,
"mobile": 10,
"content_links": 10
},
"metrics": {
"response_ms": 132,
"html_kb": 26.6,
"word_count": 1289,
"images": 0,
"images_missing_alt": 0,
"external_scripts": 0,
"external_stylesheets": 1,
"title": "ManHourPlan \u2014 Part-145 Man-Hour Planning & Helicopter MRO Manpower Calculator",
"https": true,
"https_valid": true,
"ssl_days_remaining": 57
},
"links": {
"checked": 12,
"broken": [],
"skipped": false
},
"issues": [
{
"cat": "security",
"sev": "medium",
"msg": "Missing header: CSP"
},
{
"cat": "seo",
"sev": "low",
"msg": "Title length 77 chars (ideal 30-60)"
},
{
"cat": "performance",
"sev": "low",
"msg": "No Cache-Control header on HTML"
}
],
"top_fixes": [],
"scanned_at": 1795244972
}
scan_website on the production URL and fix any security issues it lists.”Endpoint: https://manhourplan.com/doctor/mcp (Streamable HTTP; registry name com.manhourplan/sitedoctor).
Claude Code:
claude mcp add --transport http sitedoctor https://manhourplan.com/doctor/mcp
Cursor (~/.cursor/mcp.json) or any client that accepts a remote URL:
{
"mcpServers": {
"sitedoctor": {
"url": "https://manhourplan.com/doctor/mcp"
}
}
}
Then ask the agent to call register_free_key and pass the returned key as api_key. Full configs for VS Code, Claude Desktop and raw curl: SiteDoctor page · llms-full.txt.
Start with the 25 free credits. When you need more, pay by card and the credits are added automatically:
$9 · 1,000 credits$29 · 10,000 credits$99 · 100,000 credits