MCP server · Audited from source
Azure AI Agent Service MCP server
by azure-ai-foundry/mcp-foundryMIT licenceAudited 6 Oct 2026 · source a9161831d0c8
Is it safe? With care — CAUTION, grade B (89/100). It exposes 47 tools: 33 read, 11 write and 3 destructive. The audit recorded 6 findings (0 critical, 0 high, 4 medium, 0 low). Maintainer's description: A MCP Server for Azure AI Foundry: it's now moved to cloud, check the new Foundry MCP Server
Cite
Cite this page
ModelsAtlas. “Azure AI Agent Service MCP server (azure-ai-foundry/mcp-foundry)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/azure-ai-foundry/azure-ai-agent-service
Trust audit
Audit 0.4.1 · full source read 6 Oct 2026
6 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared4 observations
- NetworkDeclared7 observations
- ShellDeclared2 observations
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS |
L1 Static source | Secrets, path traversal, supply chain | WARN 3 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 2 findings |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
azure-ai-foundryOrganizationAccount type recorded when we read the repository. - PackagePublished on PyPI
mcp-foundry, no version recorded - LicenceMITFrom the repository, as read at the audited commit.
- Last push3 months agoActivity of the repository when we read it.
- Source commit reada9161831d0c8The audit covers exactly this commit, read on 6 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory47 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (6)
Sorted by severity
MEDIUMCode injectioncode.dynamic_import · src/mcp_foundry/mcp_server.py:16
package = importlib.import_module(base_package)
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMCode injectioncode.dynamic_import · src/mcp_foundry/mcp_server.py:28
importlib.import_module(module_name)
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · clients/python/pydantic-ai/main.py:28
ai_search_mcp_server = MCPServerHTTP(url='http://127.0.0.1:8000/sse')
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
delete_document, delete_index, delete_indexer
- Why
- 3 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
INFOPrompt injectionprompt.credential_read · 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
- asks the agent to read credentials
- Fix
- —
INFOSupply chainprompt.pipe_to_shell · clients/README.md:12
curl -LsSf https://astral.sh/uv/install.sh | sh
- Why
- No further detail recorded for this rule.
- Fix
- —
Tools it exposes
47 declared in source · 3 destructive
3 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | Risk | What it does |
|---|---|---|
delete_document | destructive | No description in the source |
delete_index | destructive | No description in the source |
delete_indexer | destructive | No description in the source |
add_document | write | No description in the source |
create_azure_ai_services_account | write | Create an Azure AI services account. |
create_foundry_project | write | Create an Azure AI Foundry Project. |
create_index | write | No description in the source |
create_indexer | write | No description in the source |
deploy_model_on_ai_services | write | Deploy a model to Azure AI. |
execute_dynamic_swagger_action | write | No description in the source |
get_skill_set | write | No description in the source |
modify_index | write | No description in the source |
run_agent_eval | write | No description in the source |
update_model_deployment | write | Update an existing model deployment on Azure AI. |
agent_query_and_evaluate | read | No description in the source |
connect_agent | read | No description in the source |
fetch_finetuning_status | read | No description in the source |
fk_fetch_local_file_contents | read | No description in the source |
fk_fetch_url_contents | read | No description in the source |
format_evaluation_report | read | No description in the source |
get_agent_evaluator_requirements | read | No description in the source |
get_data_source | read | No description in the source |
get_document_count | read | No description in the source |
get_finetuning_job_events | read | No description in the source |
get_finetuning_metrics | read | No description in the source |
get_indexer | read | No description in the source |
get_model_details_and_code_samples | read | No description in the source |
get_model_quotas | read | Get model quotas for a specific Azure location. |
get_prototyping_instructions_for_github_and_labs | read | No description in the source |
get_text_evaluator_requirements | read | No description in the source |
list_agent_evaluators | read | No description in the source |
list_agents | read | List available agents in the Azure AI Agent Service. |
list_azure_ai_foundry_labs_projects | read | No description in the source |
list_data_sources | read | No description in the source |
list_deployments_from_azure_ai_services | read | No description in the source |
list_dynamic_swagger_tools | read | No description in the source |
list_finetuning_files | read | No description in the source |
list_finetuning_jobs | read | No description in the source |
list_index_names | read | No description in the source |
list_index_schemas | read | No description in the source |
list_indexers | read | No description in the source |
list_models_from_model_catalog | read | No description in the source |
list_skill_sets | read | No description in the source |
list_text_evaluators | read | No description in the source |
query_default_agent | read | No description in the source |
query_index | read | Searches the Azure search index for documents matching the query criteria |
retrieve_index_schema | read | No description in the source |
Install
audited commit a916183
Read the findings first. The most severe is Code injection (medium) at src/mcp_foundry/mcp_server.py.
One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit a916183 only.
claude mcp add mcp-foundry --env AZURE_OPENAI_API_KEY=${AZURE_OPENAI_API_KEY} -- uvx mcp-foundry{
"mcpServers": {
"mcp-foundry": {
"command": "uvx",
"args": [
"mcp-foundry"
],
"env": {
"AZURE_OPENAI_API_KEY": "${AZURE_OPENAI_API_KEY}"
}
}
}
}The command does not pin a version; the audit covers commit a9161831d0c8. Transport: streamable-http. Reads this environment variable: AZURE_OPENAI_API_KEY. Give it the narrowest token it needs.
Audit history
- !CAUTION B 89 / 100
First audit ·
a9161831d0c8
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/azure-ai-foundry/azure-ai-agent-service/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Azure AI Agent Service MCP server
What is the Azure AI Agent Service MCP server?
What tools does Azure AI Agent Service expose?
Is Azure AI Agent Service safe to connect to an agent?
What credentials does Azure AI Agent Service need?
How does Azure AI Agent Service run?
How current is this page?
Sources
- azure-ai-foundry/mcp-foundry on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit a9161831d0c8Observed · 6 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Azure AI Agent Service MCP server?
- What tools does Azure AI Agent Service expose?
- Is Azure AI Agent Service safe to connect to an agent?