redth_netmcpservers

redth_netmcpservers

by Redth
A .NET-based MCP server for searching and managing NuGet packages using Model Context Protocol.

NuGet Search and Package Management MCP Server

Overview

The NuGet Search and Package Management MCP Server is a .NET-based implementation of the Model Context Protocol (MCP) designed to facilitate NuGet package search and management. This server provides tools for querying NuGet packages, retrieving package content, and accessing specific files within packages. It is part of the NetMcpServers collection, a series of MCP servers written in .NET.

Tools

Search

The server includes a search tool that allows users to query NuGet packages using NuGet query syntax.

  • Name: nuget_search
  • Parameters:
  • query (Uses NuGet query syntax)
  • nuget_sources (optional, default is NuGet.org)
  • allow_prerelease (default: false)
  • skip (default: 0)
  • take (default: 30)

Resource Templates

NuGet Package File Content

Retrieve the content of a specific file within a NuGet package.

  • Name: nuget_file_content
  • URI Template: nuget://{packageId}/{version}{/filePath*}

NuGet Package Content

Retrieve the entire content of a NuGet package as a zip file.

  • Name: nuget_package
  • URI Template: nuget://{packageId}/{version}

Configuration

The server is configured to work with NuGet.org by default but allows for customization of NuGet sources through the nuget_sources parameter. The server supports both stable and prerelease packages, with the ability to control the number of results returned and the starting point of the search.

Usage

To use the server, simply call the appropriate tool or resource template with the required parameters. For example, to search for a package:

var results = await nuget_search("query=Newtonsoft.Json");

To retrieve a specific file from a package:

var fileContent = await nuget_file_content("nuget://Newtonsoft.Json/13.0.1/LICENSE.md");

About

This project is part of the NetMcpServers collection, which includes various MCP servers written in .NET. It is licensed under the MIT license, making it free to use, modify, and distribute.

Resources

Releases

Languages

  • C# 100.0%

Stars, Watchers, and Forks


For more details, visit the GitHub repository.

Features & Capabilities

Categories
mcp_server model_context_protocol csharp dotnet nuget search api_integration

Implementation Details

Stats

0 Views
1 GitHub Stars

Repository Info

Redth Organization

Similar MCP Servers

continuedev_continue by continuedev
25049
21423
9300