
lungshot/ninjaonemcp 是从 https://github.com/lungshot/ninjaonemcp. 导入的 MCP 服务器候选。
概览
lungshot/ninjaonemcp 是从 https://github.com/lungshot/ninjaonemcp. 导入的 MCP 服务器候选。
概述(AI 翻译)
一款现代 TypeScript MCP(模型上下文协议)服务器,适用于 NinjaONE RMM 平台,拥有全面的 API 覆盖和多种传输选项。
特色
🚀 现代建筑
- 采用MCP SDK v1.17.1构建
- 完整的TypeScript支持,支持严格类型
- 多传输协议(STDIO、HTTP、SSE)
- 全面的错误处理和日志记录
- 以安全为中心的设计
🔧 完整API覆盖
- 设备管理:列出、控制、维护和监控设备
- 补丁管理:操作系统和软件补丁扫描与部署
- 服务控制:Windows服务管理
- 组织管理:多租户组织管理
- 联系人管理:联系人的完整CRUD操作
- 警报管理:警报检索与确认
- 用户管理:终端用户和技术人员
- 策略管理:策略检索和覆盖
- 综合查询:21+个查询端点,涵盖:
- 系统信息(杀毒软件、健康、操作系统、登录用户)
- 硬件细节(处理器、磁盘、卷、网络、RAID)
- 软件和补丁(已安装软件、操作系统补丁、软件补丁、补丁安装)
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
NinjaONE MCP Server
A modern TypeScript MCP (Model Context Protocol) server for NinjaONE RMM platform with comprehensive API coverage and multiple transport options.
Features
🚀 Modern Architecture
- Built with MCP SDK v1.17.1
- Full TypeScript support with strict typing
- Multiple transport protocols (STDIO, HTTP, SSE)
- Comprehensive error handling and logging
- Security-focused design
🔧 Complete API Coverage
- Device Management: List, control, maintain, and monitor devices
- Patch Management: OS and software patch scanning and deployment
- Service Control: Windows service management
- Organization Management: Multi-tenant organization handling
- Contact Management: Full CRUD operations for contacts
- Alert Management: Alert retrieval and acknowledgment
- User Management: End users and technicians
- Policy Management: Policy retrieval and overrides
- Comprehensive Queries: 21+ query endpoints covering:
- System information (antivirus, health, OS, logged-on users)
- Hardware details (processors, disks, volumes, network, RAID)
- Software and patches (installed software, OS patches, software patches, patch installs)
- Windows services management
- Custom fields and policies (standard and scoped custom fields, policy overrides)
- Backup usage statistics
🌐 Transport Options
STDIO Transport (Default)
Perfect for desktop MCP clients like Claude Desktop.
HTTP Transport
RESTful API with JSON responses:
/health- Health check endpoint/info- Server information/tools- List available tools (informational)
Server-Sent Events (SSE)
Real-time streaming for web applications:
/events- SSE connection endpoint
Quick Start
Prerequisites
- Node.js 18+
- NinjaONE OAuth client credentials (client ID and secret)
- PowerShell 7+ (for Windows development)
Installation Options
Option 1: MCPB Bundle (Recommended)
For Claude Desktop and MCP-compatible clients:
Download the latest ninjaone-rmm.mcpb bundle file from this repository. This is a complete, production-ready MCP bundle that includes:
- Compiled server code with all dependencies
- Proper MCPB manifest for easy installation
- Security-hardened implementation
- Comprehensive error handling and logging
📖 For detailed step-by-step installation instructions with screenshots, see README-MCPB.md
Quick Installation:
- Download
ninjaone-rmm.mcpbfrom this repository - Install through your MCP client (Claude Desktop supports MCPB installation)
- Click “Configure” on the installed extension to enter your NinjaONE credentials
Configuration required:
- Base URL: Your NinjaONE regional endpoint (e.g.,
https://app.ninjarmm.com) - Client ID: OAuth2 application client ID
- Client Secret: OAuth2 application client secret
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"ninjaone": {
"command": "node",
"args": [
"C:\\Path\\to\\NinjaOneMCP\\dist\\index.js"
],
"cwd": "C:\\Path\\to\\NinjaOneMCP",
"env": {
"NINJA_CLIENT_ID": "<your_client_id>",
"NINJA_CLIENT_SECRET": "<your_client_secret>",
"NINJA_BASE_URL": "https://api.ninjarmm.com",
"MCP_MODE": "stdio",
"LOG_LEVEL": "info"
}
}
}
}