claude-code - 💡(How to fix) Fix [Feature Request] Add option to suppress or hide MCP server call information in terminal output [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#45376Fetched 2026-04-09 08:06:52
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×4commented ×1

Error Message

[{"error":"Error: 1P event logging: 71 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n at queueFailedEvents (/$bunfs/root/src/entrypoints/cli.js:405:2574)\n at async doExport (/$bunfs/root/src/entrypoints/cli.js:405:1516)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T17:58:34.862Z"},{"error":"Error: {"message":"Failed to export 71 events (code=ECONNABORTED, timeout of 10000ms exceeded)","originalLine":"405","originalColumn":"1668","line":"405","column":"1668","sourceURL":"/$bunfs/root/src/entrypoints/cli.js","stack":"Error: Failed to export 71 events (code=ECONNABORTED, timeout of 10000ms exceeded)\n at doExport (/$bunfs/root/src/entrypoints/cli.js:405:1668)\n at processTicksAndRejections (native:7:39)","name":"Error"}\n at error (/$bunfs/root/src/entrypoints/cli.js:2789:4366)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:399:36791)\n at $f4 (/$bunfs/root/src/entrypoints/cli.js:399:37335)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:400:19103)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T17:58:34.862Z"}]

Code Example

[{"error":"Error: 1P event logging: 71 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n    at queueFailedEvents (/$bunfs/root/src/entrypoints/cli.js:405:2574)\n    at async doExport (/$bunfs/root/src/entrypoints/cli.js:405:1516)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T17:58:34.862Z"},{"error":"Error: {\"message\":\"Failed to export 71 events (code=ECONNABORTED, timeout of 10000ms exceeded)\",\"originalLine\":\"405\",\"originalColumn\":\"1668\",\"line\":\"405\",\"column\":\"1668\",\"sourceURL\":\"/$bunfs/root/src/entrypoints/cli.js\",\"stack\":\"Error: Failed to export 71 events (code=ECONNABORTED, timeout of 10000ms exceeded)\\n    at doExport (/$bunfs/root/src/entrypoints/cli.js:405:1668)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/src/entrypoints/cli.js:2789:4366)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:399:36791)\n    at $f4 (/$bunfs/root/src/entrypoints/cli.js:399:37335)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:400:19103)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T17:58:34.862Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description please add an option to hide MCP call info, or to collapse it even further. The collapsed version that exists today still floods the terminal with noise, making it hard to see Claude's actual responses.

Environment Info

  • Platform: darwin
  • Terminal: zed
  • Version: 2.1.87
  • Feedback ID: 7370ec9c-1838-42cc-9fe2-ed0d0c7f69c4

Errors

[{"error":"Error: 1P event logging: 71 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n    at queueFailedEvents (/$bunfs/root/src/entrypoints/cli.js:405:2574)\n    at async doExport (/$bunfs/root/src/entrypoints/cli.js:405:1516)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T17:58:34.862Z"},{"error":"Error: {\"message\":\"Failed to export 71 events (code=ECONNABORTED, timeout of 10000ms exceeded)\",\"originalLine\":\"405\",\"originalColumn\":\"1668\",\"line\":\"405\",\"column\":\"1668\",\"sourceURL\":\"/$bunfs/root/src/entrypoints/cli.js\",\"stack\":\"Error: Failed to export 71 events (code=ECONNABORTED, timeout of 10000ms exceeded)\\n    at doExport (/$bunfs/root/src/entrypoints/cli.js:405:1668)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/src/entrypoints/cli.js:2789:4366)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:399:36791)\n    at $f4 (/$bunfs/root/src/entrypoints/cli.js:399:37335)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:400:19103)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T17:58:34.862Z"}]

extent analysis

TL;DR

To address the issue of excessive logging noise, consider implementing an option to hide or further collapse MCP call information in the terminal output.

Guidance

  • Investigate the cli.js file, specifically lines 405 and 2789, to understand the logging mechanism and potential points for modification.
  • Review the error messages to determine if the ECONNABORTED error is related to the logging issue or a separate problem.
  • Consider adding a feature to filter or suppress specific log messages, such as those related to MCP call info, to reduce noise in the terminal output.
  • Look into increasing the timeout value (currently 10000ms) to see if it alleviates the ECONNABORTED error, although this may not directly address the logging noise issue.

Example

No specific code example can be provided without more context, but the general approach would involve modifying the logging functions in cli.js to include conditional statements or filters for suppressing certain log messages.

Notes

The provided error messages suggest a potential issue with event logging, but it's unclear if this is directly related to the request for hiding MCP call info. Further investigation is needed to determine the best approach.

Recommendation

Apply a workaround by modifying the logging mechanism to filter out MCP call info, as the root cause of the issue is not entirely clear from the provided information.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING