Skip to main content
Glama

Fabric MCP

by aci-labs
authentication.py617 B
from azure.identity import DefaultAzureCredential from cachetools import TTLCache def get_azure_credentials(client_id: str, cache: TTLCache) -> DefaultAzureCredential: """ Get Azure credentials using DefaultAzureCredential. This function is used to authenticate with Azure services. """ if f"{client_id}_creds" in cache: return cache[f"{client_id}_creds"] # If credentials are not cached, create a new DefaultAzureCredential instance # and store it in the cache. else: cache[f"{client_id}_creds"] = DefaultAzureCredential() return cache[f"{client_id}_creds"]

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