Skip to main content
Glama
jackalterman

Windows Diagnostics MCP Server

by jackalterman

scan_security_risks

Identify potential security vulnerabilities by scanning the Windows registry, enabling proactive risk mitigation and system stability analysis.

Instructions

Scan the registry for potential security risks

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The core handler function for the 'scan_security_risks' tool. It runs a PowerShell script to scan the Windows registry for security risks, processes the JSON output, and returns formatted markdown results.
    export async function scanSecurityRisks() { const result = await runPowerShellScript(REGISTRY_SCRIPT, { SecurityScan: true, JsonOutput: true }) as AllTypes.RegistryDiagnosticResults; return { content: [ { type: 'text', text: `# Security Risk Scan ${result.SecurityFindings && result.SecurityFindings.length > 0 ? result.SecurityFindings.map(f => `- **ID**: ${f.ID} **Severity**: ${f.Severity} **Description**: ${f.Description} **Details**: ${f.Details} **Recommendation**: ${f.Recommendation}`).join('\n\n') : 'No security risks found.'}`, }, ], }; }
  • src/index.ts:169-176 (registration)
    Tool registration in the list provided to MCP's ListTools handler, including name, description, and input schema (empty object).
    { name: 'scan_security_risks', description: 'Scan the registry for potential security risks', inputSchema: { type: 'object', properties: {}, } },
  • src/index.ts:559-560 (registration)
    Dispatch case in the CallTool request handler that routes calls to the scanSecurityRisks function from the registry module.
    case 'scan_security_risks': return await registry.scanSecurityRisks();
  • Input schema definition for the tool (accepts no parameters).
    inputSchema: { type: 'object', properties: {}, }
Install Server

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