Skip to content

Build fails on fresh clone — ServeCommand.ExecuteAsync access modifier conflict #23

@Trobeloo

Description

@Trobeloo

Hi,

First, thank you for this project — mcp-aggregator solves a real pain point with MCP server sprawl across multiple devices and clients. Great work!

Issue

The project fails to build on a fresh clone with the following error in both McpAggregator.HttpServer and McpAggregator.StdioServer:

error CS0507: 'ServeCommand.ExecuteAsync(CommandContext, ServeSettings, CancellationToken)':
cannot change access modifiers when overriding 'protected' inherited member
'AsyncCommand<ServeSettings>.ExecuteAsync(CommandContext, ServeSettings, CancellationToken)'

The issue is reproducible on Windows with .NET 10 after a standard dotnet restore + dotnet build.

Environment

  • OS: Windows 11
  • .NET: 10.0
  • Reproduced on both a local build and a Docker build

Best regards

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