Skip to content

[vscode] Error loading MCP App: MPC -32002: Resource not found #2467

@Evangelink

Description

@Evangelink

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

  1. Open a VS Code workspace connected to a GitHub repository (e.g., microsoft/testfx)
  2. Push a branch to GitHub
  3. 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
  4. The PR is created successfully and the tool returns {"id":"...","url":"https://github.com/..."}
  5. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions