logging support in MCP clients
Which MCP clients support logging, and how each claim is known. The protocol introduced it in 2024-11-05. It was deprecated in 2026-07-28.
Support
| Client | Kind | Status | Known from | Revisions | Notes |
|---|---|---|---|---|---|
| goose | host | ● full | read | 2026-07-28 |
on_logging_message fans notifications out to subscribers. Marked #[expect(deprecated)] — logging is deprecated as of 2026-07-28 (SEP-2577). |
| Codex CLI | host | ◐ partial | read | 2026-07-28 |
notifications/message is mapped onto tracing levels and written to Codex's own log, not shown in the UI. logging/setLevel is never sent, and neither is the io.modelcontextprotocol/logLevel _meta key that replaces it, so on a 2026-07-28 session a conforming server sends nothing and the handler is unreachable. |
| opencode | host | ○ unsupported | read | 2025-11-25 |
No notifications/message handler is registered and logging/setLevel is never called. Server stderr on stdio goes to the debug log, which is not MCP logging. At 7cde8329 the client received notifications/message and routed it to the server log. |
| Cline * | host | ◐ partial | read | 2024-11-05, 2025-11-25 |
The extension handles notifications/message and routes it to the active task, or buffers it when no task is running. It never calls logging/setLevel, so the level is whatever the server defaults to. Any other notification is written to the extension log. The CLI handles no notifications. |
| fast-agent | framework | ○ unsupported | read | 2026-07-28 |
logging/setLevel is never called and no handler renders a notifications/message. On the handshake path a log notification reaches the generic server-notification callback, which is only ever assigned in a unit test. |
| OpenClaw * | host | ○ unsupported | read | 2025-11-25 |
No logging/setLevel call. A notifications/message handler exists only on the native projection bridge. Server stderr on stdio is drained without logging its content. |
| Hermes Agent | host | ◐ partial | read | 2025-11-25 |
Receives but does not steer. A logging_callback routes notifications/message into Hermes' own logging, tagged with the server name, mapping MCP levels onto Python ones and truncating a single payload at 2000 characters so a chatty or broken server cannot flood the log. The docstring records that without it the SDK's default callback discards them, so server-side warnings during a tool call were invisible, and credits the fix as a port of an opencode change. Nothing calls logging/setLevel, so the server's default verbosity is whatever it chooses. |
| Kilo Code * | host | ◐ partial | read | 2025-11-25 |
Receives notifications/message into the log. Never calls logging/setLevel. |
| Mastra | framework | ● full | read | 2026-07-28 |
On by default. Every request carries the io.modelcontextprotocol/logLevel _meta key, info unless serverLogLevel says otherwise, which is how a 2026-07-28 server is asked for logs. A notifications/message is written to the Mastra logger at a mapped level and passed to the entry's logger callback. enableServerLogs: false removes the key and the handler. |
| fx (native engine) | host | ○ unsupported | read | 2026-07-28 |
No logging/setLevel, and the per-request _meta carries no logLevel key. The notification handler has no branch for notifications/message, so one is dropped. A stdio server's stderr goes to the debug log, which is a separate channel. |
| libfx (fx JavaScript adapter) * | framework | ○ unsupported | read | 2025-11-25 |
The adapter registers no handler for notifications/message and never calls setLoggingLevel. |
| eve | framework | ○ unsupported | read | 2026-07-28 |
The SDK has no logging/setLevel request, and a notifications/message is dropped with every other notification. |
| pi * | host | ◐ partial | read | 2025-11-25 |
notifications/message is appended to mcp.log in the agent directory, one line per message with time, server, level and logger, and the file rotates to mcp.log.1 past 5 MB. Nothing is shown in the session. logging/setLevel is never sent. |
| Strands Agents | framework | ○ unsupported | read | 2026-07-28 |
No logging callback is passed, so the SDK's default discards notifications/message. logging/setLevel is never called and no log level is set for the per-request envelope. TypeScript differs: a notifications/message handler is always registered, and by default it writes each message to the Strands logger at a mapped level. logHandler replaces it. Neither binding sets a level. |
| crewAI * | framework | ○ unsupported | read | 2025-11-25 |
logging/setLevel is never called and no logging_callback is passed, so the SDK's default callback discards a notifications/message. crewAI's own MCP events on its event bus are client-side records of connections and tool calls. |
| deepagents * | framework | ◐ partial | read | 2025-11-25 |
Receives and does not steer. Each per-server client gets a log handler that writes notifications/message to the deepagents_code.mcp_tools Python logger at the level the server chose, tagged with the server name and the MCP logger name. The records go to the Python logging of deepagents-code. They do not reach the model. logging/setLevel is never sent. |
| Google ADK (Python) | framework | ○ unsupported | read | 2026-07-28 |
ClientSession is built without log_level, so no request opts in to log delivery. |
| Microsoft Agent Framework | framework | ◐ partial | read | 2025-11-25, 2026-07-28 |
logging_callback writes each notifications/message to the agent_framework._mcp Python logger at the mapped level. The level sent to the server is that logger's own level at connect time, not its effective level. With the level unset nothing is sent: on 2026-07-28 no request carries the logLevel opt-in and no messages arrive, and on the handshake path logging/setLevel is not called and the server's default applies. .NET: no logging call in dotnet/src. |
| Hugging Face Chat UI | host | ○ unsupported | read | 2026-07-28 |
No notifications/message handler is registered and logging/setLevel is never sent. |
| Visual Studio Code * | host | ● full | read | 2025-11-25 |
notifications/message goes to the server's output log. logging/setLevel is sent after initialize when the server declares logging, and again when the user changes the log level. |
| n8n * | host | ○ unsupported | read | 2025-11-25 |
No notifications/message handler and no logging/setLevel call. |
| Langflow * | host | ○ unsupported | read | 2025-11-25 |
logging/setLevel is never called and no logging_callback is passed, so the SDK's default callback discards notifications/message. Langflow's own logs and the mcp.tool.call tracing span record client-side events only. |
| mcp-use | framework | ◇ opt-in | read | 2026-07-28 |
notifications/message falls through to the fallback notification handler and reaches only onNotification callbacks the application registers. Nothing is logged by default and logging/setLevel is never sent. Python: logging_callback on MCPClient, otherwise the SDK default. |
| Zed * | host | ○ unsupported | read | 2025-11-25 |
No handler for notifications/message and no logging/setLevel call. Server stderr goes to Zed's log. |
| TypeScript SDK Client | sdk | ◇ opt-in | read | 2025-11-25 |
No notifications/message handler is registered by default, and the Protocol layer drops a notification with no handler. The application registers one with setNotificationHandler and may call setLoggingLevel(), which is marked deprecated as of 2026-07-28. The logger option added after 2.4.0 is for the SDK's own diagnostics. |
| Warp | host | ○ unsupported | read | 2026-07-28 |
on_logging_message is rmcp's no-op and logging/setLevel is never sent. Every received message, notifications/message included, is written as raw JSON to Warp's per-server log file by the transport wrapper. |
| Reachy Mini conversation app | host | ○ unsupported | read | 2026-07-28 |
No logging_callback and no log_level, so a 2026-07-28 server is never asked for log messages and logging/setLevel is never sent on a handshake connection. |
Not recorded for Google Antigravity, Claude Code, Claude.ai, ChatGPT, Codex Desktop, Cursor. A missing record is not the same as unsupported.
Rows describe each client on 2026-07-28. A row marked * is for the newest revision the client speaks, because it cannot negotiate 2026-07-28: 2025-11-25 for 11 clients.
Tiers are not ranked. read is a source read at a pinned commit, verified is a probe run, observed is telemetry, and declared is what the client or a curated list says. "Through" names the parent capability whose evidence a row rests on when it has none of its own.
By protocol revision
On 2025-11-25 these clients record a different row. The other clients' rows above hold on 2025-11-25 as well.
| Client | On 2026-07-28 |
On 2025-11-25 |
Notes on 2025-11-25 |
|---|---|---|---|
| Mastra | ● full | ◐ partial | logging/setLevel is never sent, so the server decides the level. The notifications/message handler is registered all the same, and the logLevel _meta key is still attached to each request. |
| Google ADK (Python) | ○ unsupported | ○ unsupported | No logging_callback is passed, so the SDK default discards notifications/message. logging/setLevel is never called. An application that passes message_handler receives log notifications along with every other server notification. |
goose, Hermes Agent, Warp, Reachy Mini conversation app have one set of rows for every revision they speak, not yet split by revision.
The matrix on 2025-11-25 shows every capability on that revision.
Evidence
- read at
2026-07-28: aaif-goose/goose atc546eaa1crates/oi-kit-agent/src/mcp/client.rs:fan_out_notification,GooseClient, 2026-11-27 - read at
2026-07-28: aaif-goose/goose atc546eaa1crates/oi-kit-agent/src/mcp/lease.rs:ExtensionLease.call_resolved,ExtensionLease.notifications_for_call, 2026-11-27
- read at
2026-07-28: openai/codex at18c09f20codex-rs/rmcp-client/src/logging_client_handler.rs:LoggingClientHandler.on_logging_message, 2026-11-27
- read at
2025-11-25: anomalyco/opencode at5d1f7884packages/core/src/mcp/client.ts:initialize, 2026-11-27 - read at
2025-11-25: anomalyco/opencode at5d1f7884packages/core/src/mcp/stdio.ts:Options.startOutput, 2026-11-27. The stderr drain.
- read at
2025-11-25: cline/cline atcbc7d141apps/vscode/src/services/mcp/McpHub.ts:McpHub.connectToServer, 2026-11-27 - read at
2024-11-05: cline/cline atcbc7d141sdk/packages/core/src/extensions/mcp/client.ts:StdioMcpClient.handleStdout, 2026-11-27
- read at
2026-07-28: evalstate/fast-agent at16f8bb65src/fast_agent/mcp/client_callback_runtime.py:MCPClientCallbackRuntime, 2026-11-27 - read at
2026-07-28: evalstate/fast-agent at16f8bb65src/fast_agent/mcp/mcp_aggregator.py:MCPAggregator.__init__, 2026-11-27. server_notification_callback is set to None here and assigned nowhere else in src/.
- read at
2025-11-25: openclaw/openclaw atb607eb7bsrc/agents/mcp-transport.ts:attachStderrLogging, 2026-11-27 - read at
2025-11-25: openclaw/openclaw atb607eb7bsrc/agents/native-mcp-runtime-client.ts:createNativeMcpClientBridge, 2026-11-27
- read at
2025-11-25: NousResearch/hermes-agent at77236c4atools/mcp_tool_health.py:MCPServerHealthMixin._make_logging_callback, 2026-11-27 - read at
2025-11-25: NousResearch/hermes-agent at77236c4atools/mcp_tool_transport.py:MCPServerTransportMixin._session_kwargs, 2026-11-27
- read at
2025-11-25: Kilo-Org/kilocode at3c7f2659packages/opencode/src/mcp/index.ts:watch, 2026-11-27
- read at
2026-07-28: mastra-ai/mastra at0a31d4d0packages/mcp/src/client/client.ts:DEFAULT_SERVER_LOG_LEVEL,convertLogLevelToLoggerMethod,InternalMastraMCPClient, 2026-11-27 - read at
2026-07-28: mastra-ai/mastra at0a31d4d0packages/mcp/src/client/types.ts:BaseServerOptions, 2026-11-27
- read at
2026-07-28: vercel-labs/fx atb4502b01src/mcp/protocol/wire.zig:Meta, 2026-11-27 - read at
2026-07-28: vercel-labs/fx atb4502b01src/mcp/server.zig:onMessage, 2026-11-27 - read at
2026-07-28: vercel-labs/fx atb4502b01src/mcp/host.zig:Host, 2026-11-27
libfx (fx JavaScript adapter):
- read at
2025-11-25: vercel-labs/fx atb4502b01sdk/types/mcp.d.ts:McpClient, 2026-11-27
eve:
- read at
2026-07-28: @ai-sdk/mcpdist/index.js, 2026-11-16. @ai-sdk/mcp 2.0.99, the npm artifact before eve applies its build patches. assertCapability lists every request method the client can send. Any other method throws "Unsupported method". - read at
2026-07-28: @ai-sdk/mcpdist/index.js, 2026-11-16. @ai-sdk/mcp 2.0.99, the npm artifact before eve applies its build patches. A message with a method and no id goes to onError as "Unsupported message type".
pi:
- read at
2025-11-25: earendil-works/pi atcdf74062packages/coding-agent/src/extensions/mcp/runtime.ts:McpServerConnection.connectOnce, 2026-11-27 - read at
2025-11-25: earendil-works/pi atcdf74062packages/coding-agent/src/extensions/mcp/log.ts:formatMcpLogMessage,McpServerLog,McpServerLog.write, 2026-11-27
- read at
2026-07-28: strands-agents/harness-sdk at78855cadstrands-py/src/strands/tools/mcp/mcp_client.py:MCPClient._async_background_thread,MCPClient._handle_session_message, 2026-11-27 - read at
2026-07-28: modelcontextprotocol/python-sdkmcp/client/session.py, 2026-11-16. mcp 2.3.0. The default logging callback is a no-op. - read at
2026-07-28: strands-agents/harness-sdk at78855cadstrands-ts/src/mcp/client.ts:McpClientOptions,McpClient._createClient,defaultLogHandler, 2026-11-27. TypeScript binding: status partial there.
- read at
2025-11-25: crewAIInc/crewAI at77237aeclib/crewai/src/crewai/mcp/client.py:MCPClient.connect, 2026-11-27. ClientSession is constructed with the two streams and nothing else: no callbacks, no message_handler, no client_info. - read at
2025-11-25: modelcontextprotocol/python-sdkmcp/client/session.py, 2026-11-16. mcp 1.30.0 wheel. The default logging callback is a no-op.
- read at
2025-11-25: langchain-ai/deepagents atc84eb7f1libs/code/deepagents_code/mcp_tools.py:_server_log_handler, 2026-11-27 - read at
2025-11-25: langchain-ai/deepagents atc84eb7f1libs/code/deepagents_code/mcp_tools.py:connect, 2026-11-27
- read at
2026-07-28: google/adk-python at03725e8csrc/google/adk/tools/mcp_tool/session_context.py:SessionContext._run, 2026-11-27 - read at
2026-07-28: modelcontextprotocol/python-sdkmcp/client/session.py, 2026-11-16. mcp 2.3.0. The log-level _meta key is stamped only when log_level is set.
- read at
2026-07-28: microsoft/agent-framework atf8ade3e9python/packages/core/agent_framework/_mcp.py:MCPTool.logging_callback, 2026-11-27 - read at
2026-07-28: microsoft/agent-framework atf8ade3e9python/packages/core/agent_framework/_mcp.py:MCPTool._connect_on_owner, 2026-11-27. log_level comes from logger.level. - read at
2026-07-28: microsoft/agent-framework atf8ade3e9python/packages/core/agent_framework/_mcp.py:_to_mcp_logging_level, 2026-11-27. NOTSET maps to None. - read at
2025-11-25: microsoft/agent-framework atf8ade3e9python/packages/core/agent_framework/_mcp.py:MCPTool._connect_on_owner, 2026-11-27. logging/setLevel on the handshake path. - read at
2026-07-28: microsoft/agent-framework atf8ade3e9python/packages/core/agent_framework/_mcp.py:_ClientMCPConnection.set_logging_level, 2026-11-27. set_logging_level returns early on a 2026-07-28 connection. - read at
2026-07-28: modelcontextprotocol/python-sdkmcp/client/client.py, 2026-11-16. mcp 2.3.0 wheel. log_level is the 2026-07-28 opt-in, and None means no log messages arrive.
- read at
2026-07-28: huggingface/chat-ui at7fc0f672src/lib/server/mcp/client.ts:createMcpClient, 2026-11-27
- read at
2025-11-25: microsoft/vscode at6737a1ccsrc/vs/workbench/contrib/mcp/common/mcpServerRequestHandler.ts, 2026-11-27
n8n:
- read at
2025-11-25: n8n-io/n8n atfb1aec9cpackages/@n8n/nodes-langchain/nodes/mcp/shared/utils.ts, 2026-11-27 - read at
2025-11-25: n8n-io/n8n atfb1aec9cpackages/@n8n/agents/src/runtime/mcp/mcp-connection.ts, 2026-11-27
- read at
2025-11-25: langflow-ai/langflow at2b6faa1csrc/lfx/src/lfx/base/mcp/util.py:MCPSessionManager.session_task, 2026-11-27 - read at
2025-11-25: modelcontextprotocol/python-sdkmcp/client/session.py, 2026-11-20. mcp 1.30.0 wheel. The default logging callback is a no-op.
- read at
2026-07-28: mcp-use/mcp-use atbc8fb6f3libraries/typescript/packages/client/src/transport/base.ts:BaseConnector.setupNotificationHandler, 2026-11-27 - read at
2026-07-28: mcp-use/mcp-use atbc8fb6f3libraries/typescript/packages/client/src/transport/base.ts:ConnectorInitOptions,BaseConnector, 2026-11-27
Zed:
- read at
2025-11-25: zed-industries/zed atda3a2740crates/agent/src/tools/context_server_registry.rs:ContextServerRegistry.init_registered_server, 2026-11-27 - read at
2025-11-25: zed-industries/zed atda3a2740crates/context_server/src/client.rs:Client, 2026-11-27
- read at
2025-11-25: modelcontextprotocol/typescript-sdk at5ee54ee3packages/client/src/client/client.ts:Client, 2026-11-20 - read at
2025-11-25: modelcontextprotocol/typescript-sdk at5ee54ee3packages/core-internal/src/shared/protocol.ts:Protocol._onnotification, 2026-11-20
Warp:
- read at
2026-07-28: rmcpsrc/handler/client.rs, 2026-11-21 - read at
2026-07-28: warpdotdev/warp at1c7fda11crates/mcp/src/runtime.rs, 2026-11-27
- read at
2026-07-28: pollen-robotics/reachy_mini_conversation_app at622a3a67src/reachy_mini_conversation_app/mcp_client.py:377-381, 2026-11-26 - read at
2026-07-28: modelcontextprotocol/python-sdkmcp/client/client.py:310-324, 2026-11-26
Mastra on 2025-11-25:
- read at
2025-11-25: mastra-ai/mastra at0a31d4d0packages/mcp/src/client/client.ts:InternalMastraMCPClient,InternalMastraMCPClient.requestMeta, 2026-11-27 - declared at
2025-11-25says partial: canimcp-probe, 2026-11-08. After initialize the client sent notifications/initialized, tools/list and tools/call, each with _meta {"io.modelcontextprotocol/logLevel":"info"}, and no logging/setLevel (wire.jsonl).
Google ADK (Python) on 2025-11-25:
- read at
2025-11-25: google/adk-python at03725e8csrc/google/adk/tools/mcp_tool/session_context.py:SessionContext._run, 2026-11-27. The only ClientSession construction under src. It passes sampling_callback, sampling_capabilities, elicitation_callback, message_handler and client_info, and no list_roots_callback or logging_callback. - read at
2025-11-25: modelcontextprotocol/python-sdkmcp/client/session.py, 2026-11-16. mcp 2.3.0. The default logging callback is a no-op, and a log notification goes to it and then to message_handler.
Lifecycle
| Revision | Change |
|---|---|
2024-11-05 |
Introduced. |
2026-07-28 |
logging/setLevel removed; log level set per-request via io.modelcontextprotocol/logLevel in _meta, and servers MUST NOT emit notifications/message for requests that omitted it. Feature deprecated (SEP-2575, SEP-2577) |
2026-07-28 |
Deprecated. Earliest removal First revision released on or after 2027-07-28. |
Log to stderr (stdio) or use OpenTelemetry for observability.
SEP-2577.
Research notes
- ADK Python declares no client capabilities unless the application passes callbacks
- crewAI opens a new MCP session for every tool call
- fx removed resources, prompts and HTTP+SSE in 0.0.15
- A default Mastra MCPClient declares the MCP Apps extension and nothing else
- Strands ships two MCP clients, and a server sees a different client from each
- Zed hand-writes its MCP client, declares no capabilities and never answers a server request
Kinds
- framework: A library an application embeds. A capability row is what a default install declares, and the embedding application can change it.
- sdk: An MCP SDK. A capability row is the default every client on it inherits unless it overrides.
Data
This page as JSON: /data/capabilities/logging.json. All capabilities: /data/capabilities/index.json, and the matrix.