// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Security.Cryptography;
using System.Text;
namespace AzureMcp.BicepSchema.Services.ResourceProperties.Helpers;
public static class GuidHelper
{
public static Guid GenerateDeterministicGuid(params string[] strings)
{
string concatenatedString = string.Join("", strings);
byte[] hash = SHA256.HashData(Encoding.UTF8.GetBytes(concatenatedString));
var guid = new Guid([.. hash.Take(16)]);
return guid;
}
}
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Azure/azure-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server