Atlas / MCP servers / azure-ai-foundry / Azure AI Agent Service

Azure AI Agent ServiceCAUTION

mcp/azure-ai-foundry/azure-ai-agent-service

A MCP Server for Azure AI Foundry: it's now moved to cloud, check the new Foundry MCP Server

Verdict
CAUTION
Grade
B
Trust score
89 /100
Exposed tools
47 33r · 11w · 3d
Transport
streamable-http
License
MIT
Stars
261
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

A Model Context Protocol server for Azure AI Foundry, providing a unified set of tools for models, knowledge, evaluation, and more.

[](https://github.com/azure-ai-foundry/mcp-foundry/watchers) [](https://github.com/azure-ai-foundry/mcp-foundry/fork) [](https://github.com/azure-ai-foundry/mcp-foundry/stargazers)

[](https://discord.gg/REmjGvvFpW)

Important notice

MCP Server for Azure AI Foundry (experimental) has moved to the cloud, now as Foundry MCP Server (preview). Please check the official public documentation at Get started with Foundry MCP Server (preview). This GitHub repository contains the outdated information on the previous experimental server implementation, and will not be updated further. Instead, refer to the new, remotely hosted and managed Foundry MCP Server, that has the following benefits:

  • Cloud-hosted interface for AI tool orchestration: Foundry MCP Server (preview) provides a secure, scalable endpoint for MCP-compliant clients. You don't need to deploy infrastructure, enabling seamless integration and multi-agent scenarios.
  • Identity and access control: The server enforces authentication and authorization with Microsoft Entra ID. It performs all operations within the authenticated user's permissions (On-Behalf-Of flow).
  • Scenario-focused, extensible tools: The MCP Server exposes a growing set of tools for read and write operations on models, deployments, evaluations, and
Read from source at commit a9161831d0c8OBSERVED · 2026-10-06
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add mcp-foundry --env AZURE_OPENAI_API_KEY=${AZURE_OPENAI_API_KEY} -- uvx mcp-foundry
claude-desktop
{
  "mcpServers": {
    "mcp-foundry": {
      "command": "uvx",
      "args": [
        "mcp-foundry"
      ],
      "env": {
        "AZURE_OPENAI_API_KEY": "${AZURE_OPENAI_API_KEY}"
      }
    }
  }
}
03

Exposed tools (47)

33 read · 11 write · 3 destructive. Blast radius: 3 tools can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
add_documentwrite
agent_query_and_evaluateread
connect_agentread
create_azure_ai_services_accountwriteCreate an Azure AI services account.
create_foundry_projectwriteCreate an Azure AI Foundry Project.
create_indexwrite
create_indexerwrite
delete_documentdestructive
delete_indexdestructive
delete_indexerdestructive
deploy_model_on_ai_serviceswriteDeploy a model to Azure AI.
execute_dynamic_swagger_actionwrite
fetch_finetuning_statusread
fk_fetch_local_file_contentsread
fk_fetch_url_contentsread
format_evaluation_reportread
get_agent_evaluator_requirementsread
get_data_sourceread
get_document_countread
get_finetuning_job_eventsread
get_finetuning_metricsread
get_indexerread
get_model_details_and_code_samplesread
get_model_quotasreadGet model quotas for a specific Azure location.
get_prototyping_instructions_for_github_and_labsread
get_skill_setwrite
get_text_evaluator_requirementsread
list_agent_evaluatorsread
list_agentsreadList available agents in the Azure AI Agent Service.
list_azure_ai_foundry_labs_projectsread
list_data_sourcesread
list_deployments_from_azure_ai_servicesread
list_dynamic_swagger_toolsread
list_finetuning_filesread
list_finetuning_jobsread
list_index_namesread
list_index_schemasread
list_indexersread
list_models_from_model_catalogread
list_skill_setsread
list_text_evaluatorsread
modify_indexwrite
query_default_agentread
query_indexreadSearches the Azure search index for documents matching the query criteria
retrieve_index_schemaread
run_agent_evalwrite
update_model_deploymentwriteUpdate an existing model deployment on Azure AI.
04

Trust audit

CAUTIONgrade B · trust 89/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (4 observation(s))
Network
declared (7 observation(s))
Shell
declared (2 observation(s))
Dependencies
pinned
Secrets in source
none-found

Findings (6)

MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
src/mcp_foundry/mcp_server.py:16
package = importlib.import_module(base_package)
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
src/mcp_foundry/mcp_server.py:28
importlib.import_module(module_name)
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
clients/python/pydantic-ai/main.py:28
ai_search_mcp_server = MCPServerHTTP(url='http://127.0.0.1:8000/sse')
MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
delete_document, delete_index, delete_indexer
Why it matters. 3 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
INFOPrompt injection · prompt.credential_read · CWE-94, CWE-1427
clients/README.md:62
> - The server can take `.env` file as an argument to load environment variables from it. You can use the `--envFile` option to specify the path to the `.env` file. If the file is not found, the serve
Why it matters. asks the agent to read credentials
INFOSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
clients/README.md:12
curl -LsSf https://astral.sh/uv/install.sh | sh

Gates applied: no_behavioural_pass.

Audited 2026-10-06 · audit v0.4.1 · source sha a9161831d0c8full audit observations/trust-audit/mcp-server/azure-ai-foundry__azure-ai-agent-service.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-06a9161831d0c8CAUTIONB89first audit
06

Questions

What is the Azure AI Agent Service MCP server?

A MCP Server for Azure AI Foundry: it's now moved to cloud, check the new Foundry MCP Server

What tools does Azure AI Agent Service expose?

47 in total: 33 read-only, 11 that write, and 3 that can delete or overwrite (delete_document, delete_index, delete_indexer). Every one is listed on this page with its risk.

Is Azure AI Agent Service safe to connect to an agent?

With care. The audit graded it B (89/100) and found 6 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 3 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does Azure AI Agent Service need?

It reads AZURE_OPENAI_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does Azure AI Agent Service run?

It speaks streamable-http, so it runs as a service you connect to over the network. It is published on PyPI as mcp-foundry.

How current is this page?

The grade is for one exact copy of the source (a9161831d0c8), read on 2026-10-06. The repository is watched and re-audited when it changes.

Advertisement