Skip to content

Commit 21e24b4

Browse files
committed
Incorporate feedback
1 parent 40a329b commit 21e24b4

6 files changed

Lines changed: 24 additions & 24 deletions

File tree

articles/azure-resource-manager/bicep/bicep-mcp-server.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,28 @@ The Bicep MCP server is available starting with Visual Studio Code Bicep extensi
3737

3838
## Integration with other AI services
3939

40-
To run the Azure Bicep MCP server locally for Claude Desktop and Code, OpenAI Codex CLI, and LMStudio where you can use it with various models, see [Azure Bicep MCP Server Integrations with other AI services](https://github.com/johnlokerse/azure-bicep-mcp-integration-setup/tree/main?tab=readme-ov-file).
40+
You can run the Azure Bicep MCP server locally for Claude Desktop and Code, OpenAI Codex CLI, and LMStudio where you can use it with various models.
41+
42+
By using [.NET 10.0 SDK](https://dotnet.microsoft.com/download/dotnet/10.0?WT.mc_id=MVP_323261), you can use `dnx` to get the latest version of the Bicep MCP server directly from the NuGet package without needing to build it yourself.
43+
44+
```
45+
dnx -y Azure.Bicep.McpServer
46+
```
47+
48+
The following JSON is an example of configuration for Visual Studio Code:
49+
50+
```json
51+
"Bicep": {
52+
"type": "stdio",
53+
"command": "dnx",
54+
"args": [
55+
"-y",
56+
"Azure.Bicep.McpServer"
57+
]
58+
}
59+
```
60+
61+
For more information, see [Configuration format](https://code.visualstudio.com/docs/copilot/customization/mcp-servers#_configuration-format).
4162

4263
## Next steps
4364

Binary file not shown.
Binary file not shown.
Binary file not shown.

articles/azure-resource-manager/bicep/quickstart-create-bicep-use-visual-studio-code-module-context-protocol.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ This quickstart shows you how to use Visual Studio Code and [Bicep MCP Server](.
1919
If you don't have an Azure subscription, [create a free account](https://azure.microsoft.com/pricing/purchase-options/azure-account?cid=msft_learn).
2020

2121
1. To set up your environment for Bicep development, see [Install Bicep tools](install.md). After completing those steps, you have [Visual Studio Code](https://code.visualstudio.com/) and the [Bicep extension](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-bicep) version 0.40.2 or later installed. The Bicep extension version 0.40.2 automatically installs the Bicep MCP server. You also have either the latest [Azure CLI](/cli/azure/) version or [Azure PowerShell module](/powershell/azure/new-azureps-module-az).
22-
1. Start Bicep MCP server. See [Start and stop the Bicep MCP server](./visual-studio-code.md#start-and-stop-the-bicep-mcp-server).
23-
1. Enable the Bicep MCP server tools. See [Manage the MCP server](./visual-studio-code.md#manage-the-mcp-server).
22+
1. Start Bicep MCP server. See the third option of [Manage installed MCP servers](https://code.visualstudio.com/docs/copilot/customization/mcp-servers#_manage-installed-mcp-servers).
23+
1. Enable the Bicep MCP server tools. See [Use MCP tools in chat](https://code.visualstudio.com/docs/copilot/customization/mcp-servers#_use-mcp-tools-in-chat).
2424

2525
## Create a Bicep file by using Bicep MCP
2626

articles/azure-resource-manager/bicep/visual-studio-code.md

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -214,27 +214,6 @@ For general information abouting using MCP servers in Visual Studio Code, see [U
214214

215215
For walking through a quickstart, see [Quickstart: Create Bicep files with Visual Studio Code and Bicep MCP server](./quickstart-create-bicep-use-visual-studio-code-module-context-protocol.md).
216216

217-
### Start and stop the Bicep MCP server
218-
219-
1. From the `View` menu, select `Command palette`.
220-
1. Type **MCP**, and then select **MCP: List Servers**.
221-
222-
:::image type="content" source="./media/visual-studio-code/mcp-list-servers.png" alt-text="Screenshot of listing MCP servers.":::
223-
224-
You should see the `Bicep` server listed with its status. If you don't see it, make sure you have Bicep extension version 0.40.2 or later installed.
225-
226-
:::image type="content" source="./media/visual-studio-code/mcp-bicep-server.png" alt-text="Screenshot of Bicep MCP server.":::
227-
228-
1. If the status is `Stopped`, select `Bicep`, and then select `Start Server`.
229-
230-
### Manage the MCP server
231-
232-
1. From the `View` menu, select `Chat` to open the Chat pane.
233-
1. Select the `Configure tools` icon.
234-
1. Expand `Bicep` to see the available Bicep MCP server tools. Select which tools the agent can use, and then select `OK`.
235-
236-
:::image type="content" source="./media/visual-studio-code/mcp-Bicep-server-tools.png" alt-text="Screenshot of Bicep MCP server tools.":::
237-
238217
## Use quick fix suggestions
239218

240219
The light bulb in VS Code represents a quick fix suggestion. It appears when the editor detects an issue or an improvement opportunity in your code. Clicking on the light bulb displays a menu of actions that can address the issue or enhance the code.

0 commit comments

Comments
 (0)