How microsoft/mcp works
This repository provides Microsoft MCP servers, chiefly Azure and Fabric, plus shared runtime libraries. The main user workflow is an MCP host connecting to a server and using its tools; Azure tools span resource operations, data queries, monitoring ingestion, and Storage Sync management. Shared layers include tool loading and command responses, with Azure services providing cloud access. The README establishes the server role, while sampled sources show selected command-to-service calls; other tool connections are omitted where implementation evidence was unavailable.
Main entry points: AzureService.cs Azure Core Services · DatabaseQueryCommand.cs PostgreSQL Query · MonitorIngestionService.cs Monitor Ingestion · StorageSyncService.cs Storage Sync
Components 14
MCP Server
- Azure Server
servers/Azure.Mcp.Server/src/Program.cs - Fabric Server
servers/Fabric.Mcp.Server/src/Program.cs
Shared Runtime
- Tool Loading
core/Microsoft.Mcp.Core/src/Areas/Server/Commands/ToolLoading - Server Discovery
core/Microsoft.Mcp.Core/src/Areas/Server/Commands/Discovery - Command Response
core/Microsoft.Mcp.Core/src/Models/Command/CommandResponse.cs
Azure Access
- Azure Core Services
core/Azure.Mcp.Core/src/Services/Azure/AzureService.cs
Tool Capabilities
- PostgreSQL Query
tools/Azure.Mcp.Tools.Postgres/src/Commands/Database/DatabaseQueryCommand.cs - PostgreSQL Service
tools/Azure.Mcp.Tools.Postgres/src/Services - Monitor Ingestion
tools/Azure.Mcp.Tools.Monitor/src/Services/MonitorIngestionService.cs - Storage Sync
tools/Azure.Mcp.Tools.StorageSync/src/Services/StorageSyncService.cs - Storage Tools
tools/Azure.Mcp.Tools.Storage - Fabric Data Factory
tools/Fabric.Mcp.Tools.DataFactory/src/Commands/Pipeline/CreatePipelineCommand.cs
Other components
- MCP Host
- Azure Services
Connections 7
- MCP Host → Azure Server: connects to
README.md - MCP Host → Fabric Server: connects to
README.md - PostgreSQL Query → PostgreSQL Service: executes query
tools/Azure.Mcp.Tools.Postgres/src/Commands/Database/DatabaseQueryCommand.cs - PostgreSQL Query → Command Response: sets results
tools/Azure.Mcp.Tools.Postgres/src/Commands/Database/DatabaseQueryCommand.cs - Monitor Ingestion → Azure Core Services: uses Azure access
tools/Azure.Mcp.Tools.Monitor/src/Services/MonitorIngestionService.cs - Storage Sync → Azure Core Services: uses Azure access
tools/Azure.Mcp.Tools.StorageSync/src/Services/StorageSyncService.cs - Azure Core Services → Azure Services: accesses cloud
core/Azure.Mcp.Core/src/Services/Azure/AzureService.cs