Azure Container Apps AI & MCP Playground

Azure Container Apps AI & MCP Playground

openai-mcp-example•bymanekinekko

A demo application with two MCP server implementations (HTTP and SSE) that provide TODO list tools backed by a DocumentDB database for an LLM agent.

License: MIT License•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Implements two MCP servers, one over HTTP streaming and one over SSE, that expose tools for managing a TODO list.
  • •Provides add_todo, list_todos, complete_todo, and delete_todo tools backed by a DocumentDB database.
  • •Includes an MCP host and clients for both HTTP and SSE protocols that interact with an LLM provider.
  • •Supports OpenAI-compatible providers including Azure OpenAI, OpenAI, and GitHub Models.

BEST FOR

  • •Demonstrating an end-to-end MCP setup with servers, clients, and an LLM agent.
  • •Exploring a TODO list agent whose tools persist state in a DocumentDB database.
  • •Choosing between SSE and streamable HTTP transport for an MCP server.

ABOUT OPENAI-MCP-EXAMPLE

Azure Container Apps AI & MCP Playground is cataloged as an MCP server attributed to manekinekko. A demo application with two MCP server implementations (HTTP and SSE) that provide TODO list tools backed by a DocumentDB database for an LLM agent. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Azure Container Apps AI & MCP Playground are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which MCP transports do the servers support?

The project provides both streamable HTTP and legacy SSE server implementations.

Where is the TODO list data stored?

Data is persisted in the DocumentDB Local database.

Does the server support authentication?

Token-based authentication is marked as work in progress.

Upstream README

View this exact version on GitHub

README.md · e3235ce73371 · Fetched 2026-11-13 09:46:03 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Azure Container Apps - AI & MCP Playground

This project showcases how to use the MCP protocol with OpenAI, Azure OpenAI and GitHub Models. It provides a simple demo terminal application that interacts with a TODO list Agent. The agent has access to a set of tools provided by the MCP server.

MCP Components

The current implementation consists of three main components:

  1. MCP Host: The main application that interacts with the MCP server and the LLM provider. The host instanciates an LLM provider and provides a terminal interface for the user to interact with the agent.
  2. MCP Client: The client that communicates with the MCP server using the MCP protocol. The application providers two MCP clients for both HTTP and SSE (Server-Sent Events) protocols.
  3. MCP Server: The server that implements the MCP protocol and communicates with the DocumentDB database. The application provides two MCP server implementations: one using HTTP and the other using SSE (Server-Sent Events).
  4. LLM Provider: The language model provider (e.g., OpenAI, Azure OpenAI, GitHub Models) that generates responses based on the input from the MCP host.
  5. DocumentDB Local: A database used to store the state of the agent and the tools.
  6. Tools: A set of tools that the agent can use to perform actions, such as adding or listing items in a shopping list.
flowchart TD
    user(("fa:fa-users User"))
    host["VS Code, Copilot, LlamaIndex, Langchain..."]
    client[MCP SSE Client]
    clientHttp[MCP HTTP Client]
    server([MCP SSE Server])
    serverHttp([MCP HTTP Server])
    agent[Agent]
    AzureOpenAI([Azure OpenAI])
    GitHub([GitHub Models])
    OpenAI([OpenAI])
    
    tools["fa:fa-wrench Tools"]
    db[(DocumentDB Local)]

    user --> hostGroup 
    subgraph hostGroup["MCP Host"]
        host -.- client & clientHttp & agent
    end
    
    agent -.- AzureOpenAI & GitHub & OpenAI
    
    client a@ ---> |"Server Sent Events"| server
    clientHttp aa@ ---> |"Streamable HTTP"| serverHttp

    subgraph container["ACA Container (*)"]
      server -.- tools
      serverHttp -.- tools
      tools -.- add_todo 
      tools -.- list_todos
      tools -.- complete_todo
      tools -.- delete_todo
    end

    add_todo b@ --> db
    list_todos c@--> db
    complete_todo d@ --> db
    delete_todo e@ --> db
    
    %% styles

    classDef animate stroke-dasharray: 9,5,stroke-dashoffset: 900,animation: dash 25s linear infinite;
    classDef highlight fill:#9B77E8,color:#fff,stroke:#5EB4D8,stroke-width:2px
    
    class a animate
    class aa animate
    class b animate
    class c animate
    class d animate
    class e animate

    class container highlight

MCP Server supported features and capabilities

This demo application provides two MCP server implementations: one using HTTP and the other using SSE (Server-Sent Events). The MCP host can connect to both servers, allowing you to choose the one that best fits your needs.

FeatureCompleted
SSE (legacy)✅
HTTP Streaming✅
AuthN (token based)wip
Tools✅
Resources#3
Prompts#4
Sampling#5

Quick Start (using Docker)

To get started with this project using Docker, follow the steps below:

  1. Clone the repository:
git clone https://github.com/Azure-Samples/azure-container-apps-ai-mcp.git
cd azure-container-apps-ai-mcp
  1. Start the Docker containers:
docker-compose up
  1. Access the MCP servers using VS Code built-in MPC support, see ./.vscode/mcp.json. All data will be persisted in the DocumentDB Local database. You can use the VS Code extension for DocumentDB to explore the database.

Local development

To get started with this project, follow the steps below:

Prerequisites

  • Node.js and npm (version 22 or higher)
  • Docker (recommended for running the MCP servers, and DocumentDB Local in Docker)
  • An OpenAI compatible endpoint:
    • An OpenAI API key
    • Or, a GitHub token, if you want to use the GitHub models: https://gh.io/models
    • Or, if you are using Azure OpenAI, you need to have an Azure OpenAI resource and the corresponding endpoint.

Installation

  1. Clone the repository.
  2. Install the dependencies:
npm install --prefix mcp-host
npm install --prefix mcp-server-http
npm install --prefix mcp-server-sse

Configuring LLM providers to use

This sample supports the follwowing LLM providers:

ProviderSupported API
Azure OpenAIResponses API
OpenAIResponses API
GitHub ModelsChatCompletion API

Azure OpenAI

[!NOTE] Accessing Azure OpenAI using Managed Identity is not supported when running in a Docker container (locally). You can either run the code locally without Docker or use a different authentication method, such as AZURE_OPENAI_API_KEY key authentication.

In order to use Keyless authentication, using Azure Managed Identity, you need to provide the AZURE_OPENAI_ENDPOINT environment variable in the .env file:

AZURE_OPENAI_ENDPOINT="https://<ai-foundry-openai-project>.openai.azure.com"
MODEL="gpt-4.1"

# (optional) Set the Azure OpenAI API key if you are not using Managed Identity
# AZURE_OPENAI_API_KEY=your_azure_openai_api_key

And make sure to using the Azure CLI to log in to your Azure account and follow the instructions to selection your subscription:

az login

OpenAI

To use the OpenAI API, you need to set your OPENAI_API_KEY key in the .env file:

OPENAI_API_KEY=your_openai_api_key
MODEL="gpt-5"

GitHub Models

To use the GitHub models, you need to set your GITHUB_TOKEN in the .env file:

GITHUB_TOKEN=your_github_token
MODEL="openai/gpt-5"

Running the MCP servers

This project includes a DevContainer configuration that allows you to run the MCP servers in a containerized environment. This is the recommended way to run the MCP servers, as it ensures that all dependencies are installed and configured correctly.

Open in GitHub Codespaces Open in Dev Containers

Once you have opened the project in a DevContainer, you can run the MCP servers using the following the Docker section below.

Running in Docker

You can run both MCP servers in Docker containers using the provided Docker Compose file. This is useful for testing and development purposes. To do this, follow these steps:

  1. Make sure you have Docker installed on your machine. Type docker compose in your terminal to check if Docker Compose is installed.
  2. Navigate to the root directory of the project and run the following command to build and start the containers:
docker compose up -d --build

This command will build and start the HTTP and SSE MCP servers, as well as the DocumentDB database container.

  1. Access the MCP host terminal by running the following command in a separate terminal:
docker exec -it mcp-host bash
  1. Inside the container, you can run the MCP host and interact with the LLM agent as described in the Usage section above.

Running outside of Docker

  1. First, run the MCP servers, in separate terminals:
npm start --prefix mcp-server-http
npm start --prefix mcp-server-sse

[!NOTE] For demo purposes, the MCP host (see below) is configured to connect to both servers (on port 3000 and 3001). However, this is not a requirement, and you can choose which server to use. If a server is not available, the host will print an error and continue to scan for other servers. If no server is available, no tools will be available to the agent.

  1. Run the MCP host in a separate terminal:
npm start --prefix mcp-host

You should be able to use the MCP host to interat with the LLM agent. Try asking question about adding or listing items in a shopping list. The host will then try to fetch and call tools from the MCP servers.

Debugging and inspection

You can use the DEBUG environment variable to enable verbose logging for the MCP host:

DEBUG=mcp:* npm start --prefix mcp-host

Debugging is enabled by default for both MCP servers.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Azure Container Apps AI & MCP Playground from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/openai-mcp-example)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools