{"repo":"Azure-Samples/openai-mcp-agent-dotnet","free":true,"listed":false,"github":"https://github.com/Azure-Samples/openai-mcp-agent-dotnet","clone":"git clone https://github.com/Azure-Samples/openai-mcp-agent-dotnet.git","description":"Sample to create an AI Agent using OpenAI models with any MCP server running on Azure Container Apps","language":"JavaScript","stars":29,"topics":["aca","agent","ai","azure","azure-container-apps","mcp","mcp-client","mcp-server","openai"],"license":"MIT","category":"mcp-servers","readme_excerpt":"--- name: .NET OpenAI MCP Agent description: This is an MCP agent app written in .NET, using OpenAI, with a remote MCP server written in TypeScript. languages: - csharp - bicep - azdeveloper products: - azure-openai - azure-container-apps - azure page type: sample urlFragment: openai-mcp-agent-dotnet --- .NET OpenAI MCP Agent This is an MCP agent app written in .NET, using Azure OpenAI, with a remote MCP server written in TypeScript. Features This app provides features like: - The MCP host + MCP client app is written in .NET Blazor. - The MCP client app connects to a to-do MCP server written in TypeScript. - Both MCP client and server apps are running on Azure Container Apps (ACA). - The MCP client app is secured by the built-in auth of ACA. - The MCP server app is only accessible from the MCP client app. Prerequisites - .NET 9 SDK - Visual Studio Code + C# Dev Kit - node.js LTS - Docker Desktop or Podman Desktop - Azure Subscription Getting Started You can now use GitHub Codespaces to run this sample app (takes several minutes to open it)! 👉 . Get Azure AI Foundry or GitHub Models - To run this app, you should have an Azure AI Foundry instance. - If you use Azure AI Foundry, make sure you have the GPT-5-mini models deployed. - As a default, the deployed model name is gpt-5-mini . Get AI Agent App 1. Create a directory for the app. 1. Initialize azd . NOTE : You'll be asked to enter an environment name, which will be the name of your Azure Resource Group. For example, the en","default_branch":null,"files":null,"tree":[],"storefront":"/r/Azure-Samples","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Azure-Samples/openai-mcp-agent-dotnet/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}