AI Slop Code RIsk Monitor

modelcontextprotocol/servers

Model Context Protocol Servers

4.5 Low pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for modelcontextprotocol/servers, a TypeScript project with 91,119 GitHub stars. SynthScan examined 25,109 lines of code across 137 source files, recording 85 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 4.5 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

4.5
Adjusted Signal
4.5
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
91.1K
Stars
TypeScript
Language
25.1K
Lines of Code
137
Files
85
Pattern Hits
2026-10-12
Scan Date
0.01
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 16.7/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 73 finding(s).

Hallucinated Dependency & Supply Chain Risk 2.6/100 · LOW

Are imports declared and package/API names verified? 8 finding(s).

Agent Over-Engineering Ratio 11.6/100 · LOW

Are wrappers, guards, and repeated structures necessary? 59 finding(s).

PR Review Velocity Impact 18.9/100 · LOW

Which changes need focused human review? 85 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 2MEDIUM 5LOW 78

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 85 distinct pattern matches across 11 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers55 hits · 54 pts
SeverityFileLineSnippetContext
LOWsrc/memory/index.ts690export function registerKnowledgeGraphResource(CODE
LOWsrc/memory/index.ts719export function registerKnowledgeGraphSubscriptions(server: McpServer) {CODE
LOWsrc/everything/tools/simulate-research-query.ts325function getInterpretationsForTopic(CODE
LOWsrc/everything/__tests__/tools.test.ts1059 function createMockServerWithTasks() {CODE
LOWsrc/filesystem/path-validation.ts11export function isPathWithinAllowedDirectories(absolutePath: string, allowedDirectories: string[]): boolean {CODE
LOWsrc/filesystem/lib.ts77function resolveRelativePathAgainstAllowedDirectories(relativePath: string): string {CODE
LOWsrc/filesystem/lib.ts100async function resolveUnicodeEquivalentPath(absolutePath: string): Promise<string> {CODE
LOWsrc/filesystem/lib.ts442export async function searchFilesWithValidation(CODE
LOWsrc/filesystem/index.ts725async function updateAllowedDirectoriesFromRoots(requestedRoots: Root[]) {CODE
LOWsrc/time/test/time_server_test.py85def test_get_current_time_with_invalid_timezone():CODE
LOW⚡src/time/test/time_server_test.py465def test_get_local_tz_with_override():CODE
LOW⚡src/time/test/time_server_test.py472def test_get_local_tz_with_invalid_override():CODE
LOW⚡src/time/test/time_server_test.py479def test_get_local_tz_with_valid_iana_name(mock_get_localzone):CODE
LOW⚡src/time/test/time_server_test.py488def test_get_local_tz_when_none_returned(mock_get_localzone):CODE
LOW⚡src/time/test/time_server_test.py496def test_get_local_tz_handles_windows_timezones(mock_get_localzone):CODE
LOWsrc/time/test/time_server_test.py523def test_get_local_tz_various_timezones(mock_get_localzone, timezone_name):CODE
LOWsrc/fetch/tests/test_server.py29 def test_url_with_query_params(self):CODE
LOWsrc/fetch/tests/test_server.py84 def test_empty_content_returns_error(self):STRING
LOWsrc/fetch/tests/test_server.py149 async def test_allows_when_robots_txt_allows_all(self):CODE
LOWsrc/fetch/tests/test_server.py168 async def test_blocks_when_robots_txt_disallows_all(self):CODE
LOWsrc/fetch/tests/test_server.py247 async def test_fetch_json_returns_raw(self):CODE
LOWsrc/fetch/src/mcp_server_fetch/server.py27def extract_content_from_html(html: str) -> str:CODE
LOWsrc/fetch/src/mcp_server_fetch/server.py66async def check_may_autonomously_fetch_url(url: str, user_agent: str, proxy_url: str | None = None) -> None:CODE
LOW⚡src/git/tests/test_server.py285def test_validate_repo_path_no_restriction():CODE
LOW⚡src/git/tests/test_server.py290def test_validate_repo_path_exact_match(tmp_path: Path):CODE
LOW⚡src/git/tests/test_server.py297def test_validate_repo_path_subdirectory(tmp_path: Path):CODE
LOW⚡src/git/tests/test_server.py306def test_validate_repo_path_outside_allowed(tmp_path: Path):CODE
LOW⚡src/git/tests/test_server.py330def test_validate_repo_path_symlink_escape(tmp_path: Path):CODE
LOW⚡src/git/tests/test_server.py346def test_git_diff_rejects_flag_injection(test_repository):CODE
LOW⚡src/git/tests/test_server.py482def test_git_create_branch_rejects_flag_injection(test_repository):CODE
LOW⚡src/git/tests/test_server.py491def test_git_create_branch_rejects_base_branch_flag_injection(test_repository):CODE
LOW⚡src/git/tests/test_server.py497def test_git_log_rejects_timestamp_flag_injection(test_repository):CODE
LOW⚡src/git/tests/test_server.py506def test_git_branch_rejects_contains_flag_injection(test_repository):CODE
LOW⚡src/git/tests/test_server.py515def test_git_log_formatting_no_repr(test_repository):CODE
LOWsrc/git/tests/test_server.py37def test_git_checkout_existing_branch(test_repository):CODE
LOWsrc/git/tests/test_server.py44def test_git_checkout_nonexistent_branch(test_repository):CODE
LOWsrc/git/tests/test_server.py77def test_git_branch_not_contains(test_repository):CODE
LOWsrc/git/tests/test_server.py101def test_git_add_specific_files(test_repository):CODE
LOWsrc/git/tests/test_server.py114def test_git_add_rejects_path_traversal(test_repository):CODE
LOWsrc/git/tests/test_server.py129def test_git_add_rejects_absolute_path_outside(test_repository):CODE
LOWsrc/git/tests/test_server.py155def test_git_diff_unstaged_empty(test_repository):CODE
LOWsrc/git/tests/test_server.py170def test_git_diff_staged_empty(test_repository):CODE
LOWsrc/git/tests/test_server.py247def test_git_create_branch_from_base(test_repository):CODE
LOWsrc/git/tests/test_server.py273def test_git_show_initial_commit(test_repository):CODE
LOWsrc/git/tests/test_server.py318def test_validate_repo_path_traversal_attempt(tmp_path: Path):CODE
LOWsrc/git/tests/test_server.py358def test_git_checkout_rejects_flag_injection(test_repository):CODE
LOWsrc/git/tests/test_server.py370def test_git_diff_allows_valid_refs(test_repository):CODE
LOWsrc/git/tests/test_server.py396def test_git_checkout_allows_valid_branches(test_repository):CODE
LOWsrc/git/tests/test_server.py414def test_git_diff_rejects_malicious_refs(test_repository):CODE
LOWsrc/git/tests/test_server.py440def test_git_checkout_rejects_malicious_refs(test_repository):CODE
LOWsrc/git/tests/test_server.py460def test_git_show_rejects_flag_injection(test_repository):CODE
LOWsrc/git/tests/test_server.py469def test_git_show_rejects_malicious_refs(test_repository):CODE
LOWsrc/git/tests/test_server.py536def test_git_log_filtered_unfiltered_parity(test_repository):CODE
LOWsrc/git/tests/test_server.py555def test_git_log_date_filtering(test_repository):CODE
LOWsrc/git/tests/test_server.py570def test_serve_run_does_not_raise_exceptions(tmp_path: Path):CODE
Self-Referential Comments5 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUM⚡src/git/tests/test_server.py337 # Create a symlink inside allowed that points outsideCOMMENT
MEDIUMsrc/git/tests/test_server.py66 # Create a new branch and commit to itCOMMENT
MEDIUMsrc/git/tests/test_server.py80 # Create a new branch and commit to itCOMMENT
MEDIUMsrc/git/tests/test_server.py375 # Create a branch with a commit for diffingCOMMENT
MEDIUMsrc/git/tests/test_server.py401 # Create a branch to checkoutCOMMENT
Fake / Example Data7 hits · 8 pts
SeverityFileLineSnippetContext
LOW⚡src/memory/__tests__/knowledge-graph.test.ts336 { name: 'Acme Corp', entityType: 'company', observations: ['tech company'] },CODE
LOW⚡src/memory/__tests__/knowledge-graph.test.ts340 { from: 'Alice', to: 'Acme Corp', relationType: 'works_at' },CODE
LOW⚡src/memory/__tests__/knowledge-graph.test.ts341 { from: 'Bob', to: 'Acme Corp', relationType: 'competitor' },CODE
LOWsrc/memory/__tests__/knowledge-graph.test.ts354 expect(result.entities[0].name).toBe('Acme Corp');CODE
LOWsrc/memory/__tests__/knowledge-graph.test.ts382 expect(result.relations[0].to).toBe('Acme Corp');CODE
LOWsrc/everything/__tests__/tools.test.ts640 name: 'John Doe',CODE
LOWsrc/everything/__tests__/tools.test.ts662 expect(result.content[1].text).toContain('John Doe');CODE
Verbosity Indicators4 hits · 8 pts
SeverityFileLineSnippetContext
LOWsrc/filesystem/path-validation.ts71 // On Windows, we need to check if both paths are on the same driveCOMMENT
LOW⚡src/filesystem/__tests__/path-validation.test.ts949 // Step 1: validatePath would pass for legitimate fileCOMMENT
LOW⚡src/filesystem/__tests__/path-validation.test.ts952 // Step 2: Race condition - replace file with symlink after validationCOMMENT
LOW⚡src/filesystem/__tests__/path-validation.test.ts956 // Step 3: Read operation follows symlink to forbidden locationCOMMENT
Structural Annotation Overuse3 hits · 7 pts
SeverityFileLineSnippetContext
LOW⚡src/filesystem/__tests__/path-validation.test.ts949 // Step 1: validatePath would pass for legitimate fileCOMMENT
LOW⚡src/filesystem/__tests__/path-validation.test.ts952 // Step 2: Race condition - replace file with symlink after validationCOMMENT
LOW⚡src/filesystem/__tests__/path-validation.test.ts956 // Step 3: Read operation follows symlink to forbidden locationCOMMENT
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHREADME.md123 "GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"CODE
Over-Commented Block5 hits · 5 pts
SeverityFileLineSnippetContext
LOW.github/ISSUE_TEMPLATE/1-bug_report.yml1# Bug report form (GitHub issue forms schema).COMMENT
LOW.github/ISSUE_TEMPLATE/2-feature_request.yml1# Feature request form (GitHub issue forms schema).COMMENT
LOW.github/ISSUE_TEMPLATE/config.yml1# Issue chooser configuration (GitHub issue template config schema).COMMENT
LOWsrc/everything/tools/trigger-url-elicitation.ts121 // Key the one-shot error-path marker on inputs the client resendsCOMMENT
LOWsrc/everything/tools/trigger-url-elicitation.ts141 // 1. The prerequisite points at a *different* URL than the one thatCOMMENT
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHsrc/git/src/mcp_server_git/server.py459except git.InvalidGitRepositoryError:CODE
Excessive Try-Catch Wrapping2 hits · 2 pts
SeverityFileLineSnippetContext
LOWsrc/time/src/mcp_server_time/server.py56 except Exception as e:CODE
LOWsrc/time/src/mcp_server_time/server.py215 except Exception as e:CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/git/src/mcp_server_git/server.py247 # Check if repo_path is the same as or a subdirectory of allowed_repositoryCOMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWscripts/release.py59 def update_version(self, version: Version) -> None: ...CODE