Skip to content

Keep source MCP launch output protocol-only - #39

Draft
VrtxOmega wants to merge 1 commit into
mainfrom
fix/mcp-source-launch
Draft

VrtxOmega wants to merge 1 commit into
mainfrom
fix/mcp-source-launch

Conversation

@VrtxOmega

@VrtxOmega VrtxOmega commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

Problem

The source-checkout launch advertised in the README, MCP guide and server card (npm run mcp) writes two npm lifecycle banners to stdout before the initialization response. Those lines are not JSON-RPC messages and violate the MCP stdio contract.

Change

Use npm run --silent mcp on all three surfaces and explain why the flag is required. Add a subprocess regression test that reads the server card's actual command, runs it with initialization and ping requests, and parses every stdout line as a correlated MCP response. Normalize inherited npm log-level keys case-insensitively so a silent Windows environment cannot conceal the defect.

Risk

Limited to source-launch guidance and generated server-card metadata. The server transport, installed executable, smoke command and package verifier are unchanged. Evaluation results and their generated reports are unchanged. This is a synthetic self-test, not external-client certification or evidence of outside adoption.

Claim Integrity

Verification

npm run ci:gates PASS, including repository/workflow checks, syntax, unit tests, benchmark, adversarial cases, maintainer demo and installed-tarball checks.

  • Local Windows, Node 24.19.0 / npm 11.6.2: 484 tests; 478 passed, 0 failed, 6 skipped (five POSIX study-storage tests and the account-restricted symlink test).
  • Benchmark 79/79; adversarial cases 47/47; maintainer demo and package verification pass.
  • New test: fails before the correction, passes after; independent review also checks inherited uppercase silent npm settings.
  • Exact-head hosted CI run 37643922234 PASS for ef69801a1cc968172c62ff88af3c8cdf6342f6e7: Linux 482 passed, 0 failed, 2 skipped; Windows 479 passed, 0 failed, 5 skipped (484 total each). The new launch test passed in both jobs. The CI merge tree matches the head tree a951d7734d8180bc6e407e4ad3f1d9c12a78d15f.

Maintainer Checklist

  • One focused onboarding defect.
  • Behavioral regression coverage exercises the advertised command.
  • Evidence distinguishes the failing baseline from the correction.
  • No unrelated generated-artifact refresh.
  • No runtime/private data, secrets or local absolute paths.
  • No AI-authorship, outside-adoption or external-client-success claim.
  • No new external-write behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant