You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

pock-programming.guid-mcp

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pock-programming.guid-mcp

An MCP server generating new Guid (v4, v7)

0.1.0
nugetNuGet
Version published
Maintainers
1
Created
Source

GUID MCP Server

Model Context Protocol (MCP) server that generates a new Guid (v4, v7).

Using the MCP Server from NuGet.org

Once the MCP server package is published to NuGet.org, you can configure it in your preferred IDE. Both VS Code and Visual Studio use the dnx command to download and install the MCP server package from NuGet.org.

  • VS Code: Create a <WORKSPACE DIRECTORY>/.vscode/mcp.json file
  • Visual Studio: Create a <SOLUTION DIRECTORY>\.mcp.json file

For both VS Code and Visual Studio, the configuration file uses the following server definition:

{
  "servers": {
    "GuidMCPServer": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "pock-programming.guid-mcp",
        "--version",
        "0.1.0",
        "--yes"
      ]
    }
  }
}

Developing locally

To test this MCP server from source code (locally) without using a built MCP server package, you can configure your IDE to run the project directly using dotnet run.

{
  "servers": {
    "GuidMCPServer": {
      "type": "stdio",
      "command": "dotnet",
      "args": [
        "run",
        "--project",
        "./GuidMCPServer/"
      ]
    }
  }
}

Testing the MCP Server

Once configured, you can ask Copilot Chat for a Guid, for example, Get me a new Guid. It should prompt you to use the get_guidv4 tool on the GuidMCPServer MCP server and show you the results.

Publishing to NuGet.org

  • Run dotnet pack -c Release to create the NuGet package
  • Publish to NuGet.org with dotnet nuget push bin/Release/*.nupkg --api-key <your-api-key> --source https://api.nuget.org/v3/index.json

More information

.NET MCP servers use the ModelContextProtocol C# SDK. For more information about MCP:

Refer to the VS Code or Visual Studio documentation for more information on configuring and using MCP servers:

Keywords

Guid

FAQs

Package last updated on 17 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts