Skip to main content
Glama
jackalterman

Windows Diagnostics MCP Server

by jackalterman

scan_system_components

Identify and analyze issues in Windows system components such as services, drivers, and uninstall entries to improve system stability and performance.

Instructions

Scan system components like services, drivers, and uninstall entries for issues

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main asynchronous handler function that runs a PowerShell script to scan system components (services, uninstall entries, file associations, drivers) for issues and returns formatted markdown results.
    export async function scanSystemComponents() { const result = await runPowerShellScript(REGISTRY_SCRIPT, { ScanServices: true, ScanUninstall: true, ScanFileAssoc: true, ScanDrivers: true, JsonOutput: true }) as AllTypes.RegistryDiagnosticResults; return { content: [ { type: 'text', text: `# System Component Scan ${result.SystemComponents && result.SystemComponents.length > 0 ? result.SystemComponents.map(c => `- **Type**: ${c.Type} **Name**: ${c.Name} **Issue**: ${c.Issue} **Details**: ${c.Details}`).join('\n\n') : 'No issues found with system components.'}`, }, ], }; }
  • src/index.ts:145-152 (registration)
    Tool registration in the ListToolsRequestSchema handler. Defines the tool name, description, and input schema (no required parameters).
    { name: 'scan_system_components', description: 'Scan system components like services, drivers, and uninstall entries for issues', inputSchema: { type: 'object', properties: {}, } },
  • src/index.ts:553-554 (registration)
    Dispatch registration in the CallToolRequestSchema switch statement that maps tool calls to the scanSystemComponents handler.
    case 'scan_system_components': return await registry.scanSystemComponents();

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jackalterman/windows-diagnostic-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server