MCP logging
MCP logging is a Model Context Protocol capability letting a server send structured, leveled log messages to the client that connects it to an AI agent, for debugging and visibility rather than for the agent's own reasoning. AdminKit's MCP & Agent Gateway plans its own operator-facing audit log alongside this client-facing one.
By AdminKit team, Netbase JSC · Updated
The Model Context Protocol defines a logging capability that lets a server declare support for sending structured log messages to the client, using the same severity levels RFC 5424 defines for syslog, from debug up through emergency. A client can send a logging/setLevel request to set the minimum severity it wants to receive, and the server then pushes notifications/message events carrying a level, an optional logger name and arbitrary JSON data — useful for debugging a tool call or surfacing a server-side warning without the agent itself ever seeing or acting on that data. The specification’s security guidance warns that log messages must never carry credentials, secrets or personal data, since a client may display, store or forward them well beyond the original request’s trust boundary.