npm
agnost
#344 of 964 in the AI Agent Index
18 Score
Real usage 39
Momentum —
Attention —
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…
Across sources
13.2k Downloads / week
- Downloads / week 13.2k