npm
agnost
AI Agent 指数 第 344(共 964)
18 综合分
真实使用 39
动量 —
关注度 —
项目介绍
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…