This project provides a dynamic chat interface using Chainlit to interact with an Azure AI Agent Service agent configured with MCP (Model Context Protocol).
- Python 3.8+
- pip (Python package installer)
- Clone the repository
- Install dependencies:
pip install -r requirements.txt
Before running the project, change env variable file name
.env.example -> .env
Set the following environment variable:
MCP_GITHUB_TOKEN: Your GitHub MCP server authentication token
You can set this in your shell or add it to a .env file in the project root:
MCP_GITHUB_TOKEN=your_github_token_here
Other required environment variables may include:
PROJECT_ENDPOINTMODEL_DEPLOYMENT_NAMEMCP_GITHUB_URLMCP_GITHUB_LABELMCP_MSLEARN_URLMCP_MSLEARN_LABEL
Refer to the code for more details on these variables.
Start the chat interface with:
chainlit run multiMcp.pyYou can now interact with the Azure AI Agent via the Chainlit web interface.
© Microsoft Corporation. Licensed under the MIT License.