agnost
npm 包 中按周下载量排名第 109 / 共 203
Analytics SDK for Model Context Protocol Servers
项目介绍
Analytics SDK for tracking and analyzing Model Context Protocol (MCP) server interactions.
To completely disable all SDK logs (including error logs), you can use the disableLogs option:
The SDK supports user identification to track analytics per user. This is especially useful for understanding usage patterns across different users and roles.
The identify function should return a UserIdentity object or null:
If you do NOT provide an identify function, the SDK derives the user id from the request's Authorization: Bearer header automatically:
present identifier claim becomes the userId — in order: sub, userid, userId, email, preferredusername, username. (No signature verification — your…
最新指标
| 周下载量 | 11.9k | 2026-07-16 |
|---|