Skip to content

refactor(mcp): standardize telemetry server and consolidate query tools#294

Merged
victoriacheng15 merged 1 commit intomainfrom
refactor/mcp-telemetry-standardization
Mar 11, 2026
Merged

refactor(mcp): standardize telemetry server and consolidate query tools#294
victoriacheng15 merged 1 commit intomainfrom
refactor/mcp-telemetry-standardization

Conversation

@victoriacheng15
Copy link
Owner

@victoriacheng15 victoriacheng15 commented Mar 11, 2026

Summary

Standardized the mcp-telemetry server with a graceful shutdown pattern and consolidated telemetry query tools into a unified structure. These updates enhance platform resilience by ensuring deterministic resource cleanup and simplify the security audit surface for telemetry data access.

List of Changes

  • Operational Resilience: Implemented signal-based lifecycle management to ensure reliable telemetry flushing and connection draining during server termination, preventing data gaps during deployments.
  • Architectural Maintainability: Consolidated fragmented query handlers into a unified domain logic layer. This reduces technical debt by centralizing security validation (dangerous pattern detection) and providing a single, consistent interface for all telemetry signals.

Verification

  • Ran go test -v ./internal/mcp/tools/...

@victoriacheng15 victoriacheng15 merged commit 28f951f into main Mar 11, 2026
3 checks passed
@victoriacheng15 victoriacheng15 deleted the refactor/mcp-telemetry-standardization branch March 11, 2026 23:04
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