NetMcpServers
Collection of my MCP (Model Context Protocol) servers written in .NET
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)
- Ensure you have dn x installed and in your PATH (for .NET 10+ setups).
- Run the MauiDevEnv server: dn x Mcp.Server.MauiDevEnv --yes
Option B: Install as a dotnet global tool (for .NET 8/9 workflows)
- Ensure you have the dotnet CLI installed and in your PATH.
- Install the MauiDevEnv global tool: dotnet tool install --global Mcp.Server.MauiDevEnv
- 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
mssql
MSSQL Server MCP implementation written in C#
McpDotNet.Extensions.SemanticKernel
Microsoft SemanticKernel integration for the Model Context Protocol (MCP). Enables seamless use of MCP tools as AI functions.
DatabaseMcpServer
MCP server from ttcc666/DatabaseMcpServer
mcp-dataverse
MCP Server for querying Dataverse using SQL
xperience-community
ASP.NET Core MCP server for Xperience by Kentico projects
console-to-http
Example of converting a stdio MCP server to HTTP using ModelContextProtocol.AspNetCore