WA

wyre-ai/ninjaone-mcp

Developer tools공식

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

31 stars 28 forks 품질 83 트렌드 21Apache-2.0

닌자원용 MCP 서버 - 장치 모니터링, 패치, 스크립트, 경고 관리 도구

개요

닌자원과 상호 작용하는 모델 Context Protocol (MCP) 서버는 효율적인 도구 로딩을위한 결정적인 트리 아키텍처를 특징으로합니다. 이 서버는 npm 레지스트리에서 호스팅되는 @wyre-ai/node-ninjaone에 달려 있습니다. GitHub Packages에는 익명의 액세스가 없습니다. 패키지가 공개되었더라도 npm install는 토큰을 필요로 합니다. 클라우드 빌더는 npm install을 실행하므로 npm 오류 401 Unauthorized ... npm.pkg.github.com으로 실패합니다. 1. 읽는 GitHub 만들기:패키지 범위 (classic token). GitHub 계정이 작동합니다. wyre-ai org의 회원이 될 필요가 있습니다. 2. 배포 흐름에 의해 프롬프트 될 때 빌드 변수로 추가하십시오. - → PAT (Workers → Settings → Build → Variables and Secrets)에 이름을 짓는 빌드 변수. - → PAT (.do/app.yaml는 이미 선언)에 범위로 지정된 암호화 된 env var를 설정합니다. 둘 다 표적은 MCP 서버를 실행합니다.

개요(AI 번역)

닌자원과 상호 작용하는 모델 Context Protocol (MCP) 서버는 효율적인 도구 로딩을위한 결정적인 트리 아키텍처를 특징으로합니다.

원 클릭 배포

[! 중요] 클릭: 이 서버는 @wyre-ai/node-ninjaone에 따라 다릅니다. GitHub Packages npm 레지스트리에서 호스팅되는 경우. GitHub 패키지는 없습니다 익명 액세스 - 패키지가 공개되었더라도, 모든 npm install가 필요합니다. 토큰. 클라우드 빌더 실행 npm install 당신을 위해, 그래서 당신은 그것을 하나, 또는 빌드는 npm error 401 Unauthorized ... npm.pkg.github.com로 실패합니다. ·

  1. GitHub Personal Access Token를 read:packages 범위로 만듭니다. (클래식 토큰). 모든 GitHub 계정 작업 — you donot 회원이 될 필요 wyre-ai org는 공공 패키지를 읽습니다.
  2. 배포 흐름에 의해 프롬프트 될 때 빌드 변수로 추가:
  • Cloudflare Workers → 빌드 변수를 설정 NODE_AUTH_TOKEN 으로 PAT (Workers → 설정 → 빌드 → 변수 및 비밀).
  • DigitalOcean App Platform → 암호화된 env var를 GITHUB_TOKEN 범위 Build Time 으로 PAT (.do/app.yaml] 이미 선언).

[!노트]

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

NinjaOne MCP Server

A Model Context Protocol (MCP) server for interacting with NinjaOne, featuring a decision tree architecture for efficient tool loading.

One-Click Deployment

[!IMPORTANT] Before you click: this server depends on @wyre-ai/node-ninjaone, which is hosted on the GitHub Packages npm registry. GitHub Packages has no anonymous access — even though the package is public, every npm install needs a token. The cloud builder runs npm install for you, so you must give it one, or the build fails with npm error 401 Unauthorized ... npm.pkg.github.com.

  1. Create a GitHub Personal Access Token with the read:packages scope (classic token). Any GitHub account works — you do not need to be a member of the wyre-ai org to read its public packages.
  2. Add it as a build variable when prompted by the deploy flow:
    • Cloudflare Workers → set a build variable named NODE_AUTH_TOKEN to your PAT (Workers → Settings → Build → Variables and Secrets).
    • DigitalOcean App Platform → set an encrypted env var named GITHUB_TOKEN with scope Build Time to your PAT (the .do/app.yaml already declares it).

[!NOTE] Both targets run the full MCP server. DigitalOcean builds the Docker image and serves it over HTTP; Cloudflare Workers serves the same server via the SDK’s Web Standard Streamable HTTP transport (src/worker.ts). After deploying, set your NinjaOne credentials as secrets — NINJAONE_CLIENT_ID, NINJAONE_CLIENT_SECRET, and optionally NINJAONE_REGION — or set AUTH_MODE=gateway to take credentials per-request from X-Ninja-* headers. HTTP also requires CONDUIT_S2S_SECRET and a valid X-Gateway-S2S signature on /mcp (see HTTP authentication). The MCP endpoint is /mcp; /health is an unauthenticated liveness probe.

Architecture

This MCP server uses a hierarchical tool loading approach instead of exposing all tools upfront:

  1. Navigation Phase: Initially exposes only a navigation tool (ninjaone_navigate)
  2. Domain Selection: User selects a domain (devices, organizations, alerts, tickets)
  3. Domain Tools: Server exposes domain-specific tools after selection
  4. Lazy Loading: Domain handlers and the NinjaOne client are loaded on-demand

This architecture provides:

  • Reduced cognitive load (fewer tools to choose from)
  • Faster initial load times
  • Better organization of related operations
  • Clear navigation state

Installation

GitHub에서 전체 README 보기

설치

npx @wyre-ai/ninjaone-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "ninjaone": { "command": "npx", "args": ["@wyre-ai/ninjaone-mcp"], "env": { "NINJAONE_CLIENT_ID": "your-client-id", "NINJAONE_CLIENT_SECRET": "your-client-secret", "NINJAONE_REGION": "us" } } } }