@@ -11,8 +11,8 @@ title: Using DSC with Model Context Protocol (MCP) Server
1111
1212Microsoft's Desired State Configuration (DSC) platform includes a built-in Model Context Protocol
1313(MCP) server that enables AI agents and development tools to interact with DSC resources and
14- functions through a standardized interface. This integration provides intelligent assistance for
15- discovering, invoking, and understanding DSC resources and functions on your system.
14+ configurations through a standardized interface. This integration provides intelligent assistance
15+ for discovering, invoking, and understanding DSC resources and functions on your system.
1616
1717The DSC MCP server exposes DSC's core functionality to AI agents, enabling them to help you
1818discover resources, understand their schemas, and work with DSC functions in an intelligent way.
@@ -32,38 +32,46 @@ Model Context Protocol (MCP) is an open standard that enables AI agents to secur
3232external data sources and tools. To learn more about MCP and how it works with AI agents, see
3333[ Use MCP servers in VS Code] [ 00 ] .
3434
35- ## Available DSC MCP tools
35+ ## How AI agents use DSC MCP tools
3636
37- The DSC MCP server provides three core tools for AI agents to interact with your DSC environment:
37+ The DSC MCP server enables AI agents to intelligently assist you by understanding what's
38+ available in your local DSC environment. Here's how agents use these capabilities to help
39+ fulfill your requests:
3840
39- ### ` list_dsc_resources `
41+ ### Discovering available resources
4042
41- Lists summary information for all DSC resources available on the local machine, including:
43+ When you ask an agent to help with system configuration tasks, the agent can discover what DSC
44+ resources are available on your machine. For example:
4245
43- - Resource type name and kind
44- - Description and capabilities
45- - Adapter requirements (for adapted resources)
46+ - ** You ask** : "How can I manage Windows registry settings?"
47+ - ** Agent discovers** : The ` Microsoft.Windows/Registry ` resource is available
48+ - ** Agent provides** : Specific guidance on using that resource for your registry management
49+ needs
4650
47- You can optionally filter to show only adapted resources that require a specific adapter type.
51+ This discovery helps agents provide accurate, system-specific recommendations rather than
52+ generic advice.
4853
49- ### ` show_dsc_resource `
54+ ### Understanding resource capabilities
5055
51- Retrieves detailed information about a specific DSC resource, including:
56+ When you need to configure something specific, agents can examine the exact properties and
57+ capabilities of relevant resources. For instance:
5258
53- - Complete resource metadata (type, version, capabilities, author)
54- - Full JSON schema for the resource's properties
55- - Resource kind and description
59+ - ** You ask ** : "I need to configure a Windows service to start automatically"
60+ - ** Agent examines ** : The ` Microsoft.Windows/WindowsService ` resource schema
61+ - ** Agent provides ** : The exact property names and valid values needed for your configuration
5662
57- ### ` list_dsc_functions `
63+ This ensures the guidance you receive matches what's actually available on your system.
5864
59- Enumerates all available DSC functions that can be used in configuration expressions, with:
65+ ### Working with DSC functions
6066
61- - Function names, categories, and descriptions
62- - Function metadata and usage information
63- - Optional filtering by function name patterns (supports wildcards)
67+ When you're building configuration expressions, agents can discover what functions are available
68+ to help solve your specific needs:
6469
65- These tools provide AI agents with information about your local DSC environment,
66- enabling them to provide guidance and assistance when working with DSC configurations.
70+ - ** You ask** : "How do I combine multiple arrays in a DSC configuration?"
71+ - ** Agent discovers** : Functions like ` union() ` , ` intersection() ` , and ` concat() ` are available
72+ - ** Agent provides** : Examples using the appropriate function for your use case
73+
74+ This helps agents suggest the most suitable approach using your available DSC capabilities.
6775
6876> [ !NOTE]
6977> Additional MCP tools will become available in future releases to expand the capabilities
0 commit comments