npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@alfe.ai/connectwise-screenconnect-mcp

v0.1.0

Published

ScreenConnect session management through the RESTful API Manager extension and Alfe connections

Readme

ConnectWise ScreenConnect MCP

Runtime-independent stdio MCP server for ScreenConnect's RESTful API Manager extension. Alfe Connections supplies credentials at execution time. Every provider operation requires the exact connectionId returned by screenconnect_list_connections.

Setup

  1. Install the RESTful API Manager extension in the ScreenConnect administration Extension Marketplace. This integration implements the documented 1.0.8 API contract (server 22.3 or newer); notes need 1.0.6+.

  2. Set the extension's RESTfulAuthenticationSecret to a strong random secret and configure its execution user/permissions for the operations you need.

  3. Leave RESTfulAllowedOrigin empty or set it to the ScreenConnect site's origin, such as https://support.example.com. The runtime sends that origin on requests.

  4. Add a ConnectWise ScreenConnect connection in Alfe with that site's HTTPS origin and authentication secret, at a scope the agent can access.

  5. The connection-driven integration launches the server automatically. For manual testing on an already configured agent:

    npx -y @alfe.ai/[email protected]

@alfe.ai/config supplies the Alfe API key and API URL from the normal agent configuration. No ScreenConnect credentials are passed through command-line arguments or integration environment variables. The binary is connectwise-screenconnect-mcp.

Tools

| Tool | Purpose | | --- | --- | | screenconnect_list_connections | Discover connections without exposing secrets | | screenconnect_check_connection | Verify extension access with a read that matches no sessions | | screenconnect_list_sessions | Query sessions by a required session filter | | screenconnect_find_sessions | Find sessions by name | | screenconnect_get_session | Retrieve a session by its GUID | | screenconnect_get_session_details | Inspect events and connections, omitting screenshot bytes | | screenconnect_create_session | Create Support or Meeting sessions | | screenconnect_rename_session | Replace a session's display name | | screenconnect_update_custom_properties | Replace up to eight positional custom properties | | screenconnect_add_note | Append a session note | | screenconnect_send_message | Send a message attributed to a host | | screenconnect_run_command | Queue a remote command with exact target/content confirmation | | screenconnect_run_toolbox_item | Queue an existing toolbox item with exact target/item confirmation |

The API has no session pagination. The required filter controls the provider query; limit (1–500, default 100) limits the returned tool result and reports truncation. Narrow filters when the provider response exceeds 5 MiB.

Create supports Support and Meeting, and private sessions require a join code. Access agent installation is a different API and is not exposed here. Custom-property updates replace the entire positional array, so read the current values and preserve those you want to keep.

Remote command/toolbox responses mean accepted, not completed. Inspect session details for execution results. Requests are never automatically retried; check the resulting session state before retrying a mutation after a timeout or transport error.

Request contract

All requests target the fixed extension prefix /App_Extensions/2d558935-686a-4bd0-9991-07539f5fe749/Service.ashx/. Read methods use GET and mutations use POST, with application/json positional array bodies and the CTRLAuthHeader authentication header. Node's HTTPS transport supports the documented GET request bodies.

Before every request, all DNS answers must be public. The connection is pinned to those checked addresses with the original TLS hostname/certificate checks. Redirects are never followed. DNS, connection, and response streaming share a 30-second deadline. Request bodies are capped at 128 KiB and responses at 5 MiB. Errors omit provider bodies, URLs, credential bundles, and original network exception causes.

Verification

pnpm --filter @alfe.ai/connectwise-screenconnect-mcp typecheck
pnpm --filter @alfe.ai/connectwise-screenconnect-mcp lint
pnpm --filter @alfe.ai/connectwise-screenconnect-mcp test
pnpm --filter @alfe.ai/connectwise-screenconnect-mcp build

Contract tests verify transport/authentication, pinned DNS and SSRF rejection, response bounds, no mutation retries, credential rotation/isolation, and real MCP client/server exchanges. These tests do not constitute live tenant verification. Before rollout, use an approved ScreenConnect test instance with the extension configured to verify creation, updates, notes, messaging, and command/toolbox execution against a disposable session.

Official references verified 2026-09-08:

The documentation site may redirect to ConnectWise University authentication. The protocol contract was also available through the official page's search index at implementation time.