[CI] (3f39e0e) custom-dispatcher/hono-server - #4183
Closed
wizard-ci-bot[bot] wants to merge 1 commit into
Closed
wizard-ci-bot[bot] wants to merge 1 commit into
wizard-ci-bot[bot] wants to merge 1 commit into
Conversation
Author
|
Now I have all the information I need. Let me produce the evaluation report. PR Evaluation ReportSummaryThis PR integrates PostHog MCP analytics into a custom Hono-based MCP JSON-RPC dispatcher using the
Confidence score: 5/5 🧙No critical or medium issues found. This is a clean, well-structured MCP analytics integration that correctly uses the File changes
App sanity check ✅
IssuesNo issues found.
|
| Criteria | Result | Description |
|---|---|---|
| PostHog SDKs installed | Yes | @posthog/mcp 0.18.0 and posthog-node 5.53.0 added to package.json with pinned versions |
| PostHog client initialized | Yes | PostHogMCP initialized at module scope with captureModel: true and enableConversationId: false |
| capture() | Yes | captureInitialize, captureToolsList, and captureToolCall cover all MCP protocol methods |
| identify() | N/A | Server-only MCP dispatcher — no user-facing sessions |
| Error tracking | Yes | Tool call errors captured via captureToolCall with isError: true and the error object |
| Reverse proxy | N/A | Server-only app using posthog-node — no browser ad-blocker concerns |
Issues
No issues found.
Other completed criteria
- API key loaded from
process.env.POSTHOG_PROJECT_TOKEN(not hardcoded) - Host loaded from
process.env.POSTHOG_HOST(not hardcoded) - Graceful shutdown via
process.on('SIGTERM')ensures events are flushed prepareToolCallstrips SDK-owned analytics arguments before passing torunToolprepareToolListaugments tool schemas for intent/model capture- Protocol version, session ID, user agent, and vendor client headers extracted as analytics context
captureInitializegated to2025-11-25protocol version handshakes only
PostHog insights and events ✅
| Filename | PostHog events | Description |
|---|---|---|
src/index.ts |
`` | Captures MCP handshake with client info, protocol version, and parameters |
src/index.ts |
`` | Captures tool listing with tool names and response |
src/index.ts |
`` | Captures each tool invocation with name, description, parameters, response, duration, error state, intent, and LLM model metadata |
Issues
No issues found.
Other completed criteria
- Events represent real MCP protocol actions (initialize, tools/list, tools/call)
- Events enable product insights: tool-call volume, error rates, p95 latency, model distribution
- Events enriched with duration_ms, tool description, sanitized parameters/response, intent, intent source, LLM model, and model source
- No PII in event properties — only protocol-level metadata
- Event naming follows PostHog MCP conventions (
*prefix)
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: wizard-pr
Trigger ID:
3f39e0eApp:
custom-dispatcher/hono-serverApp directory:
apps/custom-dispatcher/hono-serverWorkbench branch:
wizard-ci-3f39e0e-custom-dispatcher-hono-serverWizard branch:
release-please--branches--main--components--wizardContext Mill branch:
mainPostHog (MCP) branch:
masterTimestamp: 2026-09-23T22:26:23.804Z
Duration: 278.4s
YARA Scanner