Skip to main content
Glama

Azure MCP Server

Official
MIT License
1,161
  • Linux
  • Apple
EmbeddingModels.cs1.11 kB
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Text.Json.Serialization; namespace ToolSelection.Models; // Azure OpenAI Embedding API models public class EmbeddingRequest { [JsonPropertyName("input")] public required string[] Input { get; set; } } public class EmbeddingResponse { [JsonPropertyName("data")] public EmbeddingData[]? Data { get; set; } [JsonPropertyName("usage")] public Usage? Usage { get; set; } [JsonPropertyName("error")] public ApiError? Error { get; set; } } public class EmbeddingData { [JsonPropertyName("embedding")] public required float[] Embedding { get; set; } [JsonPropertyName("index")] public int Index { get; set; } } public class Usage { [JsonPropertyName("prompt_tokens")] public int PromptTokens { get; set; } [JsonPropertyName("total_tokens")] public int TotalTokens { get; set; } } public class ApiError { [JsonPropertyName("type")] public string? Type { get; set; } [JsonPropertyName("message")] public string? Message { get; set; } }

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