Connect MCP clients to Azure AI Foundry models, knowledge tools and agents; this repository has moved to the cloud-hosted Foundry MCP Server.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add azure-ai-foundry -- uvx --prerelease=allow --from git+https://github.com/azure-ai-foundry/mcp-foundry.git run-azure-ai-foundry-mcp~/.codex/config.toml
[mcp_servers.azure-ai-foundry]
command = "uvx"
args = ["--prerelease=allow", "--from", "git+https://github.com/azure-ai-foundry/mcp-foundry.git", "run-azure-ai-foundry-mcp"]
# codex mcp add azure-ai-foundry -- uvx --prerelease=allow --from git+https://github.com/azure-ai-foundry/mcp-foundry.git run-azure-ai-foundry-mcp~/.cursor/mcp.json
{
"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"
]
}
}
}.vscode/mcp.json
{
"servers": {
"azure-ai-foundry": {
"type": "stdio",
"command": "uvx",
"args": [
"--prerelease=allow",
"--from",
"git+https://github.com/azure-ai-foundry/mcp-foundry.git",
"run-azure-ai-foundry-mcp"
]
}
}
}~/.gemini/settings.json
{
"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"
]
}
}
}claude_desktop_config.json
{
"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"
]
}
}
}.trae/mcp.json
{
"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"
]
}
}
}