22 Commits

Author SHA1 Message Date
7073d37c26 🔒 Fix SSL certificate verification in Gitea client
Replace boolean SSL verification with certificate bundle usage to eliminate InsecureRequestWarning. Implements prioritized CA bundle detection from environment variables and project-local certificates.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-03 17:36:42 +07:00
a0fc5c2bb2 🔒 Configure SSL certificates for MCP network connections
Update CA bundle configuration to enable secure HTTPS connections to internal Mei Sheng Group services. Extract and configure complete certificate chain from vault.ds.meisheng.group PKI system.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-03 17:25:39 +07:00
dc2fe4c425 Enhance log analysis with advanced filtering and search capabilities
Add comprehensive log analysis features to improve troubleshooting workflows:
- Time-based filtering (8pm-6am shifts) with HH:MM format support
- Multi-level log filtering (ERROR, WARNING, EMERGENCY, etc.)
- Full-text search across log content with case-insensitive matching
- Proper line break formatting for readable output
- Line count limiting for large log files

New REST API endpoints:
- /api/logs/errors/{job_id} - Get only error/warning logs
- /api/logs/search/{job_id} - Search logs for specific terms
- Enhanced /api/logs/job/{job_id} with filtering parameters

New MCP tools:
- get_error_logs - Streamlined error analysis
- search_job_logs - Pattern-based log searching
- Enhanced get_job_logs with all filtering options

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-02 17:42:35 +07:00
3aa1d90b89 📖 Add SSL certificate management guide to CLAUDE.md
- Document complete process for handling internal/corporate SSL certificates
- Explain CA bundle extraction and configuration methods
- Provide environment variable setup for multiple tools
- Include best practices for SSL certificate management
- Reusable guide for other projects with custom CAs

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-31 12:06:16 +07:00
53bee3340f 📝 Update SSL documentation with auto-renewal information
- Document 24-hour automatic certificate renewal
- Clarify that CA chain is stable and trustworthy long-term
- Update security considerations with SSL trust setup
- Provide clear guidance for long-term certificate trust

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-31 12:02:28 +07:00
bc67c9f502 🔒 Add SSL certificate chain for Mei Sheng Group services
- Extract and configure Mei Sheng Group CA certificates
- Create certificate bundle for proper SSL verification
- Add SSL test script to verify connections
- Configure environment for trusted SSL connections
- Resolve SSL verification issues with Gitea and internal services
- Add comprehensive SSL setup documentation

Fixes:
- Gitea SSL verification now works with CA bundle
- Python requests can verify internal SSL certificates
- Proper certificate chain established for internal services

Note: nomad_mcp hostname has underscore causing SSL hostname mismatch
- Service works but requires SSL verification workaround

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-31 11:59:45 +07:00
a0bd71e438 📚 Update documentation with complete MCP integration guide
- Enhanced README with new MCP features and setup instructions
- Updated MCP_INTEGRATION.md with Claude Desktop configuration
- Added network deployment options and security considerations
- Fixed README encoding from UTF-16 to UTF-8
- Comprehensive guide for both local and network MCP deployments
- Example usage patterns for Claude Desktop integration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-31 11:17:23 +07:00
09dcc8e507 Fix MCP server virtual environment issue with shell script
- Create run_mcp_server.sh script to properly handle uv virtual environment
- Update Claude Desktop config to use shell script instead of direct uv command
- Resolves 'ModuleNotFoundError: No module named mcp' issue

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-31 11:11:31 +07:00
defd03b13a Fix MCP server path issue in Claude Desktop config
- Use absolute path to mcp_server.py to prevent path resolution issues
- Resolves 'can't open file //mcp_server.py' error in Claude Desktop

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-31 11:04:55 +07:00
896ef83dc5 Fix Claude Desktop config for proper python execution
- Use full path to uv command for Claude Desktop
- Set correct working directory and Nomad server address
- Remove unnecessary PYTHONPATH since uv handles virtual env

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-31 11:00:15 +07:00
4205a48c73 Clean up Python cache files and add .gitignore
- Remove all __pycache__ directories from tracking
- Add comprehensive .gitignore for Python projects
- Prevent future cache file commits

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-31 10:56:46 +07:00
5d79edff49 Enhance MCP server with complete job workflow capabilities
- Add submit_job_file tool for HCL/JSON job file submission
- Add get_allocation_status tool for detailed allocation monitoring
- Add get_job_evaluations tool for placement failure analysis
- Add force_evaluate_job tool for retrying failed job placements
- Comprehensive testing confirms all capabilities work end-to-end
- Support complete workflow: submit → monitor → debug → retry

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-31 10:54:03 +07:00
4ed9da5b72 Add standalone MCP server for Claude Desktop integration
- Create dedicated MCP server with Nomad job management tools
- Add Claude Desktop configuration for MCP server connection
- Update requirements with mcp dependency for standalone server

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-31 10:42:38 +07:00
ba9201dfa6 Implement FastAPI MCP zero-config integration
- Add fastapi_mcp to provide automatic MCP tooling from API endpoints
- Create MCP request/response schema models
- Update main.py to initialize FastAPI MCP with zero config
- Add comprehensive MCP integration documentation
- Update README with zero-config MCP integration information

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-04-15 11:50:55 +07:00
403fa50b4f Add Claude Code integration with SSE support
- Add Server-Sent Events (SSE) endpoint for Claude Code MCP integration
- Create MCP configuration for Claude Code CLI
- Update tool configuration to support modern OpenAPI format
- Add documentation for Claude Code integration options
- Create CLAUDE.md guide for AI coding agents

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-29 12:52:21 +07:00
afae299e9c Add git status check before Nomad MCP deployment
- Implement comprehensive git status verification in deploy_nomad_mcp.py
- Add warning and interactive prompts for uncommitted changes
- Check local branch status against remote repository
- Provide options to continue or abort deployment
- Update Nomad job configuration to use DEBUG logging level
2025-02-26 17:32:38 +07:00
1c2166111b Revise Nomad Job Management Guide with comprehensive workflow and best practices 2025-02-26 17:28:18 +07:00
e3e19f5099 Refactor Nomad job configuration for nomad-mcp service 2025-02-26 17:25:35 +07:00
acae88076c Enhance static directory handling and job deployment configuration 2025-02-26 17:22:35 +07:00
5c619e1f19 update deploy_nomad_mcp 2025-02-26 16:10:35 +07:00
baf1723a50 Update README.md 2025-02-26 15:25:39 +07:00
d6acf632e3 first commit 2025-02-26 11:33:30 +07:00