Skip to main content
Glama

MCP Console Automation Server

by ooples
CLAUDE.md1.97 kB
# Claude Development Guidelines ## Project Information - **Repository**: https://github.com/ooples/mcp-console-automation - **Description**: MCP Console Automation - A tool for managing console sessions with SSH support - **Important**: This is the ooples/mcp-console-automation project, NOT any other similarly named project ## Important Rules ### Code Organization and Improvements 1. **NO SEPARATE "IMPROVED" VERSIONS**: When making enhancements or fixes: - Always modify the original file or class directly - Do NOT create separate "Improved", "Enhanced", "Fixed" or similar versions - Maintain a single source of truth for each component - If significant changes are needed, refactor the existing code instead of duplicating 2. **Version Management**: - Use version control (git) for tracking changes, not file duplication - Keep the codebase clean and maintainable with single implementations - Document major changes in comments or commit messages, not separate files 3. **Testing and Validation**: - Always run lint and typecheck commands after making changes - Test changes thoroughly before considering work complete - Run: `npm run lint` and `npm run typecheck` (or equivalent commands) ## Project-Specific Guidelines ### MCP Console Automation (ooples/mcp-console-automation) - This project handles console session management with comprehensive diagnostics - Original working version available at: https://github.com/ooples/mcp-console-automation - Check the original implementation for reference when fixing issues - Key components: - ConsoleManager: Core session management - DiagnosticsManager: Diagnostic tracking and reporting - SessionValidator: Session health validation ### Session Management Best Practices - Properly handle both one-shot and persistent sessions - Validate session state before operations - Clean up resources and handle errors gracefully - Track session lifecycle events for diagnostics

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/ooples/mcp-console-automation'

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