Open-source tracing middleware for MCP servers. Export logs, requests, and tool calls to files, PostgreSQL, Supabase, Contexa, or custom backends with full control over what gets logged.
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"mcp-trace","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# mcp-trace <div align="center"> <img src="images/MCP-TRACE.png" alt="mcp-trace" width="100%"/> </div> [](https://pypi.org/project/mcp-trace/) [](LICENSE) [](https://www.python.org/downloads/) > **Flexible, pluggable tracing middleware for [FastMCP](https://github.com/jlowin/fastmcp) servers.** > Log every request, tool call, and response to local files, PostgreSQL, Supabase, Contexa, your own backend, or the console—with full control over what gets logged, including user identification and PII redaction. --- ## Table of Contents - [Features](#features) - [Quickstart](#quickstart) - [Adapters](#adapters) - [Contexa Adapter](#contexa-adapter) - [File Adapter](#file-adapter) - [Console Adapter](#console-adapter) - [PostgreSQL Adapter](#postgresql-adapter) - [Supabase Adapter](#supabase-adapter) - [Multi-Adapter Example](#multi-adapter-example) - [Advanced Features](#advanced-features) - [User Identification](#user-identification) - [PII Redaction](#pii-redaction) - [Trace Data Fields](#trace-data-fields) - [Requirements](#requirements) - [Contributing](#contributing) - [License](#license) - [Links & Acknowledgements](#links--acknowledgements) --- ## Features - 📦 **Plug-and-play**: Add tracing to any FastMCP server in seconds - 🗃️ **Pluggable adapters**: Log to file, PostgreSQL, Supabase, Contexa, console, or your own - 🧩 **Composable**: Use multiple adapters at once - 📝 **Schema-first**: All traces stored as JSON for easy querying - 🔒 **Privacy-aware**: Built-in PII redaction support - 👤 **User identification**: Extract and log user information from requests - 🌐 **Comprehensive data**: Captures request/response, client info, IP addresses, errors, and more --- ## Quickstart ### Installation ```sh pip install mcp-trace ``` ### Minimal Exam…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.