Azure AI Agent Service

v1.0.0Cloud Servicesstable

Enables connections to Azure AI Agents within any MCP client, allowing users to leverage Azure AI Foundry's models and knowledge tools like Azure AI Search and Bing Web Grounding through a conversational interface.

azure-ai-agent-service-mcp-servermcpai-integration
Share:
248
Stars
0
Downloads
0
Weekly
0/5

What is Azure AI Agent Service?

Azure AI Agent Service is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enables connections to azure ai agents within any mcp client, allowing users to leverage azure ai foundry's models and knowledge tools like azure ai search and bing web grounding through a conversatio...

Enables connections to Azure AI Agents within any MCP client, allowing users to leverage Azure AI Foundry's models and knowledge tools like Azure AI Search and Bing Web Grounding through a conversational interface.

This server falls under the Cloud Services category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Enables connections to Azure AI Agents within any MCP client

Use Cases

Connect any MCP client to Azure AI Agents.
Leverage Azure AI Foundry models and tools.
Use Azure AI Search and Bing Web Grounding in conversations.
LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedMay 16, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx azure-ai-agent-service-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Azure AI Agent Service

The Azure AI Foundry MCP Server bridges any MCP-compatible AI client to Azure AI Foundry's full suite of enterprise capabilities, including model catalog exploration, Azure AI Search index management, document operations, fine-tuning job tracking, and evaluation pipelines. It connects to Azure AI Search for knowledge retrieval, supports Bing Web Grounding for live web search, and exposes tools for querying model quotas, deployment guidance, and performance metrics — all through natural language in your MCP client. Enterprise developers and ML engineers use it to manage Azure AI resources, run evaluations, and build knowledge-augmented agents without leaving their AI assistant interface.

Prerequisites

  • Python 3 with uv installed (see https://docs.astral.sh/uv/getting-started/installation/)
  • An Azure account with Azure AI Foundry access and a deployed resource
  • AZURE_AI_SEARCH_ENDPOINT and authentication credentials (API key or service principal) for knowledge tools
  • GITHUB_TOKEN for free model testing with rate limits via GitHub Models
  • An MCP client such as Claude Desktop, VS Code with GitHub Copilot, or Claude Code
1

Install uv package manager

The Azure AI Foundry MCP Server is run via uvx, which requires uv. Install it using the official installation script.

# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh

# Windows (PowerShell)
powershell -ExecutionPolicy Bypass -c "irm https://astral.sh/uv/install.ps1 | iex"

# Verify
uv --version
2

Set required environment variables

Configure your Azure credentials and search endpoint. For quick testing with GitHub Models, only GITHUB_TOKEN is needed. For knowledge tools, set the Azure AI Search variables.

# For GitHub Models (free tier testing)
export GITHUB_TOKEN=ghp_your_token_here

# For Azure AI Search knowledge tools
export AZURE_AI_SEARCH_ENDPOINT=https://your-search-service.search.windows.net
export SEARCH_AUTHENTICATION_METHOD=api-search-key
export AZURE_AI_SEARCH_API_KEY=your-search-api-key

# For evaluation tools
export EVAL_DATA_DIR=/path/to/eval/data
export AZURE_OPENAI_ENDPOINT=https://your-openai.openai.azure.com
export AZURE_OPENAI_API_KEY=your-key
export AZURE_OPENAI_DEPLOYMENT=gpt-4o
3

Run the MCP server with uvx

Start the Azure AI Foundry MCP server directly from the GitHub repository using uvx. No local clone or install step is needed.

uvx --prerelease=allow \
  --from git+https://github.com/azure-ai-foundry/mcp-foundry.git \
  run-azure-ai-foundry-mcp
4

Configure Claude Desktop to use the server

Add the server to your Claude Desktop configuration so it starts automatically when Claude Desktop launches.

{
  "mcpServers": {
    "azure-ai-foundry": {
      "command": "uvx",
      "args": [
        "--prerelease=allow",
        "--from", "git+https://github.com/azure-ai-foundry/mcp-foundry.git",
        "run-azure-ai-foundry-mcp"
      ],
      "env": {
        "GITHUB_TOKEN": "ghp_your_token",
        "AZURE_AI_SEARCH_ENDPOINT": "https://your-search.search.windows.net",
        "AZURE_AI_SEARCH_API_KEY": "your-search-key"
      }
    }
  }
}
5

Verify available tools

Ask your MCP client to list available tools to confirm the server is connected and all capability groups are loaded.

# In your MCP client prompt:
# "List all available Azure AI Foundry tools"

Azure AI Agent Service Examples

Client configuration

Complete Claude Desktop JSON configuration for the Azure AI Foundry MCP Server with GitHub token and search credentials

{
  "mcpServers": {
    "azure-ai-agent-service-mcp-server": {
      "command": "uvx",
      "args": [
        "--prerelease=allow",
        "--from",
        "git+https://github.com/azure-ai-foundry/mcp-foundry.git",
        "run-azure-ai-foundry-mcp"
      ],
      "env": {
        "GITHUB_TOKEN": "ghp_YOUR_TOKEN_HERE",
        "AZURE_AI_SEARCH_ENDPOINT": "https://your-search.search.windows.net",
        "SEARCH_AUTHENTICATION_METHOD": "api-search-key",
        "AZURE_AI_SEARCH_API_KEY": "YOUR_SEARCH_KEY"
      }
    }
  }
}

Prompts to try

Example prompts for exploring Azure AI Foundry capabilities through the MCP server

- "What OpenAI models are available in Azure AI Foundry and what are their capabilities?"
- "Search my Azure AI Search index for documents about quarterly earnings"
- "Show me the status of my fine-tuning jobs and their performance metrics"
- "Compare Phi-4 and GPT-4o models and recommend one for summarization tasks"
- "Run an evaluation on my dataset at /data/eval.jsonl using coherence and groundedness metrics"

Troubleshooting Azure AI Agent Service

uvx fails with 'package not found' or prerelease error

Always include the --prerelease=allow flag as shown in the install command. If uv is outdated, update it with uv self update or reinstall from https://astral.sh/uv.

Azure AI Search tools return authentication errors

Verify AZURE_AI_SEARCH_ENDPOINT is the full URL including https:// and .search.windows.net. Confirm SEARCH_AUTHENTICATION_METHOD matches your setup ('api-search-key' or 'service-principal'). For service principal auth, also set AZURE_CLIENT_ID, AZURE_CLIENT_SECRET, and AZURE_TENANT_ID.

Server starts but no tools appear in the MCP client

Check the server logs for startup errors. Ensure the git repository URL is accessible and that your network allows outbound HTTPS to github.com. Try running the uvx command directly in a terminal to see error output before adding it to the client config.

Frequently Asked Questions about Azure AI Agent Service

What is Azure AI Agent Service?

Azure AI Agent Service is a Model Context Protocol (MCP) server that enables connections to azure ai agents within any mcp client, allowing users to leverage azure ai foundry's models and knowledge tools like azure ai search and bing web grounding through a conversational interface. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Azure AI Agent Service?

Follow the installation instructions on the Azure AI Agent Service GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Azure AI Agent Service?

Azure AI Agent Service works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Azure AI Agent Service free to use?

Yes, Azure AI Agent Service is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Cloud Services MCP Servers

Explore all cloud services servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "azure-ai-agent-service-mcp-server": { "command": "npx", "args": ["-y", "azure-ai-agent-service-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Azure AI Agent Service?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides