Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NINJA_SCOPENoOAuth scopemonitoring management control
NINJA_BASE_URLYesYour region's host, e.g. https://app.ninjarmm.com (US), https://eu.ninjarmm.com (EU)
NINJA_CLIENT_IDYesOAuth client ID
NINJA_SESSION_KEYNoNinjaOne web session cookie value (alternative for writes, expires with browser session)
NINJA_CLIENT_SECRETYesOAuth client secret
NINJA_REFRESH_TOKENNoUser-context refresh token (preferred for writes)
NINJA_LOCAL_AUTH_PORTNoPort for the one-time interactive login3846
NINJA_DEFAULT_CLIENT_IDNoDefault org ID for create_ticket

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_ticketsA

List tickets from a NinjaOne board. Requires boardId (default: 1). Supports pagination via cursor.

get_ticketA

Get a single NinjaOne ticket by ID.

create_ticketB

Create a new NinjaOne ticket. Requires write auth (refresh token or session key).

update_ticketC

Update an existing NinjaOne ticket. Requires write auth (refresh token or session key).

add_commentA

Add a comment to a NinjaOne ticket. Requires write auth (refresh token or session key).

list_boardsA

Returns known NinjaOne board IDs. NinjaOne has no boards listing API.

list_statusesA

List all NinjaOne ticket statuses with IDs.

list_organizationsC

List NinjaOne organizations (clients).

list_techniciansA

List NinjaOne app users (technicians) with their numeric IDs. Use to look up user IDs for ticket assignment.

get_auth_urlA

Generate a NinjaOne OAuth authorization URL. Open it in a browser to log in as yourself. After authorizing, copy the 'code' parameter from the redirect URL and pass it to exchange_code.

exchange_codeA

Exchange a NinjaOne authorization code for a refresh token. Paste the code from the redirect URL after using get_auth_url. Save the returned refresh_token as NINJA_REFRESH_TOKEN in your MCP client config.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cyberkoder/ninjaone-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server