Back to Home
shinzo-labs icon

shinzo-ts

Verified Safe

by shinzo-labs

Overview

Provides OpenTelemetry-compatible instrumentation for TypeScript MCP servers to gain insight into agent usage patterns, contextualize tool calls, and analyze server performance.

Installation

Run Command
npx ts-node examples/basic-usage.ts

Environment Variables

  • PORT
  • OTEL_EXPORTER_OTLP_ENDPOINT
  • OTEL_AUTH_TOKEN
  • OTEL_SAMPLING_RATE

Security Notes

The codebase demonstrates good security practices by incorporating PII sanitization by default and handling sensitive authentication credentials (bearer tokens, API keys, basic auth) through configuration, ideally sourced from environment variables. No 'eval', obfuscation, or hardcoded secrets were found. Network communication for telemetry export uses OTLP-HTTP, a standard protocol. The PII sanitization regex patterns are a strong feature. The overall design prioritizes secure data handling.

Similar Servers

Stats

Interest Score51
Security Score9
Cost ClassLow
Avg Tokens50
Stars63
Forks6
Last Update2025-12-08

Tags

OpenTelemetryObservabilityMCPTypeScriptInstrumentation