feat(analytics): track MCP compatibility adoption - #185
Merged
Conversation
oktofeesh1
force-pushed
the
codex/mcp-compat-adoption
branch
2 times, most recently
from
June 1, 2026 18:20
4abf89d to
31117bc
Compare
oktofeesh1
force-pushed
the
codex/mcp-compat-adoption
branch
from
June 1, 2026 18:28
31117bc to
ca7be59
Compare
Contributor
|
Superagent found 1 security concern(s). P1: New private analytics endpoints lack operator role authorization Private analytics endpoints omit operator role checks. Add AI prompt |
oktofeesh1
force-pushed
the
codex/mcp-compat-adoption
branch
from
June 1, 2026 18:44
ca7be59 to
c6f67a1
Compare
Emit bounded MCP package/client telemetry, aggregate compatibility adoption into private analytics APIs and the operator dashboard, and keep the summary output aggregate-only. Add regression coverage for unsafe header rejection, MCP success/error telemetry, CLI telemetry headers, aggregate adoption summaries, API day clamps, and token/local-path no-leak invariants.
Remove the short-name skip from product usage actor redaction and match actor tokens at segment boundaries so short logins are still removed without corrupting unrelated words. Add a regression test for two-character actor leakage across repo names, target keys, metadata values, and metadata keys.
oktofeesh1
force-pushed
the
codex/mcp-compat-adoption
branch
from
June 1, 2026 19:34
c6f67a1 to
7dd641a
Compare
JSONbored
approved these changes
Jun 1, 2026
JSONbored
left a comment
Owner
There was a problem hiding this comment.
@oktofeesh1 This is ready from my side. The MCP compatibility adoption tracking is now green and merge-clean against current main.
A few notes:
- The API/OpenAPI/MCP surfaces are updated together.
- CLI telemetry, compatibility service behavior, MCP server telemetry, and adoption aggregation all have targeted tests.
- This should be merged after the rollup foundation if we are keeping the analytics stack ordered cleanly.
12 tasks
12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #139.
Adds privacy-safe MCP compatibility adoption tracking across the CLI/MCP request path, private analytics APIs, and the operator dashboard.
What changed
Why
MCP adoption needs version distribution and stale/incompatible client visibility without storing tokens, local paths, source contents, or raw actor/session identifiers in product analytics.
Validation
npm run test:unit -- test/unit/mcp-compatibility.test.ts test/unit/product-usage-mcp-adoption.test.tsnpm run test:unit -- test/unit/mcp-server-telemetry.test.tsnpm run test:unit -- test/unit/mcp-cli.test.tsnpm run test:integration -- test/integration/api.test.tsnpm run test:ciNotes