# HSFDMCPServerDotnet **Repository Path**: Armin1995/hsfdmcpserver-dotnet ## Basic Information - **Project Name**: HSFDMCPServerDotnet - **Description**: 海上风电MCP服务Dotnet版 - **Primary Language**: C# - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-12-23 - **Last Updated**: 2025-12-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # hsfdmcpserver_dotnet ## Overview This is a Model Context Protocol (MCP) server implementation built with .NET 9.0. The MCP server provides a communication protocol for facilitating interactions between various components in a model-driven system. This implementation demonstrates how to set up a basic MCP server with custom tools and services. ## Run Locally Run the project: ```bash dotnet run ``` Run the inspector: ```bash npx @modelcontextprotocol/inspector ``` ## Distribute as .NET Tool Pack from the project directory: ```bash dotnet pack -o Artefacts -c Release ``` Install the tool globally: ```bash dotnet tool install --global --add-source ./Artefacts hsfdmcpserver_dotnet ``` Now, after you installed this tool globally, you can run it from anywhere on your system. The tool will be available as `hsfdmcpserver_dotnet` in your terminal. 💡 You can also create local tool manifest and install MCPs as tools locally. Run the inspector: ```bash npx @modelcontextprotocol/inspector -e DOTNET_ENVIRONMENT=Production hsfdmcpserver_dotnet ```