Describe the bug
When using the github-pull-request_create_pull_request tool from the VS Code GitHub Pull Requests extension (which internally calls the GitHub MCP Server), the operation succeeds and returns the created PR data, but immediately after, an error dialog appears:
Error loading MCP App: MPC -32002: Resource not found
The PR is actually created successfully (confirmed by visiting the returned URL), but the MCP server throws a JSON-RPC error (-32002) when attempting to load or resolve a resource after the creation call completes.
Affected version
Environment:
- VS Code Insiders (May 2026)
- OS: Windows
- MCP integration: VS Code built-in MCP support
- The MCP server version is managed by VS Code — not running via Docker
- Docker version check failed with exit code 1 (image not available locally)
Steps to reproduce the behavior
- Open a VS Code workspace connected to a GitHub repository (e.g.,
microsoft/testfx)
- Push a branch to GitHub
- Use an AI agent tool that calls
github-pull-request_create_pull_request (or the equivalent mcp_io_github_git_create_pull_request) to create a pull request
- The PR is created successfully and the tool returns
{"id":"...","url":"https://github.com/..."}
- An error dialog appears:
Error loading MCP App: MPC -32002: Resource not found
Expected vs actual behavior
Expected: The PR creation completes without errors. No error dialog should appear.
Actual: The PR is created successfully, but a MPC -32002: Resource not found error dialog is shown immediately after. This suggests the MCP server is trying to resolve a resource (possibly a notification or follow-up resource lookup) that doesn't exist or isn't registered.
Logs
Error loading MCP App: MPC -32002: Resource not found
No additional stack trace was surfaced in the VS Code UI.
Describe the bug
When using the
github-pull-request_create_pull_requesttool from the VS Code GitHub Pull Requests extension (which internally calls the GitHub MCP Server), the operation succeeds and returns the created PR data, but immediately after, an error dialog appears:Error loading MCP App: MPC -32002: Resource not foundThe PR is actually created successfully (confirmed by visiting the returned URL), but the MCP server throws a JSON-RPC error (-32002) when attempting to load or resolve a resource after the creation call completes.
Affected version
Environment:
Steps to reproduce the behavior
microsoft/testfx)github-pull-request_create_pull_request(or the equivalentmcp_io_github_git_create_pull_request) to create a pull request{"id":"...","url":"https://github.com/..."}Error loading MCP App: MPC -32002: Resource not foundExpected vs actual behavior
Expected: The PR creation completes without errors. No error dialog should appear.
Actual: The PR is created successfully, but a
MPC -32002: Resource not founderror dialog is shown immediately after. This suggests the MCP server is trying to resolve a resource (possibly a notification or follow-up resource lookup) that doesn't exist or isn't registered.Logs
Error loading MCP App: MPC -32002: Resource not found
No additional stack trace was surfaced in the VS Code UI.