[BUG]
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When an existing session is selected in VSCODE claude plugin it encounters the following error.
[ERROR] MCP server "claude-vscode" Failed to fetch tools: MCP error -32601: Method not found
- Version: 2.1.29
- Error: MCP error -32601: Method not found on tools/list
- Trigger: Selecting an existing session
Notes:
This might have been caused by accidentally starting Claude CLI and VSCode at the same time, and interrupting the Claude CLI before its initialization was complete.
What Should Happen?
When VSCODE starts and automatically selects the previous Claude session, It should load the session history and start without errors.
Error Messages/Logs
[ERROR] MCP server "claude-vscode" Failed to fetch tools: MCP error -32601: Method not found
Steps to Reproduce
- Start Claude CLI in a project folder
- Immediately start VSCode in the same folder
- Yell Oops, and quickly hit Ctrl-C in the Claude CLI window.
- VSCode crashes
- Start Claude CLI and paste the error, and follow suggestions: reload the extension, ...
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.29
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗