- AI Productivity Insights
- Pages
- Step 3: Set Up the MCP Server to Connect with Azure AI Agent Service
Step-by-Step Guide: Creating an MCP Server with Azure AI Agent Service for TripAdvisor Marketing Campaign
Step 3: Set Up the MCP Server to connect with Azure AI Agent Service
Before you begin, ensure you have the following prerequisites and technical requirements in place to successfully implement and work with the MCP dashboard system:
Install Visual Studio Code: https://code.visualstudio.com/
Install Git: https://git-scm.com/downloads
Install Python: https://www.python.org/downloads/
Install Claude Desktop App: https://claude.ai/download
Install Azure CLI: https://learn.microsoft.com/en-us/cli/azure/install-azure-cli
Detailed Step-by-Step Implementation Guide
Open Visual Studio Code, select “Clone Git Repository”

Enter the URL:
https://github.com/azure-ai-foundry/mcp-foundry.git
and press enter

Select Drive C:\ and click “Select as Repository Destination”

Click “Open”

Select "New Terminal" from the Menu.

Type the following commands in your terminal:

PS C:\mcp-foundry>python -m venv .venv
and press enter
PS C:\mcp-foundry>.venv\Scripts\activate
(For Windows) or source .venv\bin\activate
(For Mac) and press enter
(.venv) PS C:\mcp-foundry> pip install azure-identity python-dotenv azure-ai-projects aiohttp
and press enter
(.venv) PS C:\mcp-foundry> pip install mcp
and press enter
Open Command Prompt, type
az login
, and follow the prompts to select your Azure account. When prompted, enter your Azure subscription number and press Enter.
