Skip to content

Method not found error in Visual Studio 2026 #448

@gary-trafford

Description

@gary-trafford

Describe the bug

I created a mcp json file as per instructions and was using it fine in Visual Studio 2022. But I just updated to 2026, and now it gives this error when trying to connect. Request failed (remote): Method not found.

Steps to reproduce

Create a .mcp.jsoin file as per VS Code instructions here https://developer.smartbear.com/smartbear-mcp/docs/getting-started. Open the file in Visual Stuido and click on configure, enter the required API and access tokens and then try to connect.

Environment

  • IDE: Visual Studio 2026: Professional

Output Error Message

[Conversations Information] [Conversations] Operation 209a5387-6315-4dc2-924b-5bd30bc9c9dc Start; Starting MCP client for server 'smartbear'
[Conversations Information] [Conversations] Operation 209a5387-6315-4dc2-924b-5bd30bc9c9dc End; Result: Success; Successfully started MCP server 'smartbear'
[Conversations Error] [Conversations] Transition effects failed during (Failed) for server 'smartbear': ModelContextProtocol.McpException: Request failed (remote): Method not found
at ModelContextProtocol.McpSession.SendRequestAsync(JsonRpcRequest request, CancellationToken cancellationToken)
at ModelContextProtocol.McpEndpointExtensions.SendRequestAsync[TParameters,TResult](IMcpEndpoint endpoint, String method, TParameters parameters, JsonTypeInfo1 parametersTypeInfo, JsonTypeInfo1 resultTypeInfo, RequestId requestId, CancellationToken cancellationToken)
at ModelContextProtocol.Client.McpClientExtensions.ListPromptsAsync(IMcpClient client, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Conversations.Service.Mcp.DefaultAssetLoader.LoadPromptsAsync(AssetLoaderContext ctx, IMcpClient client, CancellationToken ct) in D:\dbs\el\ddvsm\src\Copilot\src\Copilot.Service\Mcp\Lifecycle\AssetLoader.cs:line 124
at Microsoft.VisualStudio.Conversations.Service.Mcp.DefaultAssetLoader.LoadAllAsync(AssetLoaderContext context, IMcpClient client, CancellationToken ct) in D:\dbs\el\ddvsm\src\Copilot\src\Copilot.Service\Mcp\Lifecycle\AssetLoader.cs:line 68
at Microsoft.VisualStudio.Conversations.Service.Mcp.Lifecycle.LoadActiveAssetsEffect.ExecuteAsync(LifecycleDependencies ctx, TransitionState state, CancellationToken ct) in D:\dbs\el\ddvsm\src\Copilot\src\Copilot.Service\Mcp\Lifecycle\TransitionSideEffects\LoadActiveAssetsEffect.cs:line 32
at Microsoft.VisualStudio.Conversations.Service.Mcp.Lifecycle.LifecycleExecutor.ExecuteAsync(TransitionResult transition, ServerContext serverContext, IMcpClient currentClient, LifecycleDependencies deps, CancellationToken ct) in D:\dbs\el\ddvsm\src\Copilot\src\Copilot.Service\Mcp\Lifecycle\LifecycleExecutor.cs:line 61

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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