AI Slop Code Risk Monitor

github/github-mcp-server

SlopCodeMonitor badge for github/github-mcp-server Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

GitHub's official MCP Server

0.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for github/github-mcp-server, a Go project with 34,113 GitHub stars. SynthScan examined 159,004 lines of code across 399 source files, recording 111 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 0.9 (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.

0.9
Adjusted Signal
0.9
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
34.1K
Stars
Go
Language
159.0K
Lines of Code
399
Files
111
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 4.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 0.1/100 · LOW

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

PR Review Velocity Impact 3.6/100 · LOW

Which changes need focused human review? 111 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 1MEDIUM 1LOW 109

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 111 distinct pattern matches across 8 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.

Over-Commented Block73 hits · 73 pts
SeverityFileLineSnippetContext
LOWui/src/apps/pr-write/App.tsx221 });COMMENT
LOWinternal/oauth/prompter.go21type Prompt struct {COMMENT
LOWinternal/oauth/prompter.go41 CanPromptURL() boolCOMMENT
LOWinternal/oauth/flow.go21// flowPlan is a prepared authorization flow ready to run in the background.COMMENT
LOWinternal/oauth/oauth.go1// Package oauth implements the user-facing OAuth 2.1 login flows the stdioCOMMENT
LOWinternal/oauth/manager.go41 // UserAction, when non-nil, must be surfaced to the user. The authorizationCOMMENT
LOWinternal/githubv4mock/query.go1// Ths contents of this file are taken from https://github.com/shurcooL/graphql/blob/ed46e5a4646634fc16cb07c3b8db389542cCOMMENT
LOWinternal/githubv4mock/local_round_tripper.go1// Ths contents of this file are taken from https://github.com/shurcooL/graphql/blob/ed46e5a4646634fc16cb07c3b8db389542cCOMMENT
LOWinternal/githubv4mock/objects_are_equal_values.go1// The contents of this file are taken from https://github.com/stretchr/testify/blob/016e2e9c269209287f33ec203f340a9a723COMMENT
LOWinternal/githubv4mock/githubv4mock.go101COMMENT
LOWinternal/githubv4mock/githubv4mock.go121// } `graphql:"pullRequest(number: $prNum)"`COMMENT
LOWinternal/githubv4mock/objects_are_equal_values_test.go1// The contents of this file are taken from https://github.com/stretchr/testify/blob/016e2e9c269209287f33ec203f340a9a723COMMENT
LOWinternal/ghmcp/server.go81 // conditional-request cache per token. It adds ETag/If-None-Match handlingCOMMENT
LOWinternal/ghmcp/server.go281 // InsidersMode expands to the curated set of feature flags enabled for insiders.COMMENT
LOWinternal/buildinfo/buildinfo.go1// Package buildinfo contains variables that are set at build time via ldflags.COMMENT
LOWscript/print-mcp-diff-configs/main.go1// Command print-mcp-diff-configs emits the configuration matrix consumed byCOMMENT
LOWpkg/octicons/required_icons.txt1# Required Octicons for the GitHub MCP ServerCOMMENT
LOWpkg/context/mcp_info.go21 Method stringCOMMENT
LOWpkg/sanitize/sanitize.go21COMMENT
LOWpkg/sanitize/sanitize.go141 neutralized.WriteString("&")COMMENT
LOWpkg/sanitize/sanitize.go161// ideographic variation sequences survive unchanged. Selectors that cannotCOMMENT
LOWpkg/sanitize/sanitize.go241}COMMENT
LOWpkg/github/server.go61 // ExcludeTools is a list of tool names that should be disabled regardless ofCOMMENT
LOWpkg/github/server.go121 // adapter. Preflight and legacy typed calls then receive the same requestCOMMENT
LOWpkg/github/feature_flags.go21// is not advertised by default, keeping the tool surface small unless opted in.COMMENT
LOWpkg/github/feature_flags.go101// 1. Taking the user-supplied flags (from --features or HTTP requestCOMMENT
LOWpkg/github/fields_telemetry.go1package githubCOMMENT
LOWpkg/github/copilot.go521// copilotAssigneeUnavailableMessage is returned when the copilot-swe-agent botCOMMENT
LOWpkg/github/deprecated_tool_aliases.go1// deprecated_tool_aliases.goCOMMENT
LOWpkg/github/typed_governance_outputs.go401COMMENT
LOWpkg/github/minimal_types.go21// shrinking large result sets.COMMENT
LOWpkg/github/ui_capability.go61COMMENT
LOWpkg/github/dependencies.go201}COMMENT
LOWpkg/github/scope_filter.go1package githubCOMMENT
LOWpkg/github/scope_filter.go21// - The tool's visibility check accepts the token scopesCOMMENT
LOWpkg/github/repositories_helper.go441 return falseCOMMENT
LOWpkg/github/repositories_helper.go461// a). **Empty Ref:** If `ref` is empty, the repository's default branch is used.COMMENT
LOWpkg/http/handler.go381}COMMENT
LOWpkg/http/server.go41 // Port to listen on (default: 8082).COMMENT
LOWpkg/http/middleware/body_limit.go1package middlewareCOMMENT
LOWpkg/http/oauth/oauth.go41 // ResourcePath is the externally visible base path for the MCP server (e.g., "/mcp").COMMENT
LOWpkg/http/transport/etag.go81}COMMENT
LOWpkg/http/transport/bearer.go21 // and port exactly match one of these entries (case-insensitive). ThisCOMMENT
LOWpkg/http/transport/graphql_features.go21// import "github.com/github/github-mcp-server/v2/pkg/http/transport"COMMENT
LOWpkg/http/servercard/card.go1// Package servercard provides the GitHub MCP Server's MCP Server CardCOMMENT
LOWpkg/http/servercard/card.go81COMMENT
LOWpkg/http/mark/mark.go1// Package mark provides a mechanism for tagging errors with a well-known error value.COMMENT
LOWpkg/inventory/registry.go21// Build()COMMENT
LOWpkg/inventory/registry.go41 toolsetDescriptions map[ToolsetID]string // toolset ID -> descriptionCOMMENT
LOWpkg/inventory/registry.go81 MCPMethodPromptsGet = "prompts/get"COMMENT
LOWpkg/inventory/server_tool.go21// The deps parameter is typed as `any` to avoid circular dependencies - callersCOMMENT
LOWpkg/inventory/server_tool.go121// Icons are provided in both 16x16 and 24x24 sizes.COMMENT
LOWpkg/inventory/server_tool.go141 HandlerFunc HandlerFuncCOMMENT
LOWpkg/inventory/server_tool.go341 schemaCopy.Properties[prop] = &propCopyCOMMENT
LOWpkg/inventory/builder.go21// Builder builds a Registry with the specified configuration.COMMENT
LOWpkg/inventory/builder.go101// - "default": expands to toolsets marked with Default: true in their metadataCOMMENT
LOWpkg/inventory/builder.go121}COMMENT
LOWpkg/inventory/filters.go221// FilteredTools returns tools filtered by the Enabled function and builder filters.COMMENT
LOWpkg/toolvalidation/readonlyhint.go21// candidates for tool-literal validation.COMMENT
LOWpkg/toolvalidation/readonlyhint.go41func (v ReadOnlyHintViolation) String() string {COMMENT
13 more matches not shown…
Structural Annotation Overuse19 hits · 32 pts
SeverityFileLineSnippetContext
LOW⚡cmd/mcpcurl/main.go423 // Step 1: Send MCP initialize requestCOMMENT
LOW⚡cmd/mcpcurl/main.go432 // Step 2: Read initialize response (skip any server notifications)COMMENT
LOW⚡cmd/mcpcurl/main.go437 // Step 3: Send initialized notificationCOMMENT
LOW⚡cmd/mcpcurl/main.go442 // Step 4: Send the actual requestCOMMENT
LOW⚡cmd/mcpcurl/main.go447 // Step 5: Read the actual response (skip any server notifications)COMMENT
LOWdocs/toolsets-and-icons.md31### Step 1: Choose an OcticonCOMMENT
LOWdocs/toolsets-and-icons.md35### Step 2: Add Icon to Required Icons ListCOMMENT
LOWdocs/toolsets-and-icons.md48### Step 3: Fetch the Icon FilesCOMMENT
LOWdocs/toolsets-and-icons.md70### Step 4: Update the Toolset MetadataCOMMENT
LOWdocs/toolsets-and-icons.md84### Step 5: Regenerate DocumentationCOMMENT
LOWdocs/installation-guides/install-antigravity.md19#### Step 1: Access MCP ConfigurationCOMMENT
LOWdocs/installation-guides/install-antigravity.md31#### Step 2: Add ConfigurationCOMMENT
LOWdocs/installation-guides/install-antigravity.md50#### Step 3: Configure Your TokenCOMMENT
LOWdocs/installation-guides/install-antigravity.md61#### Step 4: Restart AntigravityCOMMENT
LOWdocs/installation-guides/install-antigravity.md65#### Step 5: Verify InstallationCOMMENT
LOWpkg/github/projects.go2688 // Step 1: Create the iteration field.COMMENT
LOWpkg/github/projects.go2713 // Step 2: Configure the iteration field with start date and duration.COMMENT
LOWpkg/github/repositories_helper.go365 // Step 1: Get Git Tree recursivelyCOMMENT
LOWpkg/github/repositories_helper.go376 // Step 2: Filter tree for matching pathsCOMMENT
Verbosity Indicators10 hits · 19 pts
SeverityFileLineSnippetContext
LOWcmd/mcpcurl/main.go329 // For boolean, we need to check if it was explicitly setCOMMENT
LOW⚡cmd/mcpcurl/main.go423 // Step 1: Send MCP initialize requestCOMMENT
LOW⚡cmd/mcpcurl/main.go432 // Step 2: Read initialize response (skip any server notifications)COMMENT
LOW⚡cmd/mcpcurl/main.go437 // Step 3: Send initialized notificationCOMMENT
LOW⚡cmd/mcpcurl/main.go442 // Step 4: Send the actual requestCOMMENT
LOW⚡cmd/mcpcurl/main.go447 // Step 5: Read the actual response (skip any server notifications)COMMENT
LOWpkg/github/projects.go2688 // Step 1: Create the iteration field.COMMENT
LOWpkg/github/projects.go2713 // Step 2: Configure the iteration field with start date and duration.COMMENT
LOWpkg/github/repositories_helper.go365 // Step 1: Get Git Tree recursivelyCOMMENT
LOWpkg/github/repositories_helper.go376 // Step 2: Filter tree for matching pathsCOMMENT
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHREADME.md434 "GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"CODE
Hyper-Verbose Identifiers4 hits · 4 pts
SeverityFileLineSnippetContext
LOWui/src/apps/pr-edit/App.tsx130function extractRequestedReviewers(prData: Record<string, unknown>, owner: string): ReviewerItem[] {CODE
LOWui/src/apps/issue-write/App.tsx146function normalizeRawIssueFieldValue(CODE
LOWui/src/apps/issue-write/App.tsx182function parseStringIssueFieldValue(CODE
LOWui/src/apps/issue-write/App.tsx238function normalizeIssueFieldValues(CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMpkg/toolvalidation/readonlyhint.go4// such as github-mcp-server-remote) so the same guardrails apply everywhereCOMMENT
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWpkg/github/repositories_test.go6104 "name": "John Doe", "email": "john@example.com",CODE
LOWpkg/github/repositories_test.go6117 "name": "John Doe", "email": "john@example.com",CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpkg/github/scope_filter.go23// Example usage:COMMENT