
Security News
npm ‘is’ Package Hijacked in Expanding Supply Chain Attack
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
pock-programming.guid-mcp
Advanced tools
Model Context Protocol (MCP) server that generates a new Guid (v4, v7).
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.
<WORKSPACE DIRECTORY>/.vscode/mcp.json
file<SOLUTION DIRECTORY>\.mcp.json
fileFor 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"
]
}
}
}
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/"
]
}
}
}
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.
dotnet pack -c Release
to create the NuGet packagedotnet nuget push bin/Release/*.nupkg --api-key <your-api-key> --source https://api.nuget.org/v3/index.json
.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:
FAQs
An MCP server generating new Guid (v4, v7)
We found that pock-programming.guid-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Security News
A critical flaw in the popular npm form-data package could allow HTTP parameter pollution, affecting millions of projects until patched versions are adopted.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.