1. Conduid
  2. Other
  3. Nuget
MCP server · Other

Nuget

try to publish mcp in nuget

Unclaimed last commit a year ago other
34Low

Scored 4 days ago · breakdown

About Nuget

Nuget is an MCP server published by sanamhub in the Other category: try to publish mcp in nuget.

The repository has 7 stars and 0 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

From source
git clone https://github.com/sanamhub/mcp-nuget

This 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.

Ask AI

✦

Ask AI about Nuget

Powered by Claude · Grounded in docs

I know everything about Nuget. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 11 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • !License declaredNo license file. Legally you have no right to use it in a product.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.

1 check has not been run yet.

Releases

0.0.1v0.0.1 · 20 Jul 2025

README

MCP Weather Server

A Model Context Protocol (MCP) server to try NuGet MCP support that provides weather information tools for AI assistants. This server is built using C# and the official ModelContextProtocol SDK.

Overview

This MCP server exposes weather-related tools that can be used by AI assistants like Claude, GitHub Copilot, and other MCP-compatible clients. The server provides random weather information for cities based on configurable weather conditions.

Features

  • Weather Information Tool: Get random weather descriptions for any city
  • Configurable Weather Options: Customize available weather conditions via environment variables
  • Cross-Platform: Built on .NET 9.0 with cross-platform support
  • Easy Integration: Works with VS Code, Visual Studio, and other MCP-compatible environments

Installation

From NuGet (Recommended)

The server is available as a NuGet package at nuget.org/packages/mcp.

Global Installation

dotnet tool install --global mcp

Local Installation

dotnet new tool-manifest  # if you are setting up this repo
dotnet tool install --local mcp

From Source

  1. Clone the repository:

    git clone https://github.com/sanamhub/mcp-nuget.git
    cd mcp-nuget
    
  2. Build and run:

    dotnet build
    dotnet run
    

Configuration

VS Code Setup

Create a .vscode/mcp.json file in your workspace:

{
  "servers": {
    "mcp-weather": {
      "type": "stdio",
      "command": "dnx",
      "args": ["mcp@0.0.1", "--yes"],
      "env": {
        "WEATHER_CHOICES": "sunny,cloudy,rainy,snowy,stormy"
      }
    }
  }
}

Visual Studio Setup

Create a .mcp.json file in your solution directory:

{
  "servers": {
    "mcp-weather": {
      "type": "stdio",
      "command": "dnx",
      "args": ["mcp@0.0.1", "--yes"],
      "env": {
        "WEATHER_CHOICES": "sunny,cloudy,rainy,snowy,stormy"
      }
    }
  }
}

Local Development Setup

For testing from source code:

{
  "servers": {
    "mcp-weather": {
      "type": "stdio",
      "command": "dotnet",
      "args": ["run", "--project", "."],
      "env": {
        "WEATHER_CHOICES": "sunny,humid,freezing,perfect,stormy"
      }
    }
  }
}

Environment Variables

Variable Description Required Default
WEATHER_CHOICES Comma-separated list of weather descriptions No "balmy,rainy,stormy"

Available Tools

get_city_weather

Returns random weather information for a specified city.

Parameters:

  • city (string): Name of the city to get weather for

Example:

User: What's the weather like in New York?
Assistant: The weather in New York is sunny.

Development

Prerequisites

  • .NET 9.0 SDK or later
  • Visual Studio 2022 or VS Code

Building

dotnet build

Testing

dotnet test

Packaging

dotnet pack -c Release

The package will be created in bin/Release/mcp.{version}.nupkg.

Publishing

To publish a new version to NuGet:

  1. Update the version in mcp.csproj

  2. Update the version in .mcp/server.json

  3. Build and pack:

    dotnet pack -c Release
    
  4. Publish:

    dotnet nuget push bin/Release/*.nupkg --api-key <your-api-key> --source https://api.nuget.org/v3/index.json
    

Dependencies

Resources

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

README fetched from the repository 11 hours ago. The original is authoritative.

Questions

About Nuget

How do I install Nuget?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Nuget safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 2 of the 5 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Nuget still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.