from enum import Enum
from pydantic import BaseModel
class DeploymentOption(Enum):
"""
Enum to represent the deployment options for a model in the MCP Foundry.
"""
FREE_PLAYGROUND = "Free Playground"
SERVERLESS_ENDPOINT = "Serverless Endpoint"
OPENAI = "OpenAI"
MANAGED_COMPUTE = "Managed Compute"
LABS = "Labs"
class ModelsList(BaseModel):
"""
Model to store the list of models in the MCP Foundry.
"""
total_models_count: int
fetched_models_count: int
summaries: list[dict]
class ModelDetails(BaseModel):
"""
Model to store the details of a model in the MCP Foundry.
"""
details: dict
code_sample_azure: str | dict | None
code_sample_github: str | dict | None
type: DeploymentOption
link: str
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-ai-foundry/mcp-foundry'
If you have feedback or need assistance with the MCP directory API, please join our Discord server