{
  "markdown": "# ConnectWise Automate MCP Server\n\nA Model Context Protocol (MCP) server for ConnectWise Automate with decision tree architecture for Claude.\n\n## One-Click Deployment\n\n> [!IMPORTANT]\n> **Before you click:** this server depends on `@wyre-technology/node-connectwise-automate`,\n> which is hosted on the **GitHub Packages** npm registry. GitHub Packages has no\n> anonymous access — even though the package is public, every `npm install` needs a\n> token. The cloud builder runs `npm install` for you, so you must give it one, or\n> the build fails with `npm error 401 Unauthorized ... npm.pkg.github.com`.\n>\n> 1. Create a GitHub **Personal Access Token** with the `read:packages` scope\n>    ([classic token](https://github.com/settings/tokens/new?scopes=read:packages&description=connectwise-automate-mcp%20deploy)).\n>    Any GitHub account works — you do **not** need to be a member of the\n>    `WYRE-AI` org to read its public packages.\n> 2. Add it as a build variable when prompted by the deploy flow:\n>    - **Cloudflare Workers** → set a build variable named **`NODE_AUTH_TOKEN`** to your PAT\n>      (Workers → Settings → Build → Variables and Secrets).\n>    - **DigitalOcean App Platform** → set an encrypted env var named **`GITHUB_TOKEN`**\n>      with scope **Build Time** to your PAT (the `.do/deploy.template.yaml` already declares it).\n\n[![Deploy to DO](https://www.deploytodo.com/do-btn-blue.svg)](https://cloud.digitalocean.com/apps/new?repo=https://github.com/WYRE-AI/connectwise-automate-mcp/tree/main)\n\n[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/WYRE-AI/connectwise-automate-mcp)\n\n> [!NOTE]\n> The DigitalOcean target builds the full Docker image and runs the complete MCP\n> server over HTTP — this is the recommended path for operators. This repo has no\n> Cloudflare Workers entrypoint (`src/worker.ts`), so the Workers button is not a\n> supported target yet; prefer DigitalOcean or the prebuilt container image\n> (`ghcr.io/wyre-ai/connectwise-automate-mcp`).\n\n## Features\n\n- **Decision Tree Architecture**: Navigate between domains (computers, clients, alerts, scripts) to access relevant tools\n- **Lazy Loading**: Client initialization and domain handlers are loaded on demand\n- **Comprehensive API Coverage**: Manage computers, clients, alerts, and scripts\n- **Interactive Device Card (MCP Apps)**: `cwautomate_computers_get` renders as a read-only interactive card in MCP Apps hosts (Claude Desktop/web); neutral by default, brandable via `window.__BRAND__` injection or `MCP_BRAND_*` env vars; plain-JSON behavior is unchanged in other hosts\n\n## Installation\n\nThis package is published to the **GitHub Packages** npm registry, which requires a\ntoken even for public packages. Authenticate once, then install:\n\n```bash\n# Authenticate npm to GitHub Packages (token needs the read:packages scope)\nexport NODE_AUTH_TOKEN=$(gh auth token)   # or a PAT with read:packages\n\nnpm install @wyre-ai/connectwise-automate-mcp\n```\n\nThe repo's `.npmrc` already points the `@wyre-ai` scope at GitHub Packages and\nreads the token from `NODE_AUTH_TOKEN`, so no further config is needed.\n\n## Configuration\n\nSet the following environment variables:\n\n| Variable | Required | Description |\n|----------|----------|-------------|\n| `CW_AUTOMATE_SERVER_URL` | Yes | Your ConnectWise Automate server URL (e.g. `https://your-server.hostedrmm.com`) |\n| `CW_AUTOMATE_CLIENT_ID` | Yes | ConnectWise Automate Client ID |\n| `CW_AUTOMATE_USERNAME` | Yes | Integrator username or user login |\n| `CW_AUTOMATE_PASSWORD` | Yes | Integrator password or user password |\n| `CW_AUTOMATE_2FA_CODE` | No | Two-factor authentication code (forces `user` authentication) |\n| `CW_AUTOMATE_AUTH_METHOD` | No | `integrator` (default) or `user` |\n\n### Authentication methods\n\nThe server supports both ConnectWise Automate authentication methods:\n\n- **`integrator`** (default) – machine-to-machine integrator account. Recommended for automation. Does not use 2FA.\n- **`user`** – interactive user login, which can supply a two-factor code.\n\nYou normally don't need to set `CW_AUTOMATE_AUTH_METHOD`: integrator auth is used by\ndefault, and `user` auth is selected automatically when `CW_AUTOMATE_2FA_CODE` is\nprovided.\n\n## Usage\n\n### As an MCP Server\n\nAdd to your Claude configuration:\n\n```json\n{\n  \"mcpServers\": {\n    \"connectwise-automate\": {\n      \"command\": \"npx\",\n      \"args\": [\"@wyre-ai/connectwise-automate-mcp\"],\n      \"env\": {\n        \"CW_AUTOMATE_SERVER_URL\": \"https://your-server.hostedrmm.com\",\n        \"CW_AUTOMATE_CLIENT_ID\": \"your-client-id\",\n        \"CW_AUTOMATE_USERNAME\": \"your-username\",\n        \"CW_AUTOMATE_PASSWORD\": \"your-password\"\n      }\n    }\n  }\n}\n```\n\n### Navigation\n\nThe server uses a decision tree pattern. Start by navigating to a domain:\n\n1. Use `cwautomate_navigate` to select a domain (computers, clients, alerts, scripts)\n2. Domain-specific tools become available\n3. Use `cwautomate_back` to return to the main menu\n\n### Available Domains\n\n#### Computers\n- List computers with filtering options\n- Get computer details\n- Search computers by name\n- Reboot computers remotely\n- Run scripts on computers\n\n#### Clients\n- List all clients\n- Get client details\n- Create new clients\n- Update existing clients\n\n#### Alerts\n- List alerts with filtering\n- Get alert details\n- Acknowledge alerts\n\n#### Scripts\n- List available scripts\n- Get script details\n- Execute scripts on computers\n\n## Development\n\n```bash\n# Install dependencies\nnpm install\n\n# Build\nnpm run build\n\n# Run tests\nnpm test\n\n# Type check\nnpm run typecheck\n\n# Lint\nnpm run lint\n```\n\n## License\n\nApache-2.0\n",
  "bytes": 5659,
  "sha": "4f9531dae57a87754de9e73b0cf13b01b1bc247b72c44d1fb0dc84929063514f",
  "repo_slug": "wyre-ai/connectwise-automate-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_wyre_ai_connectwise_automate_m_657ebdf7/readme"
}