Skills-MCP-Hudu

DevSkillsIT/Skills-MCP-Hudu

3.2

If you are the rightful owner of Skills-MCP-Hudu and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

Skills MCP Hudu is a comprehensive Model Context Protocol server designed to integrate AI assistants with the Hudu IT documentation platform, providing seamless access to IT documentation, passwords, assets, and procedures.

Tools
5
Resources
0
Prompts
0

🚀 Skills MCP Hudu

Complete Hudu MCP Server with 31+ Tools, HTTP Transport, and Multi-Tenant Support

MCP Protocol TypeScript Node.js Express Transport Status

Connect Claude Code, Gemini CLI, ChatGPT, VS Code Copilot, and Cursor to your Hudu instance

FeaturesInstallation31+ ToolsQuick StartSupport


📖 About The Project

Skills MCP Hudu is a production-ready Model Context Protocol (MCP) server that provides complete integration with Hudu IT documentation platform. Built by Skills IT, a Managed Service Provider (MSP) from Brazil, this MCP enables AI assistants to seamlessly interact with your IT documentation, passwords, assets, and procedures.

🌟 Why This MCP?

Built specifically for MSPs and IT teams who need AI-powered access to their Hudu documentation:

FeatureDescription
31+ ToolsComplete coverage of Hudu API ✨
IT DocumentationFull company, asset, and article management
Password ManagementSecure credential access and storage
Procedures & ChecklistsAutomated workflow integration
Network InfrastructureNetworks, VLANs, IP addresses, rack storage
HTTP-Only TransportModern streamable HTTP (no STDIO)
Multi-Tenant ReadyCompany filtering for MSP environments
MCP ResourcesNative resource URIs for direct data access
Pre-built PromptsSecurity audits and asset reports

🎯 Key Features

1. 📚 Complete IT Documentation

Manage companies, assets, articles, and knowledge base with AI assistance.

2. 🔐 Secure Password Management

Access and manage credentials safely through AI with proper authentication.

3. 🔄 Procedures & Workflows

Create, update, and manage procedures and tasks with AI-driven automation.

4. 🌐 Network Infrastructure

Complete network documentation including VLANs, IP addresses, and rack storage.

5. 🔍 Global Search

Powerful search across all Hudu resources with single queries.

6. 🏢 Multi-Tenant Support

Company-level filtering for MSPs managing multiple clients.


💼 Need Help with Hudu or AI?

Skills IT - Technology Solutions specializes in IT infrastructure and has deep expertise in Hudu IT Documentation Platform. Our team has expertise in Artificial Intelligence and Model Context Protocol (MCP), offering complete solutions for automation and system integration.

Our Services:

  • ✅ Hudu consulting and implementation
  • ✅ Custom MCP development for your infrastructure
  • ✅ AI integration with corporate systems
  • ✅ IT documentation automation
  • ✅ Specialized training and support

📞 WhatsApp/Phone: +55 63 3224-4925 - Brazil 🇧🇷 🌐 Website: skillsit.com.br 📧 Email: contato@skillsit.com.br

"Transforming infrastructure into intelligence"


🏗️ Architecture

┌─────────────────────────────────────────────────────────────────┐
│         Claude / ChatGPT / Gemini / Copilot / Cursor            │
└─────────────────────────────────────────────────────────────────┘
                                │
                                │ MCP Protocol (HTTP JSON-RPC)
                                ▼
┌─────────────────────────────────────────────────────────────────┐
│                    Skills MCP Hudu Server                        │
│                        localhost:3050                            │
│  ┌────────────────────────────────────────────────────────────┐ │
│  │                      Express + MCP SDK                     │ │
│  │  ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐      │ │
│  │  │Companies │ │  Assets  │ │Passwords │ │ Articles │      │ │
│  │  │          │ │          │ │          │ │          │      │ │
│  │  └──────────┘ └──────────┘ └──────────┘ └──────────┘      │ │
│  │  ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐      │ │
│  │  │ Networks │ │Procedures│ │  Racks   │ │  Search  │      │ │
│  │  └──────────┘ └──────────┘ └──────────┘ └──────────┘      │ │
│  └────────────────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────────────┘
                                │
                                │ Hudu REST API
                                ▼
┌─────────────────────────────────────────────────────────────────┐
│                        Hudu Platform                             │
│                  https://your-hudu-instance.com                  │
└─────────────────────────────────────────────────────────────────┘

🚀 Quick Start

Prerequisites

  • Node.js 18+ or Docker
  • Hudu instance with API access
  • API Key from Hudu Admin panel

Installation

Option 1: Docker (Recommended)
# Clone the repository
git clone https://github.com/DevSkillsIT/Skills-MCP-Hudu.git
cd Skills-MCP-Hudu

# Configure environment
cp .env.example .env
nano .env  # Edit with your Hudu credentials

# Start with Docker Compose
docker-compose up -d

# Verify it's running
curl http://localhost:3050/health
Option 2: Node.js
# Clone and install
git clone https://github.com/DevSkillsIT/Skills-MCP-Hudu.git
cd Skills-MCP-Hudu
npm install

# Configure
cp .env.example .env
nano .env  # Edit with your Hudu credentials

# Build and run
npm run build
npm start

# Or development mode with hot reload
npm run dev

GLPI Configuration

1. Get your Hudu API Key:

  • Log in to Hudu
  • Navigate to AdminAPI Keys
  • Click Generate New API Key
  • Copy the key immediately (shown only once!)

Environment Setup

# Required Settings
HUDU_BASE_URL=https://your-company.huducloud.com
HUDU_API_KEY=your-api-key-here

# MCP Server Configuration
MCP_SERVER_PORT=3050
MCP_BEARER_TOKEN=your-secure-token  # Optional but recommended

# Optional Settings
HUDU_TIMEOUT=30000
HUDU_ALLOWED_COMPANY_IDS=ALL  # Or specific company IDs: 123,456
LOG_LEVEL=info

Connect to Claude Code

# Add MCP server
claude mcp add --transport http hudu http://localhost:3050/mcp

Alternative: Edit ~/.claude/settings.json:

{
  "mcpServers": {
    "hudu": {
      "type": "streamable-http",
      "url": "http://localhost:3050/mcp"
    }
  }
}

Connect to Gemini CLI

Edit ~/.gemini/settings.json:

{
  "mcpServers": {
    "hudu": {
      "httpUrl": "http://localhost:3050/mcp",
      "timeout": 30000
    }
  }
}

Note: Gemini CLI uses httpUrl instead of url.

Test Connection

# Health check
curl http://localhost:3050/health

# Server info
curl http://localhost:3050/

# List available tools (requires valid setup)
curl -X POST http://localhost:3050/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

🧰 31+ Tools

📊 Companies (2 tools)

ToolDescription
companiesFull CRUD operations (create, get, update, archive, unarchive)
companies_queryList and search companies with pagination

💻 IT Assets (2 tools)

ToolDescription
assetsComplete asset lifecycle management
assets_querySearch and filter assets by company, type, name

📝 Articles & Knowledge Base (2 tools)

ToolDescription
articlesCreate, update, delete articles
articles_querySearch articles by company, folder, name

🔐 Passwords & Credentials (2 tools)

ToolDescription
passwordsSecure password management (CRUD operations)
passwords_querySearch credentials by company, name

✅ Procedures & Checklists (4 tools)

ToolDescription
proceduresManage runbooks and procedures
procedures_querySearch procedures by company, name
procedure_tasksIndividual task management
procedure_tasks_queryList tasks with filters

📁 Organization (2 tools)

ToolDescription
foldersDocument folder management
folders_queryList folders by company, name

🌐 Network Infrastructure (6 tools)

ToolDescription
networksNetwork documentation management
networks_querySearch networks by company
vlansVLAN management
vlans_queryList VLANs with filters
vlan_zonesNetwork zone organization
vlan_zones_querySearch zones by company

📍 IP Management (2 tools)

ToolDescription
ip_addressesIP address tracking and documentation
ip_addresses_querySearch IP addresses by network, company

📦 Data Center (4 tools)

ToolDescription
rack_storagesRack documentation management
rack_storages_queryList racks by company, location
rack_storage_itemsEquipment in racks
rack_storage_items_querySearch rack items

📎 File Management (4 tools)

ToolDescription
uploadsFile attachment management
uploads_querySearch uploaded files
public_photosImage management
public_photos_queryList photos with filters

🔍 Utilities (3 tools)

ToolDescription
search🔍 Global search across ALL resources
navigationQuick jump to companies and cards
adminAPI info, activity logs, exports, expirations

💡 Usage Examples

Tip: Mention "Hudu" at the beginning of prompts for clarity with multiple MCPs.

IT Documentation Management

Hudu, list all companies
Hudu, create a new company "Acme Corporation" with website acme.com
Hudu, show me all assets for company "Acme Corporation"
Hudu, search for articles about "firewall configuration"

Password & Credential Management

Hudu, list all passwords for company "Acme Corporation"
Hudu, create a new password entry for "Office WiFi"
Hudu, search credentials containing "admin"

Procedures & Workflows

Hudu, list all procedures
Hudu, create a new procedure "Server Backup Checklist"
Hudu, show tasks for procedure ID 123

Network Documentation

Hudu, list all networks
Hudu, show VLANs for company "Acme Corporation"
Hudu, list IP addresses in network ID 456
Hudu, document rack storage in datacenter

Global Search

Hudu, search for "firewall" across all resources
Hudu, find anything related to "backup server"

🔐 MCP Resources

Direct data access through MCP resource URIs:

URIDescription
hudu://companiesCompany/client information
hudu://assetsIT asset inventory
hudu://articlesKnowledge base articles
hudu://passwordsCredential entries

Example usage in Claude Code:

Show me the contents of hudu://companies

📋 MCP Prompts

Pre-configured prompts for common workflows:

hudu_security_audit

Generate comprehensive security audit reports across your Hudu instance.

hudu_asset_report

Create detailed IT asset inventory reports with statistics.

Usage:

Run the hudu_security_audit prompt for our infrastructure

⚙️ Configuration

Environment Variables

VariableRequiredDefaultDescription
HUDU_BASE_URL✅ Yes-Your Hudu instance URL
HUDU_API_KEY✅ Yes-Hudu API key
MCP_SERVER_PORTNo3050HTTP server port
MCP_BEARER_TOKENNo-Bearer token for authentication (recommended)
HUDU_TIMEOUTNo30000API timeout in milliseconds
HUDU_ALLOWED_COMPANY_IDSNoALLCompany filtering: ALL or comma-separated IDs
LOG_LEVELNoinfoLogging level: debug, info, warn, error

Multi-Tenant Configuration (MSPs)

Restrict access to specific companies:

# Access all companies (default)
HUDU_ALLOWED_COMPANY_IDS=ALL

# Access only company ID 123
HUDU_ALLOWED_COMPANY_IDS=123

# Access multiple companies
HUDU_ALLOWED_COMPANY_IDS=123,456,789

Endpoints

EndpointMethodDescription
/GETServer information and version
/healthGETHealth check (liveness probe)
/mcpPOSTMCP JSON-RPC endpoint

🔒 Security

Best Practices

  • Store API keys in .env file, never in code
  • Use HTTPS in production (reverse proxy with SSL/TLS)
  • Set MCP_BEARER_TOKEN for HTTP authentication
  • Restrict network access to trusted sources only
  • Rotate API keys periodically
  • Use read-only API keys when write access isn't needed
  • Enable company filtering for multi-tenant environments

Rate Limiting

Built-in rate limiting protects your Hudu instance:

  • Default: 1000 requests per IP per 15 minutes
  • Configurable via environment variables
  • Automatic backoff and retry

CORS Configuration

CORS is pre-configured for secure local network access:

  • localhost and 127.0.0.1
  • Private network ranges (10.x.x.x, 172.16.x.x, 192.168.x.x)
  • Custom origins via MCP_ALLOWED_ORIGINS

🐳 Docker Deployment

Docker Compose (Recommended)

version: '3.8'

services:
  hudu-mcp:
    build: .
    container_name: skills-mcp-hudu
    restart: unless-stopped
    ports:
      - "3050:3050"
    environment:
      - HUDU_BASE_URL=${HUDU_BASE_URL}
      - HUDU_API_KEY=${HUDU_API_KEY}
      - MCP_SERVER_PORT=3050
      - MCP_BEARER_TOKEN=${MCP_BEARER_TOKEN}
      - HUDU_TIMEOUT=30000
      - LOG_LEVEL=info
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:3050/health"]
      interval: 30s
      timeout: 10s
      retries: 3

Docker Commands

# Build and start
docker-compose up -d --build

# View logs
docker-compose logs -f hudu-mcp

# Stop
docker-compose down

# Rebuild without cache
docker-compose build --no-cache

# Check status
docker-compose ps

🐛 Troubleshooting

Common Issues

IssueCauseSolution
Connection refusedServer not runningCheck Docker/Node process status
401 UnauthorizedInvalid API keyVerify HUDU_API_KEY in .env
403 ForbiddenInsufficient permissionsCheck API key permissions in Hudu
ECONNREFUSEDCan't reach HuduVerify HUDU_BASE_URL and network connectivity
Rate limit exceededToo many requestsWait 15 minutes or adjust rate limits
ENOTFOUNDDNS resolution failedCheck Hudu URL spelling and DNS

Debug Mode

Enable detailed logging:

# .env
LOG_LEVEL=debug

Logs

Docker:

docker-compose logs -f hudu-mcp

Node.js:

# Logs are written to stdout/stderr
npm start 2>&1 | tee hudu-mcp.log

PM2:

pm2 logs hudu-mcp

🧪 Testing & Development

Development Setup

# Clone repository
git clone https://github.com/DevSkillsIT/Skills-MCP-Hudu.git
cd Skills-MCP-Hudu

# Install dependencies
npm install

# Start development server (hot reload)
npm run dev

# Run linting
npm run lint

# Type checking
npm run type-check

# Build for production
npm run build

Testing Commands

# Run all tests
npm test

# Type checking
npm run type-check

# Lint code
npm run lint

# Build project
npm run build

📁 Project Structure

Skills-MCP-Hudu/
├── src/
│   ├── index.ts              # Entry point
│   ├── server.ts             # MCP HTTP server
│   ├── hudu-client.ts        # Hudu API client
│   ├── types.ts              # TypeScript definitions
│   └── tools/
│       ├── companies.ts      # Company management tools
│       ├── assets.ts         # Asset management tools
│       ├── articles.ts       # Article tools
│       ├── passwords.ts      # Password tools
│       ├── procedures.ts     # Procedure tools
│       ├── networks.ts       # Network tools
│       ├── folders.ts        # Folder tools
│       ├── storage.ts        # Rack storage tools
│       ├── admin.ts          # Admin tools
│       ├── search.ts         # Search tools
│       ├── navigation.ts     # Navigation tools
│       └── working-index.ts  # Tool registry
├── dist/                     # Compiled JavaScript (generated)
├── hudu.json                 # Hudu OpenAPI spec (reference)
├── Dockerfile                # Multi-stage Docker build
├── docker-compose.yml        # Docker Compose configuration
├── package.json              # Node.js dependencies
├── tsconfig.json             # TypeScript configuration
├── .env.example              # Environment template
├── .gitignore                # Git ignore rules
├── LICENSE                   # MIT License
└── README.md                 # This file

🤝 Contributing

We welcome contributions! Here's how to get involved:

  1. Fork the repository
  2. Create your feature branch: git checkout -b feature/AmazingFeature
  3. Commit your changes: git commit -m 'feat: add amazing feature'
  4. Push to branch: git push origin feature/AmazingFeature
  5. Open a Pull Request

Commit Standards

We follow Conventional Commits:

feat: add new feature
fix: correct bug
docs: update documentation
refactor: improve code structure
test: add tests
chore: update dependencies
style: formatting changes
perf: performance improvements

Development Guidelines

  • Write clean, documented TypeScript code
  • Follow existing code style and patterns
  • Add tests for new features
  • Update documentation as needed
  • Test with Claude Code before submitting PR

📚 Useful Links


📞 Support

Bug Reports

Found a bug? Please open an issue with:

  • Description of the problem
  • Steps to reproduce
  • Expected vs actual behavior
  • Environment details (Node.js version, OS, Hudu version)
  • Relevant logs (with sensitive data removed)

Discussions

Have questions or ideas? Join our GitHub Discussions

Email

Technical support: contato@skillsit.com.br


📄 License

This project is licensed under the MIT License - see the file for details.


🙏 Acknowledgments

  • Hudu - The amazing IT documentation platform
  • Anthropic - For Claude and the MCP specification
  • Model Context Protocol - The protocol that makes this possible
  • MSP Community - For feedback and feature requests

Made with ❤️ by Skills IT - Soluções em TI - BRAZIL

We are an MSP empowering other MSPs with intelligent automation.

Version: 1.1.0 | Last Updated: December 2025

🇧🇷 Proudly Made in Brazil

⬆ Back to Top