mirror of
https://github.com/microsoft/mcp.git
synced 2026-11-04 12:01:31 +00:00
Updates instructions for Docker (#626)
* Fix Docker build instructions. Make ServerName mandatory. * Update README and TROUBLESHOOTING. * Move to single line. * Update servers/Azure.Mcp.Server/TROUBLESHOOTING.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Add preamble and link to TROUBLESHOOTING --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
f8fb0a85ba
commit
7fd81a3564
5 files changed
+66
-19
No files matched your search
@@ -246,7 +246,7 @@ dotnet build
|
||||
./eng/scripts/Build-Local.ps1 -DebugBuild
|
||||
|
||||
# Docker image build
|
||||
./eng/scripts/Build-Docker.ps1
|
||||
./eng/scripts/Build-Docker.ps1 -ServerName "Azure.Mcp.Server"
|
||||
```
|
||||
|
||||
### Testing Commands
|
||||
@@ -551,14 +551,14 @@ mcp.json configuration for local development:
|
||||
### Docker Development
|
||||
```powershell
|
||||
# Build local Docker image
|
||||
./eng/scripts/Build-Docker.ps1
|
||||
./eng/scripts/Build-Docker.ps1 -ServerName "Azure.Mcp.Server"
|
||||
|
||||
# Use in mcp.json
|
||||
{
|
||||
"servers": {
|
||||
"Azure MCP Server": {
|
||||
"command": "docker",
|
||||
"args": ["run", "-i", "--rm", "--env-file", "/path/to/.env", "azure/azure-mcp:latest"]
|
||||
"args": ["run", "-i", "--rm", "--env-file", "/path/to/.env", "azure-sdk/azure-mcp:<version-number-of-docker-image>"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user