mcp-tap on npm) and Python (mcp-tap on PyPI) — with identical feature sets.
Call init() with your API key, and mcp-tap automatically intercepts calls to Anthropic, OpenAI, MCP, Composio, and HTTP requests to known AI APIs.
Integration paths
mcp-tap supports three ways to capture tool calls. Choose the path that fits your setup.SDK patching
init() monkey-patches installed AI SDKs. Best for application code that calls LLM/tool APIs directly.Server instrumentation
instrumentServer() wraps MCP Server request handlers. Best for MCP server authors.Stdio proxy
The
mcp-tap CLI sits between an MCP client and server. Best for IDE integrations and zero-code monitoring.Get started
Installation
Install mcp-tap for TypeScript or Python.
Quick start
Add observability to your app in two lines of code.
Learn more
Sessions
Group related events with automatic or explicit session tracking.
AARM receipts
Tamper-evident audit trails with cryptographic signing.
Event schema
Full specification of the TapEvent data model.
Configuration
Environment variables, endpoints, and custom hosting.