[CI] (81b9a8c) typescript-sdk/stdio-server - #3837
Closed
wizard-ci-bot[bot] wants to merge 1 commit into
Closed
Conversation
Author
PR Evaluation ReportSummaryThis PR instruments a minimal MCP stdio server (
Confidence score: 4/5 👍
File changes
App sanity check ✅
Issues
|
| Criteria | Result | Description |
|---|---|---|
| PostHog SDKs installed | Yes | posthog-node@^5.51.6 and @posthog/mcp@^0.13.0 added to package.json dependencies |
| PostHog client initialized | Yes | new PostHog(token, { host, enableExceptionAutocapture: true }) followed by instrument(server, posthog, { captureModel: true }) — correct pattern for MCP server instrumentation |
| capture() | Yes | instrument() automatically captures , , , and events |
| identify() | N/A | Server-only MCP application |
| Error tracking | Yes | enableExceptionAutocapture: true on the PostHog client, and instrument() captures `` on tool errors |
| Reverse proxy | N/A | Server-only application using posthog-node |
Issues
No issues found.
Other completed criteria
- API key loaded from
process.env.POSTHOG_PROJECT_TOKENwith runtime guard warning - Host loaded from
process.env.POSTHOG_HOSTwith runtime guard warning posthog.shutdown()called onSIGTERMto flush queued events before exitcaptureModel: trueenriches tool call events with the agent's self-reported model
PostHog insights and events ✅
| Filename | PostHog events | Description |
|---|---|---|
src/index.ts |
, , , |
instrument() automatically captures MCP protocol lifecycle events: client handshakes, tool listing, tool invocations (echo, add), and exceptions. With captureModel: true, tool calls include `` property. |
Issues
No issues found.
Other completed criteria
- Events represent real MCP protocol actions (tool calls, initialization handshakes)
- Events enable product insights (tool usage frequency, error rates, model distribution)
- Events are enriched with model metadata via
captureModel: true - No PII in event properties
- Event names follow PostHog's standard
*naming convention
Reviewed by wizard workbench PR evaluator
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.
Automated wizard CI run
Source: context-mill-pr
Trigger ID:
81b9a8cApp:
typescript-sdk/stdio-serverApp directory:
apps/typescript-sdk/stdio-serverWorkbench branch:
wizard-ci-81b9a8c-typescript-sdk-stdio-serverWizard branch:
mainContext Mill branch:
codex/mcp-modern-capture-wizardPostHog (MCP) branch:
masterTimestamp: 2026-09-03T21:16:19.596Z
Duration: 172.2s
YARA Scanner