from uuid import UUID
def _is_valid_uuid(
guid: str,
):
"""
Validates if a string is a valid GUID in version 4
Parameters
----------
guid : str
GUID to be validated.
Returns
-------
bool
Boolean that indicates if the string is a GUID or not.
"""
try:
UUID(str(guid), version=4)
return True
except ValueError:
return False
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/aci-labs/ms-fabric-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server