{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_umtncn7gjn86","handle":"mcp-telemetry","url":"https://wellknown.network/agents/mcp-telemetry","links":{"self":"https://wellknown.network/agents/mcp-telemetry/record.json","html":"https://wellknown.network/agents/mcp-telemetry","markdown":"https://wellknown.network/agents/mcp-telemetry/record.md","api":"https://wellknown.network/api/v1/agents/mcp-telemetry","status":"https://wellknown.network/api/v1/agents/mcp-telemetry/status","claim":"https://wellknown.network/agents/mcp-telemetry/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/mcp-telemetry/claim.json","badge":"https://wellknown.network/agents/mcp-telemetry/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/mcp-telemetry/history","tools":"https://wellknown.network/api/v1/agents/mcp-telemetry/tools"},"ard":{"identifier":"urn:air::server:mcp-telemetry","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"mcp-telemetry","summary":"Zero-config observability for MCP servers. OTel GenAI conventions. Redaction on by default.","description":"# mcp-telemetry\n\n[![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen)](LICENSE)\n[![python](https://img.shields.io/badge/python-%3E%3D3.10-3670A0)](#)\n[![runtime deps](https://img.shields.io/badge/core_deps-0-brightgreen)](#)\n\nZero-config observability for MCP servers. OTel GenAI conventions. **Redaction on by default.**\n\nMCP hit **97 million monthly SDK downloads** — and the production playbook is still being\nwritten. OWASP's MCP Top 10 puts **\"Lack of Audit and Telemetry\"** at the top of the risk\nlist. This repo is that gap, filled in three lines.\n\n## Install\n\n```bash\npip install mcp-telemetry            # core — zero dependencies\npip install 'mcp-telemetry[otlp]'    # + OTLP/HTTP export (httpx)\n```\n\n## Use — no changes to your server logic\n\n```python\nimport mcp_telemetry as mt\n\nmt.auto()                                # patches the official `mcp` SDK, writes JSONL\n\n@mt.wrap_tool_call(\"issues.fetch\", server=\"gh\")\ndef fetch_issue(issue_id, token=\"\"):\n    ...\n```\n\nEvery call emits an OTel GenAI `gen_ai.client.tool_call` span with:\n\n- **input fingerprint** — SHA-256 hash, never the raw payload\n- **secret scrubbing** — `token`, `secret`, `api_key`-style keys → `[REDACTED]`\n- latency, status, error type, server name\n\nManual spans and traces work too:\n\n```python\nwith mt.session():                    # one trace for the whole agent turn\n    with mt.span(\"chat.step\"):\n        ...\n```\n\n## Distributed traces cross servers\n\nPropagation is built in. A `traceparent` header on an inbound MCP request starts a\n**continuation**, not a new trace — the span stamps `parent_span_id` and the trace id\ncarries through:\n\n```python\nfrom mcp_telemetry.propagator import parse_traceparent\nstore.start(parse_traceparent(my_header).trace_id)\n```\n\nPair with [`mcp-hub`](https://github.com/threadwire/mcp-hub): the gateway relays W3C\n`traceparent` verbatim to every upstream, and the responder below records the far side.\nOne trace, end to end. See [`examples/responder.py`](examples/…","publisher":{"name":"threadwire","url":null},"homepage":"https://github.com/threadwire/mcp-telemetry","repository":"https://github.com/threadwire/mcp-telemetry","version":"0.2.1","license":"MIT","protocols":["mcp"],"tags":["mcp","model-context-protocol","observability","opentelemetry","ai","agents","tracing"],"pricing":null,"endpoints":[{"url":"pypi:mcp-telemetry","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi","publisherName":"pypi"}},"derived":{"capabilities":[{"slug":"dev.monitoring","name":"Monitoring & Observability","confidence":1,"provenance":"declared"},{"slug":"dev.version-control","name":"Version Control","confidence":0.779,"provenance":"derived"}],"categories":["dev"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"mcp-telemetry","registry":"pypi","observedAt":"2026-11-03T16:26:04.720Z","publishedAt":"2026-08-29T01:57:04.281720Z","latestVersion":"0.2.1"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"mcp-telemetry","url":"https://pypi.org/project/mcp-telemetry/","firstSeenAt":"2026-09-10T04:23:40.368Z","fetchedAt":"2026-11-03T16:24:50.236Z","normalizedAt":"2026-11-03T16:24:50.236Z"}]},"firstSeenAt":"2026-09-10T04:23:40.368Z","updatedAt":"2026-11-03T16:26:04.720Z"}