About Dotnet Tools MCP Server
Dotnet Tools MCP Server is an MCP server published by AdamTovatt in the Developer Tools category: an MCP (Model Context Protocol) server for building and testing .NET projects using `dotnet build` and `dotnet test` from Cursor.
The repository has 1 stars and 1 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/AdamTovatt/dotnet-tools-mcp-serverThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (6)
mcp_dotnet-tools_buildBuilds a .NET project using `dotnet build`
Parameters not published.
mcp_dotnet-tools_build_solutionBuilds a .NET solution using `dotnet build`
Parameters not published.
mcp_dotnet-tools_get_documentation_for_libraryGets documentation for a specific library by NuGet package name
Parameters not published.
mcp_dotnet-tools_list_available_documentation_filesLists all available documentation files
Parameters not published.
mcp_dotnet-tools_run_specific_testsRuns specific tests using custom filters
Parameters not published.
mcp_dotnet-tools_run_testsRuns all tests in a .NET test project
Parameters not published.
Ask AI
Ask AI about Dotnet Tools MCP Server
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
4 checks have not been run yet.
Releases
README
DotNet Tools MCP Server
An MCP (Model Context Protocol) server for building and testing .NET projects using dotnet build and dotnet test from Cursor.
This server provides a workaround for Cursor's current terminal issues when trying to build and test .NET projects directly.
Installation
You can either:
- Download a prebuilt release. It's just a single executeable file with everything that it needs to run inside of it.
- Build from source using
dotnet publish(AOT compiled into a single file, must be configured for the correct platform)
Configuration
Add this to your Cursor settings to use the MCP server:
{
"mcpServers": {
"dotnet-tools": {
"name": "DotNet Tools Server",
"stdio": true,
"command": "C:\\path\\to\\your\\DotNetToolsMcpServer.exe"
}
}
}
Replace the command path with the actual location of the executable on your system.
Usage
MCP Server Mode
When run without command line arguments, the server operates as an MCP server for Cursor integration.
CLI Mode
When run with command line arguments, the server operates as a CLI tool for managing library documentation configuration.
CLI Commands
add-library --name="LibraryName" --url="https://..."- Add a library documentation URLremove-library --name="LibraryName"- Remove a library from configurationlist-libraries- List all configured librariesconfig-path- Display the path to the configuration fileopen-config- Open the configuration file in the default editor
Help
-h,-help,--help- Show help information
Examples
# Show help
DotNetToolsMcpServer -h
DotNetToolsMcpServer --help
# Add a library
DotNetToolsMcpServer add-library --name="EasyReasy" --url="https://raw.githubusercontent.com/AdamTovatt/easy-reasy/refs/heads/master/EasyReasy/README.md"
# List all libraries
DotNetToolsMcpServer list-libraries
# Show config file location
DotNetToolsMcpServer config-path
# Open config file for editing
DotNetToolsMcpServer open-config
Configuration File
The configuration is stored in a local markdown file at:
- Windows:
%APPDATA%\DotNetToolsMcpServer\libraries.md - macOS/Linux:
~/.config/DotNetToolsMcpServer/libraries.md
The file uses markdown format:
- [LibraryName](https://url-to-documentation.md)
Tools
This MCP server provides the following tools:
mcp_dotnet-tools_build- Builds a .NET project usingdotnet buildmcp_dotnet-tools_build_solution- Builds a .NET solution usingdotnet buildmcp_dotnet-tools_run_tests- Runs all tests in a .NET test projectmcp_dotnet-tools_run_specific_tests- Runs specific tests using custom filtersmcp_dotnet-tools_list_available_documentation_files- Lists all available documentation filesmcp_dotnet-tools_get_documentation_for_library- Gets documentation for a specific library by NuGet package name
Library Documentation
The server supports user-configurable library documentation. Instead of using a hardcoded URL, users can add their own library documentation files through the CLI commands. The documentation tool will read from the local configuration file to provide documentation for configured libraries.
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.