azure-sdk-for-cpp/eng/common/mcp
Azure SDK Bot 126452efd3
Fixes to auto-download/start azsdk mcp (#6578)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-05-15 19:44:59 -04:00
..
azure-sdk-mcp.ps1
README.md

Azure SDK MCP Servers

This document details how to author, publish and use MCP servers for azure sdk team usage.

Using the Azure SDK MCP Server

Run the below command to download and run the azure sdk engsys mcp server manually:

<repo root>/eng/common/mcp/azure-sdk-mcp.ps1 -Run

To install the mcp server for use within vscode copilot agent mode, run the following then launch vscode from the repository root.

<repo root>/eng/common/mcp/azure-sdk-mcp.ps1 -UpdateVsCodeConfig

When updating the config the script will not overwrite any other server configs.

The script will install the latest version of the azsdk cli executable from tools releases and install it to $HOME/.azure-sdk-mcp/azsdk.

Authoring an MCP server

MCP server code should be placed in azure-sdk-tools/tools/mcp/dotnet.

Azure SDK MCP servers should support stdio and sse transports.

When running in copilot the default is stdio mode, but SSE is useful to support for external debugging.

Developing MCP servers in C#

See the C# MCP SDK

Add an SSE transport

TODO: Add the azsdk-cli project to pull in MCP server dependencies from the repo