[Bug] Claude stops functioning autonomously at 300K tokens, requests session closure and truncates responses

Resolved 💬 3 comments Opened Apr 16, 2026 by Pichardescu Closed Apr 20, 2026

Bug Description
A los 300 K tokens Claude deja de ser autónomo y pide cerrar la sesión constantemente, es imposible trabajar o hacer las cosas bien pues recorta sus respuestas y tiempo de procesamiento.

Environment Info

  • Platform: win32
  • Terminal: null
  • Version: 2.1.90
  • Feedback ID: fdc4fbb9-cbee-4e02-b419-a9956929aca2

Errors

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at YMH (B:/~BUN/root/src/entrypoints/cli.js:1594:34041)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T14:19:40.128Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at YMH (B:/~BUN/root/src/entrypoints/cli.js:1594:34041)\n    at async L (B:/~BUN/root/src/entrypoints/cli.js:5936:10285)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T14:19:42.299Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at YMH (B:/~BUN/root/src/entrypoints/cli.js:1594:34041)\n    at async T (B:/~BUN/root/src/entrypoints/cli.js:5936:11055)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T14:19:42.300Z"}]

View original on GitHub ↗

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