Skip to main content
Glama
jackalterman

Windows Diagnostics MCP Server

by jackalterman

get_registry_health

Assess Windows registry health to identify issues affecting system stability and performance. Integrates with the Windows Diagnostics MCP Server for detailed system analysis.

Instructions

Get an overall registry health assessment

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that runs a PowerShell script to get registry health assessment and formats the results into MCP content.
    export async function getRegistryHealth() { const result = await runPowerShellScript(REGISTRY_SCRIPT, { JsonOutput: true }) as AllTypes.RegistryDiagnosticResults; return { content: [ { type: 'text', text: `# Registry Health Assessment - **Score**: ${result.RegistryHealth?.Score}/100 - **Rating**: ${result.RegistryHealth?.Rating} - **Issues Found**: ${result.RegistryHealth?.IssuesFound} ## Recommendations ${result.RegistryHealth && result.RegistryHealth.Recommendations && result.RegistryHealth.Recommendations.length > 0 ? result.RegistryHealth.Recommendations.map(r => `- ${r}`).join('\n\n') : 'No recommendations.'}`, }, ], }; }
  • Input schema definition for the tool, specifying no required parameters.
    name: 'get_registry_health', description: 'Get an overall registry health assessment', inputSchema: { type: 'object', properties: {}, }
  • src/index.ts:557-558 (registration)
    Tool dispatch registration in the CallToolRequestSchema handler, calling the registry.getRegistryHealth() function.
    case 'get_registry_health': return await registry.getRegistryHealth();

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