mcpcat-python-sdk
Verified Safeby MCPCat
Overview
This SDK integrates with MCP (Multi-Agent Communication Protocol) servers to collect user behavior analytics and forward telemetry (logs, traces, errors) to an analytics platform or third-party observability tools.
Installation
No command providedEnvironment Variables
- DD_API_KEY
- SENTRY_DSN
- MCPCAT_DEBUG_MODE
Security Notes
The SDK leverages monkey-patching for deep integration with MCP server methods to intercept tool registration and execution. While this is a powerful technique, it appears to be implemented carefully for legitimate instrumentation purposes (adding context, tracking tool calls, adding a 'get_more_tools' tool) rather than arbitrary code execution. No direct use of 'eval' or obvious malicious patterns were found. Sensitive data redaction is supported via a user-defined hook. External network connections are made to the MCPCat analytics platform (hardcoded endpoint) and configurable third-party observability tools (OTLP, Datadog, Sentry), which is part of its core functionality. API keys and DSNs for these services are expected to be provided via configuration, not hardcoded within the SDK.
Similar Servers
jetski
An Open Source MCP Analytics and Authentication Platform that proxies and provides analytics for MCP servers.
mcpcat-typescript-sdk
MCPcat is an analytics platform designed for MCP server owners to capture user intentions and behavior patterns, offering session replay, trace debugging, and integration with existing observability tools.
mcpc
Build agentic Model Context Protocol (MCP) servers by composing existing MCP tools to create sophisticated AI agents capable of complex tasks.
shinzo-py
Provides OpenTelemetry-compatible observability for Python MCP servers, offering insights into agent usage patterns, contextualized tool calls, and server performance analysis.