[Feature Request] Add method to clear MCP tools context

Resolved 💬 4 comments Opened Aug 28, 2025 by zaqwery Closed Jan 4, 2026

Bug Description
Is there a way to clear MCP tools context?\
I run '/doctor' and got:\
\

/doctor

Diagnostics
└ Currently running: npm-local (1.0.95)
└ Path: ~/.nvm/versions/node/v20.17.0/bin/node
└ Invoked: ~/.claude/local/node_modules/.bin/claude
└ Config install method: local
└ Auto-updates enabled: true
└ Search: OK (vendor)

Context Usage Warnings
└ ⚠ Large MCP tools context (~116,983 tokens > 25,000)
└ MCP servers:
└ github: 80 tools (~40,614 tokens)
└ XcodeBuildMCP: 58 tools (~32,944 tokens)
└ sentry: 19 tools (~16,974 tokens)
└ firebase: 22 tools (~10,834 tokens)
└ dart: 17 tools (~9,754 tokens)
└ (1 more servers)

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 1.0.95
  • Feedback ID: 19f5c17d-7a4d-450e-b85c-1c921bc3c22e

Errors

[{"error":"Error: Request was aborted.\n    at DP.makeRequest (file:///Users/zaqwery/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:943:3864)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-08-28T02:11:32.567Z"}]

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗