Get the FREE Ultimate OpenClaw Setup Guide →

NetMcpServers

Collection of my MCP (Model Context Protocol) servers written in .NET

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio redth-netmcpservers dnx Mcp.Server.MauiDevEnv --yes

How to use

This MCP server collection provides.NET-based MCP servers published as NuGet packages. The MauiDevEnv server, when run, helps manage .NET MAUI development environments including the .NET SDKs, Android SDK, and Java JDK. To integrate with an MCP client, you configure an MCP server entry that launches the appropriate process and communicates via standard I/O. The README examples show how to run the MauiDevEnv server directly using dn x or via a globally installed tool, depending on your .NET setup. Tools exposed by the MauiDevEnv server include dotnet_info to retrieve SDK/runtime details, get_android_environment_info for Android/Java environments, and commands to install or manage Android SDK licenses and packages. These tools return structured JSON, enabling clients to programmatically inspect and prepare the development environment for MAUI projects.

How to install

Prerequisites:

  • .NET 8+ or newer installed on your system; if you are using the older workflow, you may have .NET 10+ utilities available via dotnet tools.

Installation steps (two supported approaches):

Option A: Run directly with dn x (no installation required)

  1. Ensure you have dn x installed and in your PATH (for .NET 10+ setups).
  2. Run the MauiDevEnv server: dn x Mcp.Server.MauiDevEnv --yes

Option B: Install as a dotnet global tool (for .NET 8/9 workflows)

  1. Ensure you have the dotnet CLI installed and in your PATH.
  2. Install the MauiDevEnv global tool: dotnet tool install --global Mcp.Server.MauiDevEnv
  3. Run the MauiDevEnv server: mcp-server-mauidevenv

Configuration example for MCP clients:

  • For .NET 10+ (dnx workflow): { "mcpServers": { "mauidevenv": { "type": "stdio", "command": "dnx", "args": ["Mcp.Server.MauiDevEnv", "--yes"] } } }
  • For .NET 8/9 (installed tools): { "mcpServers": { "mauidevenv": { "type": "stdio", "command": "mcp-server-mauidevenv" } } }

Additional notes

Tips and common details:

  • The MauiDevEnv server manages .NET MAUI development environments, including SDKs and Android/Java tooling. If you switch between dotnet tool and dn x invocations, ensure your PATH and environment variables (e.g., JAVA_HOME, ANDROID_HOME) are correctly configured.
  • When using the stdio-based MCP configuration, the server communicates through standard input/output; ensure your MCP client can serialize/deserialize JSON messages accordingly.
  • If you encounter license or package installation prompts, use the dedicated android_sdk_accept_licenses and android_sdk_install_package commands provided by the server to automate setup.
  • Check the individual project folders for ready-to-use mcp.json files for specific configurations.

Related MCP Servers

Sponsor this space

Reach thousands of developers