MCP server for NinjaOne — device monitoring, patching, scripting, and alert management tools for AI assistants
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add ninjaone --env NINJAONE_CLIENT_ID='<NINJAONE_CLIENT_ID>' --env NINJAONE_CLIENT_SECRET='<NINJAONE_CLIENT_SECRET>' -- docker run -i --rm -e NINJAONE_CLIENT_ID -e NINJAONE_CLIENT_SECRET ghcr.io/wyre-ai/ninjaone-mcp:v2.5.1~/.codex/config.toml
[mcp_servers.ninjaone]
command = "docker"
args = ["run", "-i", "--rm", "-e", "NINJAONE_CLIENT_ID", "-e", "NINJAONE_CLIENT_SECRET", "ghcr.io/wyre-ai/ninjaone-mcp:v2.5.1"]
env = { NINJAONE_CLIENT_ID = "<NINJAONE_CLIENT_ID>", NINJAONE_CLIENT_SECRET = "<NINJAONE_CLIENT_SECRET>" }
# codex mcp add ninjaone --env NINJAONE_CLIENT_ID='<NINJAONE_CLIENT_ID>' --env NINJAONE_CLIENT_SECRET='<NINJAONE_CLIENT_SECRET>' -- docker run -i --rm -e NINJAONE_CLIENT_ID -e NINJAONE_CLIENT_SECRET ghcr.io/wyre-ai/ninjaone-mcp:v2.5.1~/.cursor/mcp.json
{
"mcpServers": {
"ninjaone": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"NINJAONE_CLIENT_ID",
"-e",
"NINJAONE_CLIENT_SECRET",
"ghcr.io/wyre-ai/ninjaone-mcp:v2.5.1"
],
"env": {
"NINJAONE_CLIENT_ID": "<NINJAONE_CLIENT_ID>",
"NINJAONE_CLIENT_SECRET": "<NINJAONE_CLIENT_SECRET>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"ninjaone": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"NINJAONE_CLIENT_ID",
"-e",
"NINJAONE_CLIENT_SECRET",
"ghcr.io/wyre-ai/ninjaone-mcp:v2.5.1"
],
"env": {
"NINJAONE_CLIENT_ID": "<NINJAONE_CLIENT_ID>",
"NINJAONE_CLIENT_SECRET": "<NINJAONE_CLIENT_SECRET>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"ninjaone": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"NINJAONE_CLIENT_ID",
"-e",
"NINJAONE_CLIENT_SECRET",
"ghcr.io/wyre-ai/ninjaone-mcp:v2.5.1"
],
"env": {
"NINJAONE_CLIENT_ID": "<NINJAONE_CLIENT_ID>",
"NINJAONE_CLIENT_SECRET": "<NINJAONE_CLIENT_SECRET>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"ninjaone": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"NINJAONE_CLIENT_ID",
"-e",
"NINJAONE_CLIENT_SECRET",
"ghcr.io/wyre-ai/ninjaone-mcp:v2.5.1"
],
"env": {
"NINJAONE_CLIENT_ID": "<NINJAONE_CLIENT_ID>",
"NINJAONE_CLIENT_SECRET": "<NINJAONE_CLIENT_SECRET>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"ninjaone": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"NINJAONE_CLIENT_ID",
"-e",
"NINJAONE_CLIENT_SECRET",
"ghcr.io/wyre-ai/ninjaone-mcp:v2.5.1"
],
"env": {
"NINJAONE_CLIENT_ID": "<NINJAONE_CLIENT_ID>",
"NINJAONE_CLIENT_SECRET": "<NINJAONE_CLIENT_SECRET>"
}
}
}
}Environment variables
NINJAONE_CLIENT_IDNINJAONE_CLIENT_SECRET
Replace the placeholders with your own credentials and keep them out of version control.