Repository navigation
Getting Started with GitHub Copilot
Use GitHub Copilot in VS Code or GitHub Copilot CLI to work with your SCOM management group. Both can start Cookdown SCOM MCP as a local Windows process. For the Microsoft 365 and personal Copilot products, see Microsoft Copilot compatibility.
- On the Windows machine running Copilot, install the SCOM SDK and extract the Cookdown SCOM MCP ZIP to its permanent location. For a source build use the Release executable. Install from ZIP · Build from source
- Sign in as the Windows user who runs the client. In PowerShell, open the folder containing the packaged executable and run
.\Install-CookdownScomMcp.ps1 -Client None. For a source build the setup script is undertools\setup. Enter the management server and SDK location. Integrated uses the Windows account and clears the selected saved credential. Saved account stores a SCOM account in Windows Credential Manager. Check the group and account shown by setup. Credential setup
- Open a local Windows VS Code window, select GitHub Copilot and sign in. Open the Command Palette and run MCP: Add Server. Choose Command (stdio), then enter the full path to
cookdown-scom-mcp.exe. Quote the path if it contains spaces. - Give the server the ID
cookdown-scomand choose Global → Copilot Global. If this destination is unavailable, use the CLI route below. The editor-managedmcp.jsonoffered by the older Local harness uses a different schema. VS Code MCP setup · Configuration formats - For Copilot Global, open the entry in Chat: Open Customizations → MCP Servers. The example below shows a complete
~/.copilot/mcp-config.jsonwith one server. If your file contains other entries, update onlycookdown-scom. Substitute the full path to the executable, the management server and the actual SDK folder.
{
"mcpServers": {
"cookdown-scom": {
"type": "stdio",
"command": "C:\\Tools\\Cookdown\\cookdown-scom-mcp.exe",
"args": [],
"env": {
"SCOM_Scom__ManagementServer": "scom01.contoso.com",
"SCOM_SDK_PATH": "C:\\SCOM\\SDK Binaries"
},
"tools": ["scom_test_connection", "scom_list_recent_alerts"]
}
}
}The example enables the two read-only tools used below. If setup stored the account under a custom credential target, include SCOM_CREDENTIAL_TARGET with that target name in env. Keep passwords in Windows Credential Manager. Restart the server after changing the entry, review the command when VS Code asks for trust and open a fresh local Copilot chat.
The CLI shares the native Copilot user configuration. If you already created the Copilot Global entry, run copilot mcp get cookdown-scom to check it. Otherwise use PowerShell to add it. GitHub Copilot CLI MCP guide
copilot mcp add cookdown-scom --tools 'scom_test_connection,scom_list_recent_alerts' --env 'SCOM_Scom__ManagementServer=scom01.contoso.com' --env 'SCOM_SDK_PATH=C:\SCOM\SDK Binaries' -- 'C:\Tools\Cookdown\cookdown-scom-mcp.exe'
copilot mcp get cookdown-scomUse your own paths and server. For a custom saved credential, add --env 'SCOM_CREDENTIAL_TARGET=your-target-name' before --. Start an interactive copilot session and use /mcp to check which servers are connected.
Use the cookdown-scom server to call scom_test_connection. Which management server, management group and account does SCOM report?
Expand the tool result in your client. Look for isConnected: true and compare managementServer, managementGroup and identity with the expected values. Then ask “Use scom_list_recent_alerts to show one alert raised in the last 24 hours.” An empty list means there were no matching alerts visible to that account. Tool output used in chat is processed by the Copilot service. Choose data your organization permits for that use. Connection fields · Recent alerts
Verified 29 November 2026. GitHub Copilot CLI 1.0.117 discovered Cookdown SCOM MCP 0.1.0 and invoked the connection tool from a real chat using a saved account. Its structured result matched the expected Fast Lab server, management group and identity. In a separate run, the VS Code 1.148.0 editor-managed MCP client discovered both tools, returned the same expected connection details and completed a recent-alert read with a limit of one. A local extension invoked them through VS Code’s tool API. The installed editor also displayed the test prompt in a new Copilot chat and requested GitHub sign-in. The live in-chat result was verified in the CLI only.
If the server is missing, confirm that the executable still exists and that you selected a local Windows session and the intended Copilot configuration. If the client sees the tools but the connection fails or the account differs, check the server, SDK and credential source. Troubleshooting
For a Copilot Global entry, run copilot mcp remove cookdown-scom or remove the entry from VS Code’s MCP configuration. This also affects other clients sharing that configuration. If the saved SCOM credential is dedicated to this installation, remove it with .\Install-CookdownScomMcp.ps1 -Remove -Client None, adding the same -CredentialTarget if you selected a custom one. Keep the credential if another client still needs it. Getting Started