-
Notifications
You must be signed in to change notification settings - Fork 145
Description
Is your feature request related to a problem? Please describe.
Currently, mcpb does not support launching MCP servers implemented in .NET. Many .NET MCP servers rely on the standard dotnet run workflow, which requires specifying a project file or a C# entrypoint. Without explicit support, .NET developers cannot register or execute their servers using the expected .NET CLI patterns.
Describe the solution you'd like
Add first-class support for .NET server execution, enabling:
-
Project-based execution
dotnet run --project "Mcp.csproj"Here,
dotnetis the entrypoint and--project "Mcp.csproj"is the argument. -
Single-file execution (simplified)
dotnet run app.cs
Allowing a
.csfile to act as the server entrypoint, withdotnetas the runtime command.
The goal is to let .NET servers fit naturally into the existing MCPB manifest and runtime model without extra wrappers or shell scripts.
Describe alternatives you've considered
A wrapper script (e.g., bash, PowerShell, or shell shim) could be used to invoke dotnet run, but this becomes platform-dependent and breaks the portability goals of MCP. Another alternative is pre-compiling the server, but that removes the dynamic/iterative development workflow that .NET developers typically use.
Additional context
The .NET ecosystem is increasingly adopting MCP. Having native support for .NET launch patterns would streamline development workflows, improve portability across OSes, and align MCPB with other runtimes already supported.