farzad528_mcp-server-azure-ai-agents

farzad528_mcp-server-azure-ai-agents

3.4

A Model Context Protocol (MCP) server that enables Claude Desktop to search your content using Azure AI services.

The Azure AI Agent Service + Azure AI Search MCP Server provides two implementations to connect Claude Desktop with Azure search capabilities. The recommended Azure AI Agent Service Implementation uses Azure AI Agent Service to offer AI-enhanced document and web search capabilities, including source citations. Alternatively, the Direct Azure AI Search Implementation connects directly to Azure AI Search, offering keyword, vector, and hybrid search methods. This server allows seamless integration with Claude Desktop, enabling users to search both private documents and the public web with intelligent processing and customizable search behavior.

Features

  • AI-Enhanced Search - Azure AI Agent Service optimizes search results with intelligent processing
  • Multiple Data Sources - Search both your private documents and the public web
  • Source Citations - Web search results include citations to original sources
  • Flexible Implementation - Choose between Azure AI Agent Service or direct Azure AI Search integration
  • Seamless Claude Integration - All search capabilities accessible through Claude Desktop's interface

Usage with Different Platforms

Azure AI Agent Service Setup

bash
az login

Configuring Claude Desktop for Azure AI Agent


{
  "mcpServers": {
    "azure-ai-agent": {
      "command": "C:\\path\\to\\.venv\\Scripts\\python.exe",
      "args": ["C:\\path\\to\\azure_ai_agent_service_server.py"],
      "env": {
        "PROJECT_CONNECTION_STRING": "your-project-connection-string",
        "MODEL_DEPLOYMENT_NAME": "your-model-deployment-name",
        "AI_SEARCH_CONNECTION_NAME": "your-search-connection-name",
        "BING_CONNECTION_NAME": "your-bing-connection-name",
        "AI_SEARCH_INDEX_NAME": "your-index-name"
      }
    }
  }
}

Configuring Claude Desktop for Direct Azure AI Search


{
  "mcpServers": {
    "azure-search": {
      "command": "C:\\path\\to\\.venv\\Scripts\\python.exe",
      "args": ["C:\\path\\to\\azure_search_server.py"],
      "env": {
        "AZURE_SEARCH_SERVICE_ENDPOINT": "https://your-service-name.search.windows.net",
        "AZURE_SEARCH_INDEX_NAME": "your-index-name",
        "AZURE_SEARCH_API_KEY": "your-api-key"
      }
    }
  }
}