Skip to main content
Connector guides

Connect ScreenConnect

ConnectWise ScreenConnect is a remote support and remote access tool. StackJack connects an AI assistant to your ScreenConnect site through the RESTful API Manager extension.

Written By Christopher Scaminaci

Last updated About 3 hours ago

ConnectWise ScreenConnect is a remote support and remote access tool. StackJack connects an AI assistant to your ScreenConnect site through the RESTful API Manager extension.

Know the risk before you connect. ConnectWise no longer provides public API documentation or developer licenses for ScreenConnect. This connector uses the RESTful API Manager, an extension from ConnectWise Labs whose documentation page is still published. If ConnectWise withdraws or changes the extension, the connector can stop working. Running a command or a toolbox item runs it on a remote machine, so StackJack asks for approval first.

Connecting ScreenConnect to StackJack gives your AI assistant a family of screenconnect_ MCP tools. MCP (Model Context Protocol) tools are the standardized commands an AI assistant can call through StackJack. With them, your AI can:

  • Find sessions - by id, by name, or with a ScreenConnect session filter expression
  • Read a session's history - its connections, notes, chat messages, and the commands run in it with their output
  • Manage sessions (on Pro plans) - create a session, rename it, set its custom properties, and add a note
  • Act on a remote machine (on Pro plans) - run a command, run a toolbox item, and send a chat message

How StackJack authenticates to ScreenConnect

The RESTful API Manager checks a secret that you choose and type into its settings. StackJack sends that secret in a header with every call; there is nothing to sign in to and no token to refresh. If you also set an allowed origin in the extension, StackJack sends it too.

Installing and setting up the extension

  1. In ScreenConnect (server version 22.3 or later), open the Extension Marketplace and install the RESTful API Manager by ConnectWise Labs.
  2. On the Extensions page, open the extension's Options menu, then Edit Settings.
  3. Enter a long random string in RESTfulAuthenticationSecret.
  4. RESTfulAllowedOrigin is optional. If you set it, enter the same value in StackJack.
  5. Click Save Settings.

Connect it in StackJack

  1. Open Connectors, then ScreenConnect.
  2. Enter your site address: the address you sign in to ScreenConnect at, a screenconnect.com cloud site or your own server's https address. A port is kept; any path is dropped, because StackJack adds the extension's path itself.
  3. Paste the extension secret, and the allowed origin if you set one.
  4. Click Test connection. StackJack looks up sessions by a name no session has, which changes nothing.

StackJack reaches your site from the internet, so a self-hosted server must be published at a public address with a valid certificate. Paste the secret again whenever you save the connection, including when you only rename it. Enter the allowed origin again too if you set one: a save with that field empty clears it.

What is worth knowing before you start

screenconnect_list_sessions_by_name finds sessions by name, and screenconnect_list_sessions_by_filter takes a ScreenConnect session filter expression, the language your session groups use. Every other session tool takes the session id they answer.

Changes that ask for approval

These tools are Pro and are marked destructive, so an agent asks for approval before it runs them:

  • Run a command and run a toolbox item - these run on the session's remote machine, with the rights of the ScreenConnect client (usually the local system account on Windows). The command's output arrives later in the session's history; read it with screenconnect_get_session_details.
  • Send a chat message - it appears on the remote machine's screen.
  • Create a session - a public session is listed on your site's guest page, and a session with a code can be joined by anyone who has the code.
  • Rename a session and change its custom properties - session groups, and the technician permissions scoped to them, filter on the name and the custom properties, so these can change who can reach the machine.

Adding a note is Pro but not marked destructive: technicians see it in the session's history, and nothing reaches the remote machine.

Answers that are marked sensitive

A session's details carry its history: chat messages, notes, and the commands run with their output. That can hold anything typed or printed in the session, so the answer is marked sensitive.

Rate limit

The extension publishes no rate limit. StackJack paces one connection at about one call a second.

When ScreenConnect refuses a call

  • The secret is refused (401): the secret in StackJack must match RESTfulAuthenticationSecret exactly, and the allowed origin must match RESTfulAllowedOrigin when that is set.
  • Not found (404): the extension is usually not installed or not enabled, or the address is not your ScreenConnect site.
  • A server error (5xx): the extension can report a failed call this way (its documentation names no error answer), for example a session id that does not exist. Check the id; if every call fails like this, check the secret and the allowed origin, then that your site is up.
  • Too many requests (429): wait before you try again.

Plans and limits

Every read is available on the Free tier. Every change is Pro. Business reaches the same tools as Pro and differs by monthly call quota.

See the generated ScreenConnect tool reference for the current inventory, plan assignment, input schemas and destructive-action labels.

ScreenConnect tools

screenconnect_ · 11 tools · Free 4 · Pro 7

Sessions

ToolWhat it does
screenconnect_add_note_to_session
Pro · Write
Adds a note to a session's history, which technicians see when they open the session.
screenconnect_create_session
Pro · Destructive
DESTRUCTIVE.
screenconnect_get_session
Free · Read-only
Reads one session by its id.
screenconnect_get_session_details
Free · Read-only
Reads one session's details by its id: the session, its connections and its history of events (notes, chat messages, and commands run with their output).
screenconnect_list_sessions_by_filter
Free · Read-only
Lists the sessions that match a ScreenConnect session filter expression, the language the site's session groups use.
screenconnect_list_sessions_by_name
Free · Read-only
Lists the sessions with this name.
screenconnect_update_session_custom_properties
Pro · Destructive
DESTRUCTIVE.
screenconnect_update_session_name
Pro · Destructive
DESTRUCTIVE.

Remote actions

ToolWhat it does
screenconnect_send_command_to_session
Pro · Destructive
DESTRUCTIVE.
screenconnect_send_message_to_session
Pro · Destructive
DESTRUCTIVE.
screenconnect_send_toolbox_item_to_session
Pro · Destructive
DESTRUCTIVE.