Skip to main content

The #1 agentic semantic tool search: 91.6% first-try accuracy on S1 Search Bench Explore Tool Discovery

Live 96 Actions

NinjaOne MCP Server
for AI Agents

Connect your AI agent to StackOne's NinjaOne MCP server and give it 96 MCP tools out of the box. Auth, tool execution, and security all managed.

NinjaOne logo
NinjaOne MCP Server
Built by StackOne StackOne
DrataGPLocalyzeFlipMindtoolsScreenloop

Coverage

96 Agent Actions

Create, read, update, and delete across NinjaOne — and extend your agent's capabilities with custom actions.

Authentication

Agent Tool Authentication

Per-user OAuth in one call. Your NinjaOne MCP server gets session-scoped tokens with zero credentials stored on your infra.

Agent Auth →

Security

Agent Protection

Every NinjaOne tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.

Prompt Injection Defense →

Performance

Max Agent Context. Min Cost.

Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every NinjaOne call.

Tools Discovery →

What is the NinjaOne MCP Server?

A NinjaOne MCP server lets AI agents read and write NinjaOne data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's NinjaOne MCP server ships with 96 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.

All NinjaOne MCP Tools

Every action from NinjaOne's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.

Organizations

  • List Organizations

    List organizations with basic info (ID, name, description). For full details including custom fields, use list_organizations_detailed instead.

  • Get Organization

    Get a single organization by ID. Use list_organizations to retrieve the organization ID first.

  • Update Organization

    Update an existing organization by ID. Use list_organizations to retrieve the organization ID first.

Devices

  • List Devices

    List devices with basic information (ID, name, OS, status). For full hardware and software inventory details, use list_devices_detailed instead.

  • Get Device

    Get full details for a single device by ID. Use list_devices to retrieve the device ID first.

Organization Documents

  • Create Organization Document

    Create organization document

  • Create Organization Documents

    Create organization documents

Knowledge Base Articles

  • Create Knowledge Base Articles

    Create knowledge base articles

  • Update Knowledge Base Articles

    Update knowledge base articles

Multiple Asset Relationships

  • Create Multiple Asset Relationships

    Create multiple asset relationships

  • Delete Multiple Asset Relationships

    Delete multiple asset relationships

Checklist Templates

  • Create Checklist Templates

    Create checklist templates

  • List Checklist Templates

    List checklist templates

  • Update Checklist Templates

    Update checklist templates

  • Delete Checklist Templates

    Delete checklist templates

Entity Relations

  • Create Entity Relation

    Create entity relation

  • Create Entity Relations

    Create entity relations

Other (79)

  • Create A Contact

    Create a contact

  • Create New Organization

    Create new organization

  • Create End User

    Create end user

  • Create A Technician

    Create a technician

  • Create Ticket

    Create a new support ticket. Use list_ticket_forms to get the required ticketFormId and list_organizations to get the required clientId (organization ID).

  • Create Document Template

    Create document template

  • Create A New Custom Field

    Create a new custom field

  • Create A Software License

    Create a Software License

  • Create An Integrity Check Job

    Create an integrity check job

  • Create An Asset Tag

    Create an Asset Tag

  • Create A Relationship Type

    Create a relationship type

  • Create Attachment Relation

    Create Attachment Relation

  • Create Secure Relation

    Create Secure Relation

  • Create A New Custom Tab

    Create a new Custom Tab

  • Create An Unmanaged Device

    Create an Unmanaged Device

  • Create Staged Device

    Create staged device

  • List Policies

    List policies

  • List Active Jobs

    List active jobs

  • List Activities

    List activities

  • List Active Alerts (triggered Conditions)

    List active alerts (triggered conditions)

  • List All Available Automation Scripts

    List all available automation scripts

  • List Devices (detailed)

    List devices with full hardware and software inventory details. For basic device info only (ID, name, OS, status), use list_devices instead.

  • List Groups (saved Searches)

    List groups (saved searches)

  • List Locations

    List locations

  • List Organizations (Detailed)

    List organizations with full details including custom fields and policy settings. For basic org info only, use list_organizations instead.

  • List Supported 3rd Party Software

    List all 3rd party software products known to NinjaOne — a catalog of supported software, not per-device inventory. For installed software across all devices, use list_queries_software instead.

  • List Users

    List users

  • Get User Roles

    Get user roles

  • List Network Interfaces

    List Network Interfaces

  • List Ticket Forms

    List ticket forms

  • List All Organization Documents With Field Values

    List all organization documents with field values

  • List Document Templates With Fields

    List document templates with fields

  • Get Custom Fields With Pagination

    Get custom fields with pagination

  • Get All Node Roles

    Get all node roles

  • Get All Software Licenses

    Get All Software Licenses

  • Get All Accounts

    Get all accounts

  • Get All Invoices

    Get all invoices

  • Get All Products

    Get all products

  • Get Asset Tags

    Get Asset Tags

  • Get All Relationship Types

    Get all relationship types

  • Get All Asset Relationships

    Get all asset relationships

  • List All Related Items

    List all related items

  • Retrieve All Custom Tabs For End User Views

    Retrieve all custom tabs for end user views

  • Retrieve All Custom Tabs For Organizations And Locations

    Retrieve all custom tabs for organizations and locations

  • Batch Tag Assets

    Batch tag assets

  • Delete Several Asset Tags

    Delete several Asset Tags

  • Delete Related Items

    Delete related items

  • Contact List

    Contact list

  • Device Custom Fields

    Device Custom Fields

  • Find Devices

    Find devices

  • End User List

    End user list

  • Technicians List

    Technicians list

  • Approve/Reject Devices

    Approve or reject pending devices. Set mode to APPROVE to approve or REJECT to reject. Provide device IDs in the devices body parameter.

  • Reset Alert

    Dismiss or reset an active alert or triggered condition by its UID. Use list_alerts to get the alert UID first.

  • Computer Systems Report

    Computer systems report

  • Custom Fields Report

    Custom fields report

  • Device Health Report

    Device health report

  • Disk Drives Report

    Disk drives report

  • Pending, Failed And Rejected OS Patches Report

    Pending, Failed and Rejected OS patches report

  • Software Patch History Report

    Software Patch history report

  • Operating Systems Report

    Operating systems report

  • OS Patch Installation Report

    OS Patch installation report

  • Pending, Failed And Rejected Software Patches Report

    Pending, Failed and Rejected Software patches report

  • Processor Report

    Processor report

  • Scoped Custom Fields Report

    Scoped custom fields report

  • Software Inventory

    Software inventory report showing installed software across all managed devices. For the catalog of NinjaOne-supported software products (not per-device), use list_software instead.

  • Disk Volumes Report

    Disk volumes report

  • Windows Services Report

    Windows services report

  • Bulk Update Custom Fields

    Bulk update custom fields

  • Fetch All Scan Groups

    Fetch all Scan Groups

  • Creates A New Account

    Creates a new account

  • Retrieves An Agreement List.

    Retrieves an agreement list.

  • Creates An Agreement.

    Creates an agreement.

  • Creates An Invoice

    Creates an invoice

  • Creates A Product

    Creates a product

  • Integrity Check Jobs.

    Integrity check jobs.

  • Backup Jobs

    Backup jobs

  • Merge Existing Tags

    Merge existing tags

  • Decommission An Unmanaged Device List

    Decommission an Unmanaged Device List

Set Up Your NinjaOne MCP Server in Minutes

One endpoint. Any framework. Your agent is talking to NinjaOne in under 10 lines of code.

Agent Frameworks

Claude Desktop
{
  "mcpServers": {
    "stackone": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://api.stackone.com/mcp?x-account-id=<account_id>",
        "--header",
        "Authorization: Basic <YOUR_BASE64_TOKEN>"
      ]
    }
  }
}

Check More support-ticketing MCP Servers

NinjaOne MCP Server FAQ

Does StackOne have a NinjaOne MCP server?
Yes. StackOne offers a hosted NinjaOne MCP server with 96 pre-built actions, and every action is tested and QA'd by StackOne. Connect it to Claude, Cursor, and any other MCP client, or to any agent framework through the AI Action SDK. It ships with managed agent authentication, prompt injection defense, and tool discovery with server-side execution that preserve your agent's context window and keep reasoning performance.
NinjaOne MCP server vs direct API integration — what's the difference?
A NinjaOne MCP server and direct API integration serve different use cases. Direct API integration is for software-to-software — backend code calling NinjaOne. A NinjaOne MCP server is for AI agents — MCP clients like Claude and Cursor, plus framework agents built with OpenAI, LangChain, or Vercel AI — discovering and calling NinjaOne at runtime. StackOne provides both.
How does NinjaOne authentication work for AI agents?
NinjaOne authentication for AI agents works through a StackOne Connect Session. Create one via the dashboard or the SDK — you get an auth link and ready-to-paste config for Claude Desktop, Cursor, and other MCP clients. Your user authenticates their own NinjaOne account; StackOne handles token exchange, storage, and refresh. Credentials never reach the LLM, and each user is isolated via origin_owner_id.
Are NinjaOne MCP tools vulnerable to prompt injection?
Yes — NinjaOne MCP tools can be vulnerable to indirect prompt injection. Any tool that reads user-written content — documents, messages, tickets, records, or free-text fields — is a potential vector. StackOne Defender scans every tool response before it enters the agent's context — regex patterns in ~1ms, then a MiniLM classifier in ~4ms. 88.7% accuracy, CPU-only.
What is the context bloat of a NinjaOne agent and how do I avoid it?
Context bloat happens when NinjaOne tool schemas and API responses eat your NinjaOne agent's memory, preventing it from reasoning effectively. A single NinjaOne query can return a massive JSON response, and connecting multiple tools compounds the problem. Tools Discovery and Code Mode reduce context bloat — loading only relevant tools per query and keeping raw responses out of the agent's context.
Can I limit which actions my NinjaOne agent can access?
Yes — you can limit which actions your NinjaOne agent can access directly from the StackOne dashboard. Toggle actions on or off, or restrict them to specific accounts, with no code changes to your agent. Session tokens can be scoped to exact actions so if one leaks, exposure stays contained.
Can I create custom agent actions for my NinjaOne MCP server?
Yes — you can create custom agent actions for your NinjaOne MCP server using Connector Builder. It's an integration agent your coding assistant (Claude Code, Cursor, or Copilot) can invoke to research NinjaOne's API, generate production-ready connector YAML, test against the live API, and validate before you ship.
When should I NOT use a NinjaOne MCP server?
Skip a NinjaOne MCP server if your integration is purely software-to-software — direct NinjaOne API integration is simpler when no AI agent is involved. For deterministic, compliance-critical operations (financial transactions, regulatory reporting), direct API gives you predictable behavior without agent-driven decision-making. MCP shines when AI agents need to dynamically discover and call NinjaOne actions at runtime.
What AI frameworks and AI clients does the StackOne NinjaOne MCP server support?
The StackOne NinjaOne MCP server supports both. MCP clients (paste-and-go apps): Claude Desktop, Claude Code, Cursor, VS Code, Goose. Agent frameworks (code SDKs you build with): OpenAI Agents SDK, Anthropic, Vercel AI, Google ADK, CrewAI, Pydantic AI, LangChain, LangGraph, Azure AI Foundry.

Put your AI agents to work

All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.