claude-code - 💡(How to fix) Fix [Bug] Advisor token count increases immediately on message send [1 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#48267Fetched 2026-04-16 07:04:41
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×3

Error Message

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at $DH (B:/~BUN/root/src/entrypoints/cli.js:1755:33986)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T02:34:54.861Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at $DH (B:/~BUN/root/src/entrypoints/cli.js:1755:33986)\n at async G (B:/~BUN/root/src/entrypoints/cli.js:6027:10916)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T02:34:57.325Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at $DH (B:/~BUN/root/src/entrypoints/cli.js:1755:33986)\n at async V (B:/~BUN/root/src/entrypoints/cli.js:6027:11711)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T02:34:57.326Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at $DH (B:/~BUN/root/src/entrypoints/cli.js:1755:33986)\n at async G (B:/~BUN/root/src/entrypoints/cli.js:6027:10916)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T02:35:28.995Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at $DH (B:/~BUN/root/src/entrypoints/cli.js:1755:33986)\n at async V (B:/~BUN/root/src/entrypoints/cli.js:6027:11711)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T02:35:28.996Z"},{"error":"Error: ensureToolResultPairing: repaired missing tool_result blocks (153 -> 153 messages). Message structure: [0] user; [1] assistant(id=msg_019C9mjWNCwyi6ugSuojRujQ, tool_uses=[toolu_01U5AasTSGUbkyBaVGeq87Tq,toolu_01K4fGAMVqBz1RgK9xcgvVpa]); [2] user(tool_results=[toolu_01U5AasTSGUbkyBaVGeq87Tq,toolu_01K4fGAMVqBz1RgK9xcgvVpa]); [3] assistant(id=msg_0136ZsvwRRGYQ52acqDrkMGD, tool_uses=[toolu_01Dh5RadEgXDbSugx95eu3RY,toolu_016gzCDvk6GosRN2hZqSFH58,toolu_01FPZN4JQ8JuKSTRvem1Gux1,toolu_0124J89zXGTdX6psw7jCyKHE,toolu_01XHVuKDV9nxsZaSF9PrDTEY,toolu_01UYefPzJP45kKSSmttonLat,toolu_01CST3QMC9PQxXVC1NQittLF,toolu_011EFRj8Tx5kTW3eaUpd6rdm]); [4] user(tool_results=[toolu_01Dh5RadEgXDbSugx95eu3RY,toolu_016gzCDvk6GosRN2hZqSFH58,toolu_01FPZN4JQ8JuKSTRvem1Gux1,toolu_0124J89zXGTdX6psw7jCyKHE,toolu_01XHVuKDV9nxsZaSF9PrDTEY,toolu_01CST3QMC9PQxXVC1NQittLF,toolu_01UYefPzJP45kKSSmttonLat,toolu_011EFRj8Tx5kTW3eaUpd6rdm]); [5] assistant(id=msg_011zxFLk9jVKDKHoBo9hFiYB, tool_uses=[toolu_012RzpwNcWSYNqk8EvvxRQ5L]); [6] user(tool_results=[toolu_012RzpwNcWSYNqk8EvvxRQ5L]); [7] assistant(id=msg_01Kys8QZbHKZUg4Zrpr8cke2, tool_uses=[toolu_01T6unVr3NLewdNtpJXhJsEG]); [8] user(tool_results=[toolu_01T6unVr3NLewdNtpJXhJsEG]); [9] assistant(id=msg_01RgFhb79dTa21QHsnLUczNS, tool_uses=[]); [10] user; [11] assistant(id=msg_01FDpP2mNphmYQuNq3yXPNkK, tool_uses=[]); [12] user; [13] assistant(id=msg_01TTvt2c8CCfMuYgsGBpzzXq, tool_uses=[toolu_01TKsC2UcczgmFjDkVuTLzDz]); [14] user(tool_results=[toolu_01TKsC2UcczgmFjDkVuTLzDz]); [15] assistant(id=msg_01S3jdCc3eWox73QSHP1LNKM, tool_uses=[toolu_0184UHZi9GGr2oSWUyMhYxyu,toolu_014FcYuThhQqzGXD6TXtT496,toolu_017tujm1XxuPK5sPb1kTSa4g,toolu_01NqG5P2sCciKAyvpNYpYQQ1]); [16] user(tool_results=[toolu_0184UHZi9GGr2oSWUyMhYxyu,toolu_014FcYuThhQqzGXD6TXtT496,toolu_017tujm1XxuPK5sPb1kTSa4g,toolu_01NqG5P2sCciKAyvpNYpYQQ1]); [17] assistant(id=msg_017CcjtkQCfGAWuErQwgNMEa, tool_uses=[toolu_01STgXNBGano1hACa5k9oDEV,toolu_01WQJF88xXc46cdLByfSNhNF,toolu_01QpQCurnYm3VZEdpPPhGY2o], server_tool_uses=[srvtoolu_01KRTAEQXyc5JVv5AwPfjtmx]); [18] user(tool_results=[toolu_01STgXNBGano1hACa5k9oDEV,toolu_01WQJF88xXc46cdLByfSNhNF,toolu_01QpQCurnYm3VZEdpPPhGY2o]); [19] assistant(id=msg_017PeSu7zYMHivHyW5nymwLL, tool_uses=[toolu_01FoFzc4XyzrvDjnhcb3WxDr,toolu_01FBUaviA49euoXSVyiJtNk9,toolu_01UHkrE7bYTpvL8YW3CfWYzT]); [20] user(tool_results=[toolu_01FoFzc4XyzrvDjnhcb3WxDr,toolu_01FBUaviA49euoXSVyiJtNk9,toolu_01UHkrE7bYTpvL8YW3CfWYzT]); [21] assistant(id=msg_01WFYKr3SRphyrBLgpa4qNNs, tool_uses=[toolu_011D5KnRgpmjGa7u5KZU4Vd3,toolu_01YWHM6tX5iUA5ejuKk77vg9,toolu_01TYdDZAkcFPPg3nKHwS6Hez]); [22] user(tool_results=[toolu_011D5KnRgpmjGa7u5KZU4Vd3,toolu_01TYdDZAkcFPPg3nKHwS6Hez,toolu_01YWHM6tX5iUA5ejuKk77vg9]); [23] assistant(id=msg_01H7GhG6FU8A9EnPmwCGNkq7, tool_uses=[toolu_01PYQSfCXV743Ls2Bj5ifQ5P,toolu_014KnTeYDs68czBMmmQZ8XJS,toolu_01Xt4DCXxzKxo6X8nD3xdMv9]); [24] user(tool_results=[toolu_01PYQSfCXV743Ls2Bj5ifQ5P,toolu_014KnTeYDs68czBMmmQZ8XJS,toolu_01Xt4DCXxzKxo6X8nD3xdMv9]); [25] assistant(id=msg_01ToQ8Jf66yWvbFBkSGJ26uz, tool_uses=[toolu_01GnJAhUagtrfoDDoAD5sXeS]); [26] user(tool_results=[toolu_01GnJAhUagtrfoDDoAD5sXeS]); [27] assistant(id=msg_01FZeeMcbvzLXR6VPX1BPH3H, tool_uses=[toolu_01QwcYLUpLgPPYnVMrhHb5bu,toolu_01QP55PM78rZ9SREuPjz151Y]); [28] user(tool_results=[toolu_01QwcYLUpLgPPYnVMrhHb5bu,toolu_01QP55PM78rZ9SREuPjz151Y]); [29] assistant(id=msg_01W61RDxX2HvTQLnUD5szKgc, tool_uses=[toolu_01UP6FfX9bQWYGgbKWQNMrz9,toolu_01PB3nV8R3Pcn8D9LjBBmrPC,toolu_01Q7MZL9…

Code Example

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at $DH (B:/~BUN/root/src/entrypoints/cli.js:1755:33986)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T02:34:54.861Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at $DH (B:/~BUN/root/src/entrypoints/cli.js:1755:33986)\n    at async G (B:/~BUN/root/src/entrypoints/cli.js:6027:10916)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T02:34:57.325Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at $DH (B:/~BUN/root/src/entrypoints/cli.js:1755:33986)\n    at async V (B:/~BUN/root/src/entrypoints/cli.js:6027:11711)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T02:34:57.326Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at $DH (B:/~BUN/root/src/entrypoints/cli.js:1755:33986)\n    at async G (B:/~BUN/root/src/entrypoints/cli.js:6027:10916)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T02:35:28.995Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at $DH (B:/~BUN/root/src/entrypoints/cli.js:1755:33986)\n    at async V (B:/~BUN/root/src/entrypoints/cli.js:6027:11711)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T02:35:28.996Z"},{"error":"Error: ensureToolResultPairing: repaired missing tool_result blocks (153 -> 153 messages). Message structure: [0] user; [1] assistant(id=msg_019C9mjWNCwyi6ugSuojRujQ, tool_uses=[toolu_01U5AasTSGUbkyBaVGeq87Tq,toolu_01K4fGAMVqBz1RgK9xcgvVpa]); [2] user(tool_results=[toolu_01U5AasTSGUbkyBaVGeq87Tq,toolu_01K4fGAMVqBz1RgK9xcgvVpa]); [3] assistant(id=msg_0136ZsvwRRGYQ52acqDrkMGD, tool_uses=[toolu_01Dh5RadEgXDbSugx95eu3RY,toolu_016gzCDvk6GosRN2hZqSFH58,toolu_01FPZN4JQ8JuKSTRvem1Gux1,toolu_0124J89zXGTdX6psw7jCyKHE,toolu_01XHVuKDV9nxsZaSF9PrDTEY,toolu_01UYefPzJP45kKSSmttonLat,toolu_01CST3QMC9PQxXVC1NQittLF,toolu_011EFRj8Tx5kTW3eaUpd6rdm]); [4] user(tool_results=[toolu_01Dh5RadEgXDbSugx95eu3RY,toolu_016gzCDvk6GosRN2hZqSFH58,toolu_01FPZN4JQ8JuKSTRvem1Gux1,toolu_0124J89zXGTdX6psw7jCyKHE,toolu_01XHVuKDV9nxsZaSF9PrDTEY,toolu_01CST3QMC9PQxXVC1NQittLF,toolu_01UYefPzJP45kKSSmttonLat,toolu_011EFRj8Tx5kTW3eaUpd6rdm]); [5] assistant(id=msg_011zxFLk9jVKDKHoBo9hFiYB, tool_uses=[toolu_012RzpwNcWSYNqk8EvvxRQ5L]); [6] user(tool_results=[toolu_012RzpwNcWSYNqk8EvvxRQ5L]); [7] assistant(id=msg_01Kys8QZbHKZUg4Zrpr8cke2, tool_uses=[toolu_01T6unVr3NLewdNtpJXhJsEG]); [8] user(tool_results=[toolu_01T6unVr3NLewdNtpJXhJsEG]); [9] assistant(id=msg_01RgFhb79dTa21QHsnLUczNS, tool_uses=[]); [10] user; [11] assistant(id=msg_01FDpP2mNphmYQuNq3yXPNkK, tool_uses=[]); [12] user; [13] assistant(id=msg_01TTvt2c8CCfMuYgsGBpzzXq, tool_uses=[toolu_01TKsC2UcczgmFjDkVuTLzDz]); [14] user(tool_results=[toolu_01TKsC2UcczgmFjDkVuTLzDz]); [15] assistant(id=msg_01S3jdCc3eWox73QSHP1LNKM, tool_uses=[toolu_0184UHZi9GGr2oSWUyMhYxyu,toolu_014FcYuThhQqzGXD6TXtT496,toolu_017tujm1XxuPK5sPb1kTSa4g,toolu_01NqG5P2sCciKAyvpNYpYQQ1]); [16] user(tool_results=[toolu_0184UHZi9GGr2oSWUyMhYxyu,toolu_014FcYuThhQqzGXD6TXtT496,toolu_017tujm1XxuPK5sPb1kTSa4g,toolu_01NqG5P2sCciKAyvpNYpYQQ1]); [17] assistant(id=msg_017CcjtkQCfGAWuErQwgNMEa, tool_uses=[toolu_01STgXNBGano1hACa5k9oDEV,toolu_01WQJF88xXc46cdLByfSNhNF,toolu_01QpQCurnYm3VZEdpPPhGY2o], server_tool_uses=[srvtoolu_01KRTAEQXyc5JVv5AwPfjtmx]); [18] user(tool_results=[toolu_01STgXNBGano1hACa5k9oDEV,toolu_01WQJF88xXc46cdLByfSNhNF,toolu_01QpQCurnYm3VZEdpPPhGY2o]); [19] assistant(id=msg_017PeSu7zYMHivHyW5nymwLL, tool_uses=[toolu_01FoFzc4XyzrvDjnhcb3WxDr,toolu_01FBUaviA49euoXSVyiJtNk9,toolu_01UHkrE7bYTpvL8YW3CfWYzT]); [20] user(tool_results=[toolu_01FoFzc4XyzrvDjnhcb3WxDr,toolu_01FBUaviA49euoXSVyiJtNk9,toolu_01UHkrE7bYTpvL8YW3CfWYzT]); [21] assistant(id=msg_01WFYKr3SRphyrBLgpa4qNNs, tool_uses=[toolu_011D5KnRgpmjGa7u5KZU4Vd3,toolu_01YWHM6tX5iUA5ejuKk77vg9,toolu_01TYdDZAkcFPPg3nKHwS6Hez]); [22] user(tool_results=[toolu_011D5KnRgpmjGa7u5KZU4Vd3,toolu_01TYdDZAkcFPPg3nKHwS6Hez,toolu_01YWHM6tX5iUA5ejuKk77vg9]); [23] assistant(id=msg_01H7GhG6FU8A9EnPmwCGNkq7, tool_uses=[toolu_01PYQSfCXV743Ls2Bj5ifQ5P,toolu_014KnTeYDs68czBMmmQZ8XJS,toolu_01Xt4DCXxzKxo6X8nD3xdMv9]); [24] user(tool_results=[toolu_01PYQSfCXV743Ls2Bj5ifQ5P,toolu_014KnTeYDs68czBMmmQZ8XJS,toolu_01Xt4DCXxzKxo6X8nD3xdMv9]); [25] assistant(id=msg_01ToQ8Jf66yWvbFBkSGJ26uz, tool_uses=[toolu_01GnJAhUagtrfoDDoAD5sXeS]); [26] user(tool_results=[toolu_01GnJAhUagtrfoDDoAD5sXeS]); [27] assistant(id=msg_01FZeeMcbvzLXR6VPX1BPH3H, tool_uses=[toolu_01QwcYLUpLgPPYnVMrhHb5bu,toolu_01QP55PM78rZ9SREuPjz151Y]); [28] user(tool_results=[toolu_01QwcYLUpLgPPYnVMrhHb5bu,toolu_01QP55PM78rZ9SREuPjz151Y]); [29] assistant(id=msg_01W61RDxX2HvTQLnUD5szKgc, tool_uses=[toolu_01UP6FfX9bQWYGgbKWQNMrz9,toolu_01PB3nV8R3Pcn8D9LjBBmrPC,toolu_01Q7MZL9…
RAW_BUFFERClick to expand / collapse

Bug Description Advisor seems to increase immediately

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.1.107
  • Feedback ID: b572977d-c4b9-4958-b836-82a1365cb24b

Errors

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at $DH (B:/~BUN/root/src/entrypoints/cli.js:1755:33986)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T02:34:54.861Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at $DH (B:/~BUN/root/src/entrypoints/cli.js:1755:33986)\n    at async G (B:/~BUN/root/src/entrypoints/cli.js:6027:10916)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T02:34:57.325Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at $DH (B:/~BUN/root/src/entrypoints/cli.js:1755:33986)\n    at async V (B:/~BUN/root/src/entrypoints/cli.js:6027:11711)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T02:34:57.326Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at $DH (B:/~BUN/root/src/entrypoints/cli.js:1755:33986)\n    at async G (B:/~BUN/root/src/entrypoints/cli.js:6027:10916)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T02:35:28.995Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at $DH (B:/~BUN/root/src/entrypoints/cli.js:1755:33986)\n    at async V (B:/~BUN/root/src/entrypoints/cli.js:6027:11711)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T02:35:28.996Z"},{"error":"Error: ensureToolResultPairing: repaired missing tool_result blocks (153 -> 153 messages). Message structure: [0] user; [1] assistant(id=msg_019C9mjWNCwyi6ugSuojRujQ, tool_uses=[toolu_01U5AasTSGUbkyBaVGeq87Tq,toolu_01K4fGAMVqBz1RgK9xcgvVpa]); [2] user(tool_results=[toolu_01U5AasTSGUbkyBaVGeq87Tq,toolu_01K4fGAMVqBz1RgK9xcgvVpa]); [3] assistant(id=msg_0136ZsvwRRGYQ52acqDrkMGD, tool_uses=[toolu_01Dh5RadEgXDbSugx95eu3RY,toolu_016gzCDvk6GosRN2hZqSFH58,toolu_01FPZN4JQ8JuKSTRvem1Gux1,toolu_0124J89zXGTdX6psw7jCyKHE,toolu_01XHVuKDV9nxsZaSF9PrDTEY,toolu_01UYefPzJP45kKSSmttonLat,toolu_01CST3QMC9PQxXVC1NQittLF,toolu_011EFRj8Tx5kTW3eaUpd6rdm]); [4] user(tool_results=[toolu_01Dh5RadEgXDbSugx95eu3RY,toolu_016gzCDvk6GosRN2hZqSFH58,toolu_01FPZN4JQ8JuKSTRvem1Gux1,toolu_0124J89zXGTdX6psw7jCyKHE,toolu_01XHVuKDV9nxsZaSF9PrDTEY,toolu_01CST3QMC9PQxXVC1NQittLF,toolu_01UYefPzJP45kKSSmttonLat,toolu_011EFRj8Tx5kTW3eaUpd6rdm]); [5] assistant(id=msg_011zxFLk9jVKDKHoBo9hFiYB, tool_uses=[toolu_012RzpwNcWSYNqk8EvvxRQ5L]); [6] user(tool_results=[toolu_012RzpwNcWSYNqk8EvvxRQ5L]); [7] assistant(id=msg_01Kys8QZbHKZUg4Zrpr8cke2, tool_uses=[toolu_01T6unVr3NLewdNtpJXhJsEG]); [8] user(tool_results=[toolu_01T6unVr3NLewdNtpJXhJsEG]); [9] assistant(id=msg_01RgFhb79dTa21QHsnLUczNS, tool_uses=[]); [10] user; [11] assistant(id=msg_01FDpP2mNphmYQuNq3yXPNkK, tool_uses=[]); [12] user; [13] assistant(id=msg_01TTvt2c8CCfMuYgsGBpzzXq, tool_uses=[toolu_01TKsC2UcczgmFjDkVuTLzDz]); [14] user(tool_results=[toolu_01TKsC2UcczgmFjDkVuTLzDz]); [15] assistant(id=msg_01S3jdCc3eWox73QSHP1LNKM, tool_uses=[toolu_0184UHZi9GGr2oSWUyMhYxyu,toolu_014FcYuThhQqzGXD6TXtT496,toolu_017tujm1XxuPK5sPb1kTSa4g,toolu_01NqG5P2sCciKAyvpNYpYQQ1]); [16] user(tool_results=[toolu_0184UHZi9GGr2oSWUyMhYxyu,toolu_014FcYuThhQqzGXD6TXtT496,toolu_017tujm1XxuPK5sPb1kTSa4g,toolu_01NqG5P2sCciKAyvpNYpYQQ1]); [17] assistant(id=msg_017CcjtkQCfGAWuErQwgNMEa, tool_uses=[toolu_01STgXNBGano1hACa5k9oDEV,toolu_01WQJF88xXc46cdLByfSNhNF,toolu_01QpQCurnYm3VZEdpPPhGY2o], server_tool_uses=[srvtoolu_01KRTAEQXyc5JVv5AwPfjtmx]); [18] user(tool_results=[toolu_01STgXNBGano1hACa5k9oDEV,toolu_01WQJF88xXc46cdLByfSNhNF,toolu_01QpQCurnYm3VZEdpPPhGY2o]); [19] assistant(id=msg_017PeSu7zYMHivHyW5nymwLL, tool_uses=[toolu_01FoFzc4XyzrvDjnhcb3WxDr,toolu_01FBUaviA49euoXSVyiJtNk9,toolu_01UHkrE7bYTpvL8YW3CfWYzT]); [20] user(tool_results=[toolu_01FoFzc4XyzrvDjnhcb3WxDr,toolu_01FBUaviA49euoXSVyiJtNk9,toolu_01UHkrE7bYTpvL8YW3CfWYzT]); [21] assistant(id=msg_01WFYKr3SRphyrBLgpa4qNNs, tool_uses=[toolu_011D5KnRgpmjGa7u5KZU4Vd3,toolu_01YWHM6tX5iUA5ejuKk77vg9,toolu_01TYdDZAkcFPPg3nKHwS6Hez]); [22] user(tool_results=[toolu_011D5KnRgpmjGa7u5KZU4Vd3,toolu_01TYdDZAkcFPPg3nKHwS6Hez,toolu_01YWHM6tX5iUA5ejuKk77vg9]); [23] assistant(id=msg_01H7GhG6FU8A9EnPmwCGNkq7, tool_uses=[toolu_01PYQSfCXV743Ls2Bj5ifQ5P,toolu_014KnTeYDs68czBMmmQZ8XJS,toolu_01Xt4DCXxzKxo6X8nD3xdMv9]); [24] user(tool_results=[toolu_01PYQSfCXV743Ls2Bj5ifQ5P,toolu_014KnTeYDs68czBMmmQZ8XJS,toolu_01Xt4DCXxzKxo6X8nD3xdMv9]); [25] assistant(id=msg_01ToQ8Jf66yWvbFBkSGJ26uz, tool_uses=[toolu_01GnJAhUagtrfoDDoAD5sXeS]); [26] user(tool_results=[toolu_01GnJAhUagtrfoDDoAD5sXeS]); [27] assistant(id=msg_01FZeeMcbvzLXR6VPX1BPH3H, tool_uses=[toolu_01QwcYLUpLgPPYnVMrhHb5bu,toolu_01QP55PM78rZ9SREuPjz151Y]); [28] user(tool_results=[toolu_01QwcYLUpLgPPYnVMrhHb5bu,toolu_01QP55PM78rZ9SREuPjz151Y]); [29] assistant(id=msg_01W61RDxX2HvTQLnUD5szKgc, tool_uses=[toolu_01UP6FfX9bQWYGgbKWQNMrz9,toolu_01PB3nV8R3Pcn8D9LjBBmrPC,toolu_01Q7MZL9…

Note: Content was truncated.

extent analysis

TL;DR

The most likely fix is to set the missing GITHUB_PERSONAL_ACCESS_TOKEN environment variable.

Guidance

  • The error messages indicate a missing GITHUB_PERSONAL_ACCESS_TOKEN environment variable, which is required for the MCP server to function correctly.
  • To fix this, you need to set the GITHUB_PERSONAL_ACCESS_TOKEN environment variable with a valid GitHub personal access token.
  • You can do this by adding the token to your system's environment variables or by setting it in your application's configuration files.
  • After setting the environment variable, restart your application to ensure the changes take effect.

Example

No code snippet is provided as the issue is related to environment variable configuration.

Notes

The provided error messages are truncated, but the repeated mention of GITHUB_PERSONAL_ACCESS_TOKEN suggests that this is the primary cause of the issue. Ensure that the token is correctly set and has the necessary permissions to access the required GitHub resources.

Recommendation

Apply workaround: Set the GITHUB_PERSONAL_ACCESS_TOKEN environment variable with a valid GitHub personal access token to resolve the issue.

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

claude-code - 💡(How to fix) Fix [Bug] Advisor token count increases immediately on message send [1 participants]