doctor-unslop
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
doctor-unslop
Health checks for the *-unslop-mcp servers:
Quality: do the rules catch real slop without flagging clean code, and do the findings follow the shared violation contract?
Loops: which rules keep coding agents stuck in fix-verify loops?
Fleet: do the servers start cleanly, did a tool change since you reviewed it, and do your AI clients agree on the config?
It runs as a CLI and as a read-only MCP server.
Commands
doctor-unslop init # create .doctor-unslop/ and turn on telemetry
doctor-unslop scan # every check
doctor-unslop security # SEC-004 pins, SEC-005 injection patterns, SEC-008 unpinned npx packages
doctor-unslop stdio [server...] # handshake, stdout pollution, cold-start latency
doctor-unslop parity # config drift and dead binary paths across clients
doctor-unslop tokens # estimated tool-schema context cost
doctor-unslop conflicts # tool names registered by more than one server
doctor-unslop bench [server...] # score fixture suites
doctor-unslop loops # analyze retry telemetry
doctor-unslop pin [server...] # write tool hashes to .doctor-unslop.lock.json
doctor-unslop serve # read-only MCP server over stdioCommon options:
--format pretty|json|sarif--fail-on <severity>--servers a,b(default: every configured server whose name containsunslop)--all-servers--clients claude-code,codex,...--lockfile,--fixtures,--telemetry-log--timeout,--token-budget
Run doctor-unslop --help for all options and their defaults.
Exit codes: 0 healthy, 1 a finding at or above --fail-on, 2 a critical finding (such as a tampered tool), 3 a runtime or config error.
Related MCP server: mcpscan
Where servers come from
Client | Files read |
project |
|
claude-code |
|
codex |
|
claude-desktop |
|
antigravity |
|
When clients disagree, the first client in this table supplies the definition that is probed.
Probes start each server with only PATH, HOME, TMPDIR and LANG from your environment, plus the env block from that server's own config entry. They time out after 5 s. Servers launched with npx may download from the registry. Remote (HTTP/SSE) servers are skipped.
Pinning
doctor-unslop pin hashes each tool's description and input schema and writes the hashes to .doctor-unslop.lock.json. Keys are sorted before hashing, so reordering keys or reformatting never counts as a change. Commit the lockfile. After that, security reports:
Change | Severity |
A pinned tool's description or schema changed | critical (exit 2) |
A new tool appeared | high |
The launch command changed | medium |
A pinned tool disappeared | low |
If a change is expected, such as your own release, review it and run pin again.
MCP mode
doctor-unslop serve exposes three tools, about 450 estimated tokens in total:
doctor_scandoctor_inspect_stdiodoctor_verify_pins
They never write files. pin and init exist only in the CLI, so a prompt-injected agent cannot use doctor-unslop to accept a tampered tool.
Fixture suites
One directory per server under .doctor-unslop/fixtures/<server>/:
{
"server": "frontend-unslop",
"command": ["node", "../../../frontend-unslop/src/server.mjs"],
"cases": [
{ "file": "clean/pricing-table.tsx", "kind": "clean", "expected_rules": [] },
{ "file": "slop/gradient-hero.tsx", "kind": "slop", "expected_rules": ["NO_AI_PURPLE_GRADIENT", "DEAD_LINK"] }
]
}bench runs <command> audit <files> --json with the suite directory as cwd, using the same stripped environment as probes. Paths in command that start with ./ or ../ are resolved against that directory.
Scoring, per fixture file:
A clean case is a false positive when it has an
ERRORfinding.WARNhits on clean files appear inper_rule.clean_hits.A slop case is a true positive only when every expected rule fired.
Precision = TP/(TP+FP), recall = TP/(TP+FN), FPR = FP/(FP+TN).
Rules
Rule | Severity | Fires when |
| critical–low | Live tools differ from the lockfile (see Pinning); info when nothing is pinned yet |
| high | A tool's description or schema contains injection patterns: instruction overrides, "don't tell the user", pseudo-system tags, exfiltration URLs, credential paths, hidden Unicode |
| low | Servers run through |
| high | Non-JSON-RPC output on stdout |
| medium |
|
| medium | A finding lacks |
| low | A rule's |
| high | The server fails the stdio handshake (info for skipped remote servers) |
| medium / high | One finding per client that lacks a server or launches it differently; high for an absolute command path that does not exist |
| medium | A tool costs more than 400 estimated tokens, or the fleet exceeds |
| medium | Two or more servers register the same tool name |
| high | FPR on clean fixtures is above |
| medium | Recall on slop fixtures is below |
| info | The suite is too small to score |
| high | A rule averages more than |
| medium | Fixing rule A brings in rule B, and fixing B brings back A, in 2+ file sequences |
| info | There is no telemetry log yet |
Token counts are estimates (about 4 characters per token), not real tokenizer output.
Telemetry
Servers on unslop-core ≥ 1.1 append one line per audited file to .doctor-unslop/telemetry.jsonl, but only when that directory already exists (doctor-unslop init creates it). Each line holds a hash of the file's workspace-relative path, the rule IDs that fired, and whether the file passed. Source code, messages and paths are not stored.
One server process counts as one session, because a stdio MCP server is not told the client's session id. A file audited only once in a session is left out of the retry stats: one audit does not show whether the agent fixed the finding or stopped checking.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Scans remote MCP servers for protocol, security, and TLS issues; exposes scan tools via MCP.
Audit, pin and diff agent tool lists; preflight and watch remote MCP servers. Free tier; x402.
Scan any MCP server for tool-poisoning, security, auth & license. Trust score before install.
Audit MCP servers for tool poisoning and shadowing. Scan a remote server by URL or paste its tools.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceRead-only MCP server to inspect allowlisted Docker containers, systemd services, JSONL logs, and HTTP health endpoints without arbitrary shell access.MIT
- AlicenseNot gradedqualityCmaintenanceA read-only MCP server that lets an agent audit its own environment by discovering local MCP configurations and skill folders on Windows, macOS, and Linux and running offline static checks for prompt injection, hidden instructions, hardcoded secrets, dangerous commands, unpinned packages, and excessive filesystem or transport permissions. It exposes tools to scan everything discovered, list configurations, vet a single skill, or analyze supplied text, returning text, JSON, SARIF, or HTML findings with CI-friendly severity levels.7 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables agents to inspect and diagnose their own MCP setup by exposing read-only tools that audit configured servers, report which coding agents have configs, surface misplaced or duplicated registrations, and list curated preset packs. It also powers CLI workflows for checking handshake, tool lint, and tool-surface quality scores of any stdio server.MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to run read-only health checks against HTTP, TCP, SSL, and Docker targets defined in a single config.json, reporting status codes, latency, certificate expiry, and container state. Nothing is written, restarted, or modified — each probe just opens a connection, reads, and closes it.MIT