Describe the bug
Unable to run via Docker
Expected behavior
As per instructions mentioned here : https://github.com/microsoft/mcp/blob/main/servers/Azure.Mcp.Server/README.md
I should be able to run Azure MCP locally in docker
Actual behavior
error running in docker
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: exec: "./azmcp": permission denied: unknown
2025-10-04 19:25:15.593 [warning] [server stderr]
2025-10-04 19:25:15.593 [warning] [server stderr] Run 'docker run --help' for more information
2025-10-04 19:25:15.599 [info] Connection state: Error Process exited with code 126
Reproduction Steps
Steps to reproduce
- In VS Code, add a new MCP server as shown below
{
"servers": {
"Azure MCP Server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--env-file",
".env",
"mcr.microsoft.com/azure-sdk/azure-mcp:latest"
]
}
}
}
- Start the server
- The
.env has the below format
AZURE_CLIENT_ID=xxx
AZURE_CLIENT_SECRET=xxx
AZURE_TENANT_ID=xxx
AZURE_SUBSCRIPTION_ID=xxx
Environment
Client:
Version: 28.4.0
API version: 1.51
Go version: go1.24.7
Built: Wed Sep 3 20:59:40 2025
OS/Arch: windows/amd64
Context: desktop-linux
Server: Docker Desktop 4.46.0 (204649)
Engine:
Version: 28.4.0
API version: 1.51 (minimum version 1.24)
Go version: go1.24.7
Built: Wed Sep 3 20:57:37 2025
OS/Arch: linux/amd64
Experimental: false
Describe the bug
Unable to run via Docker
Expected behavior
As per instructions mentioned here : https://github.com/microsoft/mcp/blob/main/servers/Azure.Mcp.Server/README.md
I should be able to run Azure MCP locally in docker
Actual behavior
error running in docker
Reproduction Steps
Steps to reproduce
.envhas the below formatEnvironment
Client:
Version: 28.4.0
API version: 1.51
Go version: go1.24.7
Built: Wed Sep 3 20:59:40 2025
OS/Arch: windows/amd64
Context: desktop-linux
Server: Docker Desktop 4.46.0 (204649)
Engine:
Version: 28.4.0
API version: 1.51 (minimum version 1.24)
Go version: go1.24.7
Built: Wed Sep 3 20:57:37 2025
OS/Arch: linux/amd64
Experimental: false