azure-sdk-for-cpp/eng/common/mcp
Azure SDK Bot ac3e303859
Specify run directory as repo root for mcp runner (#6586)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-06-03 13:13:43 -07:00
..
azure-sdk-mcp.ps1 Specify run directory as repo root for mcp runner (#6586) 2025-06-03 13:13:43 -07:00
README.md Sync eng/common directory with azure-sdk-tools for PR 10733 (#6594) 2025-05-23 15:37:17 -04:00

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

Azure SDK MCP server code is in azure-sdk-tools/tools/azsdk-cli/Azure.Sdk.Tools.Cli.

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