Hudu MCP Server

Hudu MCP Server

Enables Claude to interact with Hudu IT documentation, including searching, reading, creating, and updating articles, assets, passwords, companies, and more.

Category
访问服务器

README

Hudu MCP Server

Connect Claude AI to your Hudu IT documentation platform. Once installed, Claude can search, read, create, and update your Hudu knowledge base, assets, passwords, companies, and more — directly from any Claude interface.


What This Does

This server implements the Model Context Protocol (MCP), giving Claude secure, structured access to the Hudu REST API. It runs as a local stdio process that Claude Desktop or Claude Code launches on demand.

Available Tools

Category Tools
Articles list, get, create, update, delete, archive, unarchive
Assets list (global + per-company), get, create, update, delete, archive, unarchive, move layout
Asset Layouts list, get, create, update
Asset Passwords list, get, create, update, delete, archive, unarchive
Companies list, get, create, update, delete, archive, unarchive
Expirations list, update, delete
Exports list, get, create
S3 Exports create
Flag Types list, get, create, update, delete
Flags list, get, create, update, delete
Folders list, get, create, update, delete
Groups list, get
IP Addresses list, get, create, update, delete
Lists list, get, create, update, delete
Magic Dash list, upsert, delete (by title or ID), update positions
Matchers list, update, delete
Networks list, get, create, update, delete
Password Folders list, get, create, update, delete
Photos list, get, create, update, delete
Public Photos list, get, create, update
Procedures list, get, create, update, delete, kickoff, duplicate, create from template
Procedure Tasks list, get, create, update, delete
Rack Storages list, get, create, update, delete
Rack Storage Items list, get, create, update, delete
Relations list, create, delete
Uploads list, get, delete
Users list, get
VLANs list, get, create, update, delete
VLAN Zones list, get, create, update, delete
Websites list, get, create, update, delete
Activity Logs list, delete
Navigation jump to card, jump to company
API Info get version

Prerequisites

  • Node.js 18 or newer — nodejs.org
  • Claude Desktop or Claude Code
  • A Hudu API key — generate one at Hudu Admin → Basic Information → API Keys

Installation

1. Clone and build

Clone the repo into the standard install location and build:

git clone https://github.com/Allied-Business-Solutions/hudu-mcp.git "$env:LOCALAPPDATA\Programs\HuduMCP"
cd "$env:LOCALAPPDATA\Programs\HuduMCP"
npm install
npm run build

This compiles the TypeScript source into dist/.

2. Configure Claude Desktop

Open (or create) your Claude Desktop config file:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Add the hudu entry under mcpServers:

{
  "mcpServers": {
    "hudu": {
      "command": "node",
      "args": ["C:/Users/YOUR_USERNAME/AppData/Local/Programs/HuduMCP/dist/index.js"],
      "env": {
        "HUDU_API_KEY": "your_api_key_here",
        "HUDU_BASE_URL": "https://your-instance.huducloud.com/api/v1"
      }
    }
  }
}

Replace YOUR_USERNAME with your Windows username, then fill in your API key and Hudu URL. Restart Claude Desktop.

3. Configure Claude Code

Add to ~/.claude/settings.json (or .claude/settings.json in your project):

{
  "mcpServers": {
    "hudu": {
      "command": "node",
      "args": ["C:/Users/YOUR_USERNAME/AppData/Local/Programs/HuduMCP/dist/index.js"],
      "env": {
        "HUDU_API_KEY": "your_api_key_here",
        "HUDU_BASE_URL": "https://your-instance.huducloud.com/api/v1"
      }
    }
  }
}

Replace YOUR_USERNAME with your Windows username, then fill in your API key and Hudu URL.


Environment Variables

Variable Description
HUDU_API_KEY Your Hudu API key (from Hudu Admin → Basic Information → API Keys)
HUDU_BASE_URL Your Hudu instance API base URL, e.g. https://your-instance.huducloud.com/api/v1

See .env.example for a template.


Example Prompts

Once connected, you can ask Claude things like:

"Search Hudu for any articles about VPN setup and summarize what we have"

"Find all assets for Acme Corp and list their serial numbers"

"Create a new article called 'Windows 11 Deployment Guide' under the Acme Corp company with these steps: [paste steps]"

"Look up the password entry for the Acme firewall admin account"

"What procedures do we have documented for onboarding new employees?"

"Show me all SSL certificate expirations coming up in the next 30 days"


Troubleshooting

Tools don't appear in Claude Verify the config file is valid JSON and the path to dist/index.js is correct (e.g. C:/Users/YOUR_USERNAME/AppData/Local/Programs/HuduMCP/dist/index.js). Restart Claude Desktop after any config change.

HUDU_API_KEY is required error The env block in your Claude config is missing or the key name is wrong. Check that it's exactly HUDU_API_KEY.

HUDU_BASE_URL is required error Same — check that HUDU_BASE_URL is set and ends with /api/v1.

401 Unauthorized from Hudu Your API key is invalid or expired. Generate a new one from Hudu Admin → Basic Information → API Keys.

Node.js not found Install Node.js 18+ from nodejs.org and restart your terminal/Claude Desktop.


Development

npm run build    # compile TypeScript → dist/
npm run dev      # watch mode (recompiles on save)
npm start        # run the compiled server

File Structure

hudu-mcp/
├── src/
│   ├── api.ts       ← HTTP client helpers
│   ├── tools.ts     ← MCP tool definitions
│   └── index.ts     ← Server entry point + tool dispatch
├── dist/            ← Compiled output (git-ignored)
├── reference/
│   └── HuduRESTAPI.json  ← Hudu OpenAPI spec
├── package.json
├── tsconfig.json
├── .env.example
├── .gitignore
└── README.md

Contributing

To add a new tool:

  1. Add a Tool entry to the TOOLS array in src/tools.ts
  2. Add the corresponding case to the callTool switch in src/index.ts
  3. Run npm run build to verify it compiles

The Hudu API docs describe all available endpoints.


License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选