ssl_ca_status
Check SSL certificate authority status and configuration for proxy server security monitoring.
Instructions
Get current CA status and configuration
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ssl_ca_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/tool-handlers.js:138-145 (handler)The handler case for 'ssl_ca_status' in _handleSSLTool method. Calls sslManager.getCAStatus() and returns formatted text response with JSON status.
case 'ssl_ca_status': const status = this.sslManager.getCAStatus(); return { content: [{ type: "text", text: `🔒 SSL Manager Status\n\n${JSON.stringify(status, null, 2)}` }] }; - Tool definition including name, description, and empty input schema (no parameters required). Used for MCP tool listing and validation.
ssl_ca_status: { name: "ssl_ca_status", description: "Get current CA status and configuration", inputSchema: { type: "object", properties: {} } }, - src/ssl/ssl-manager.js:461-468 (helper)Core helper method that returns the SSL CA status object used by the tool handler.
getCAStatus() { return { initialized: this.initialized, currentCA: this.currentCA, caDir: this.caDir, caInfo: this.caInfo || null }; } - index.js:77-91 (registration)MCP server CallTool request handler that routes tool calls (including ssl_ca_status) to ToolHandlers.handleTool for execution.
this.server.setRequestHandler(CallToolRequestSchema, async (request) => { const { name, arguments: args } = request.params; try { const result = await this.toolHandlers.handleTool(name, args || {}); if (result.isError) { throw new McpError( ErrorCode.InternalError, result.error ); } return result; - index.js:66-74 (registration)MCP server ListTools request handler that registers all tools (including ssl_ca_status) from tool-definitions.js for discovery.
this.server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools: Object.entries(TOOLS).map(([name, tool]) => ({ name, description: tool.description, inputSchema: tool.inputSchema })) }; });