Note: These MCP servers were generated using Cursor AI tools. While functional, they may benefit from human review and refinement for production use.
A comprehensive collection of Model Context Protocol (MCP) servers for managing various infrastructure components. These servers enable AI assistants to directly interact with and manage your infrastructure through standardized MCP interfaces.
This repository contains MCP servers for the following platforms:
| Project | Status | Description |
|---|---|---|
| pfSense MCP | β Production Ready | Firewall and network management for pfSense |
| TrueNAS MCP | β Production Ready | Storage and NAS management for TrueNAS |
| iDRAC MCP | β Production Ready | Dell PowerEdge server management via iDRAC |
| Proxmox MCP | β Production Ready | Virtualization platform management for Proxmox VE |
- Python 3.8+ for all projects
- Docker (optional, for containerized deployment)
- Network access to your target systems
- API credentials for each platform
-
Clone the repository:
git clone <your-repo-url> cd damens_mcps
-
Choose your project and navigate to it:
cd pfsense-mcp # For pfSense management cd truenas-mcp # For TrueNAS management cd idrac-mcp # For Dell server management (production ready) cd proxmox-mcp # For Proxmox management (production ready)
-
Set up virtual environment:
python3 -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate pip install -r requirements.txt
-
Configure environment:
cp env.example .env # Edit .env with your system credentials -
Start the server:
# Method varies by project - check individual READMEs python -m src.http_server # or python -m src.cli serve
Each project uses environment variables for configuration. Copy the env.example file to .env and update with your settings:
# Example for pfSense
PFSENSE_HOST=192.168.1.1
PFSENSE_USERNAME=admin
PFSENSE_PASSWORD=your-password
PFSENSE_API_KEY=your-api-key
# Example for TrueNAS
TRUENAS_HOST=192.168.1.100
TRUENAS_API_KEY=your-api-key
TRUENAS_USERNAME=admin
TRUENAS_PASSWORD=your-password- Change default passwords in production
- Use API keys instead of passwords when possible
- Update IP addresses from example values
- Use HTTPS for all connections
- Restrict network access to MCP servers
Docker deployment is available for TrueNAS MCP and Proxmox MCP projects:
# Navigate to project with Docker support
cd truenas-mcp # or proxmox-mcp
# Build and run with Docker Compose
docker-compose -f docker/docker-compose.yml up -d
# Or build manually
docker build -f docker/Dockerfile -t mcp-server .
docker run -p 8000:8000 --env-file .env mcp-serverDocker Support by Project:
| Project | Docker Support | K8s Support |
|---|---|---|
| TrueNAS MCP | β Yes | β Yes |
| Proxmox MCP | β Yes | β Yes |
| pfSense MCP | β No | β No |
| iDRAC MCP | β No | β No |
Note: pfSense and iDRAC projects are designed for direct Python execution due to their specific deployment requirements and are not currently containerized.
Kubernetes manifests are provided for TrueNAS MCP and Proxmox MCP:
# Navigate to project with K8s support
cd truenas-mcp # or proxmox-mcp
# Deploy to Kubernetes
kubectl apply -f k8s/
# Check deployment status
kubectl get pods -l app=mcp-serverEach server provides health check endpoints:
# Check server health
curl http://localhost:8000/health
# Get server status
curl http://localhost:8000/statusAll projects now have comprehensive test infrastructure with CI/CD automation:
| Project | Tests | Coverage | Status |
|---|---|---|---|
| pfSense | 14+ | 6% (49% validation) | β Passing |
| TrueNAS | 20+ | Framework ready | β Ready |
| iDRAC | 11+ | 15% (91% validation) | β Passing |
| Proxmox | 18+ | 11% (72% validation) | β Passing |
# Navigate to any project
cd <project-name>
# Install test dependencies
pip install pytest pytest-cov pytest-asyncio pytest-mock
# Run all tests
pytest tests/ -v
# Run with coverage report
pytest tests/ --cov=src --cov-report=html
# Run specific test file
pytest tests/test_validation.py -vRun code quality checks locally on all projects:
# Run all quality checks (black, isort, flake8, mypy, bandit, safety, interrogate)
./run_code_quality_checks.shSee CODE_QUALITY.md for detailed code quality standards and tools.
Automated checks run on every push and pull request via GitHub Actions:
- β All 4 projects tested independently
- β Coverage reports uploaded to Codecov
- β Python 3.12 compatibility verified
- β Code quality checks (linting, formatting, security, type checking)
See TESTING.md for detailed testing guide and TEST_COVERAGE_SUMMARY.md for coverage details.
# Test with actual system (requires configuration)
python examples/basic_usage.pyEach project has detailed documentation:
- Individual READMEs in each project directory
- CLAUDE.md - Development guidelines and architecture overview for AI assistant integration
- CODE_QUALITY.md - Code quality standards and tools documentation
- API Documentation in
docs/folders - Example scripts in
examples/directories - Deployment guides for Docker and Kubernetes
project-name/
βββ src/ # Source code
β βββ auth.py # Authentication
β βββ client.py # API client
β βββ server.py # MCP server
β βββ utils/ # Utilities
βββ tests/ # Test files
βββ examples/ # Example usage
βββ docker/ # Docker files
βββ k8s/ # Kubernetes manifests
βββ docs/ # Documentation
βββ requirements.txt # Python dependencies
βββ env.example # Environment template
βββ README.md # Project documentation
- Update source code in
src/ - Add tests in
tests/ - Update documentation in
docs/ - Test thoroughly before deployment
All MCP servers in this collection are now production ready and have been thoroughly tested:
- pfSense MCP - Firewall and network management
- TrueNAS MCP - Storage and NAS management
- iDRAC MCP - Dell PowerEdge server management
- Proxmox MCP - Virtualization platform management
These servers have been tested with real systems and include comprehensive error handling, input validation, and security features.
- Never commit
.envfiles or credentials - Use strong passwords and API keys
- Restrict network access appropriately
- Monitor logs for suspicious activity
- Keep dependencies updated
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests for new functionality
- Update documentation
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
- Issues: Create GitHub issues for bugs or feature requests
- Documentation: Check individual project READMEs
- Examples: Review
examples/directories for usage patterns
- Model Context Protocol
- pfSense Documentation
- TrueNAS Documentation
- Dell iDRAC Documentation
- Proxmox VE Documentation
Happy Infrastructure Management! π