Skip to content

[MCP Server]: MCP Server .exe is not code signed #14861

@xantari

Description

@xantari

Issue Type

Bug

MCP Server Package Version

1.2.3

.NET Version

.NET 10.0

Environment

  • Visual Studio
  • VS Code
  • GitHub Copilot Coding Agent
  • CLI
  • Other (please specify below)

If "Other", please specify

No response

Prompt or Input

Starting the MCP server is not possible in high security environments where applications are whitelisted via AppLocker.

The root of the issue is that the following .exe is not code signed with any certificate.

C:\Users\testprofile\.nuget\packages\nuget.mcp.server.win-x64\1.2.3\tools/net10.0/win-x64/NuGet.Mcp.Server.exe

Expected Response

The nuget.mcp.server.exe should be code signed with a certificate and run without error after we whitelist that certificate.

Actual Response

Currently unable to whitelist this application because the certificate is missing.

Additional Context or Description

2026-04-16 07:21:22.711 [info] Starting server com.microsoft/nuget
2026-04-16 07:21:22.711 [info] Connection state: Starting
2026-04-16 07:21:22.712 [info] Starting server from LocalProcess extension host
2026-04-16 07:21:22.731 [info] Connection state: Starting
2026-04-16 07:21:22.731 [info] Connection state: Running
2026-04-16 07:21:23.681 [warning] [server stderr] Unhandled exception: An error occurred trying to start process 'C:\Users\testprofile\.nuget\packages\nuget.mcp.server.win-x64\1.2.3\tools/net10.0/win-x64/NuGet.Mcp.Server.exe' with working directory 'C:\Users\testprofile'. This program is blocked by group policy. For more information, contact your system administrator.
2026-04-16 07:21:23.741 [info] Connection state: Error Process exited with code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority:1High priority issues that must be resolved in the current sprint.Product:MCPServerThe Model Context Protocol (MCP) ServerType:Bug

    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