agnost
#109 of 203 by Downloads / week among npm packages
Analytics SDK for Model Context Protocol Servers
About
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…
Excerpted from www.npmjs.com/package/agnost
Latest metrics
| Downloads / week | 11.9k | 2026-07-16 |
|---|