Skip to content
AI Productivity Insights

Tutorial · Step 4 of 5 · 1 min read

Creating an MCP Server with Azure AI Agent Service for TripAdvisor

Step-by-Step Guide: Creating an MCP Server with Azure AI Agent Service for TripAdvisor Marketing Campaign

Step 4: Connect Calude Desktop to the MCP Server

  1. Open the Claude Desktop App, click the hamburger menu, select File, then go to Settings.

Screenshot of the Claude Desktop app with the menu open at File, then Settings.

  1. Select the Developer menu and click “Edit Config”.

Screenshot of the Claude Desktop Settings window with the Developer tab selected, the azure-agent server listed, and the Edit Config button highlighted.

  1. Select the file name: claude_desktop_config.json and double click on the file to open it.

Screenshot of the Claude folder in Windows File Explorer, under AppData, Roaming, with the claude_desktop_config file highlighted.

  1. Copy the configuration file, your project connection string, your agent id and past it into the file: claude_desktop_config.json and save it.
{
  "mcpServers": {
    "azure-agent": {
      "command": "C:\\mcp-foundry\\.venv\\Scripts\\python.exe",
      "args": [
        "-m",
        "azure_agent_mcp_server"
      ],
      "cwd": "C:\\mcp-foundry\\src\\python",
      "env": {
        "PYTHONPATH": "C:\\mcp-foundry\\src\\python",
        "PROJECT_CONNECTION_STRING": "YOUR_PROJECT_CONNECTION_STRING",
        "DEFAULT_AGENT_ID": "YOUR_AGENT_ID"
      }
    }
  }
}

Screenshot of claude_desktop_config.json in Visual Studio Code, defining the azure-agent MCP server: the Python path, the azure_agent_mcp_server module, and environment settings for the project connection string and default agent ID, both masked.

  1. Open the Claude Desktop App, click the hamburger menu, select “File,” then go to “Settings.” Select “Developer” and choose azure-agent. If successful, you will see a “running” status.

Screenshot of the Claude Desktop Developer settings showing the azure-agent MCP server with a running status, and its command and arguments.

  1. Exit the Developer menu. You will then see a hammer icon with “3 MCP tools available” in the chat box.

Screenshot of a new Claude Desktop chat with a hammer icon in the message box and the tooltip 3 MCP tools available.

  1. Click on the hammer icon to see the available MCP tools of Azure AI Agent.

Screenshot of the Available MCP tools panel in Claude Desktop, listing three tools from the azure-agent server: connect_agent, list_agents and query_default_agent.

Newsletter

Get AI productivity insights delivered

Practical AI guides, tutorials, and fresh insights in your inbox.