# local-scripts **Repository Path**: thedycui/local-scripts ## Basic Information - **Project Name**: local-scripts - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-02-28 - **Last Updated**: 2026-03-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Remote Log Diagnostic System Automated remote log analysis and debugging for test environments. ## Features - **SSH-MCP Server**: SSH connection with jump server support - **Log-Diagnostic Skill**: Natural language interface for debugging - **Auto-Configuration**: First-time setup via natural language - **Context Memory**: Remembers previous selections ## Quick Start ### 1. Install SSH-MCP Server ```bash cd mcp-servers/ssh-server pip install -e . ``` ### 2. Configure Claude Code The MCP server is already configured in `.claude/mcp.json`. ### 3. Use the Diagnostic Skill ``` /diagnose gece/job-pdf 生成pdf失败 taskId=abc123 ``` First time? Just describe your server setup: ``` 跳板机10.0.0.1 账号admin 密码xxx,目标web03和web04 ``` ## Commands | Command | Description | |---------|-------------| | `/diagnose [业务/组件] [问题] [关键词]` | Start diagnostic session | | `/diagnose` | Interactive mode | ## Architecture ``` Claude Code ├── SSH-MCP Server (Python) │ ├── ssh_connect │ ├── ssh_exec │ ├── read_log │ └── grep_log │ └── Log-Diagnostic Skill ├── Command Parser ├── Log Analyzer └── Config Manager ``` ## Configuration Files - `~/.claude/data/remote-diagnostic/servers.yaml` - Server configurations - `~/.claude/data/remote-diagnostic/context.yaml` - Session context ## Development ```bash # Run tests cd mcp-servers/ssh-server pytest tests/ -v # Run MCP server directly python -m ssh_server ```