superops
by wyre-technologyv1.0.0
SuperOps.ai - tickets, assets, clients, runbooks (GraphQL)
Commands
acknowledge-alertAcknowledge an RMM alert to indicate investigation is underway
add-ticket-noteAdd a note (internal or public) to an existing SuperOps.ai ticket
create-ticketCreate a new service ticket in SuperOps.ai
get-assetGet detailed asset information including hardware, software, and alerts
list-alertsList active RMM alerts across all clients or filtered by criteria
list-assetsList and filter assets in SuperOps.ai
log-timeLog a time entry against a SuperOps.ai ticket
resolve-alertResolve an RMM alert and optionally create a ticket
run-scriptExecute a script on a remote asset via SuperOps RMM
update-ticketUpdate fields on an existing SuperOps.ai ticket
Documentation
# SuperOps.ai Plugin
Claude Code plugin for SuperOps.ai PSA/RMM integration.
## Overview
This plugin provides Claude with deep knowledge of SuperOps.ai, enabling:
- **Ticket Management** - Create, search, update, and manage service tickets
- **Asset Management** - Query assets, run scripts, monitor patches
- **Client Operations** - Client and site management
- **Alert Handling** - Monitor, acknowledge, and resolve alerts
- **Runbook Execution** - Execute automation scripts on assets
## Configuration
### Claude Code Settings (Recommended)
Add your credentials to `~/.claude/settings.json` (user scope, encrypted on macOS):
```json
{
"env": {
"SUPEROPS_SUBDOMAIN": "acmemsp",
"SUPEROPS_API_TOKEN": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}
}
```
For project-specific configuration, use `.claude/settings.local.json` (gitignored):
```json
{
"env": {
"SUPEROPS_SUBDOMAIN": "acmemsp",
"SUPEROPS_API_TOKEN": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}
}
```
### Environment Variables Reference
| Variable | Required | Description |
|----------|----------|-------------|
| `SUPEROPS_SUBDOMAIN` | Yes | Your SuperOps company subdomain |
| `SUPEROPS_API_TOKEN` | Yes | Bearer token from Settings > Integrations > API |
| `SUPEROPS_API_URL` | No | API URL (defaults to US: `https://api.superops.ai/graphql`) |
### Obtaining API Credentials
1. **Log into SuperOps.ai**
- Navigate to your SuperOps instance
2. **Generate an API Token**
- Go to **Settings > Integrations > API**
- Click **Generate Token** or **Create New Token**
- Give your token a descriptive name (e.g., "Claude Code Integration")
- Copy the generated token (it will only be shown once)
3. **Find Your Subdomain**
- Your subdomain is your company identifier in SuperOps
- This is typically your company name or a custom identifier
4. **Determine Your API Region**
- **US Region**: `https://api.superops.ai/graphql`
- **EU Region**: `https://euapi.superops.ai/graphql`
### Testing Your Connection
Once configured in Claude Code settings, test the connection (env vars injected by Claude Code):
```bash
# Test connection (GraphQL query)
curl -X POST "https://api.superops.ai/graphql" \
-H "Authorization: Bearer ${SUPEROPS_API_TOKEN}" \
-H "CustomerSubDomain: ${SUPEROPS_SUBDOMAIN}" \
-H "Content-Type: application/json" \
-d '{"query": "{ clients { edges { node { id name } } } }"}' | jq
```
## Installation
```bash
# Clone the repository
git clone https://github.com/wyre-technology/msp-claude-plugins.git
# Navigate to plugin
cd msp-claude-plugins/superops/superops-ai
# Use with Claude Code
claude --plugin .
```
## Available Skills
| Skill | Description |
|-------|-------------|
| `tickets` | Service ticket management and workflows |
| `assets` | Asset inventory and management |
| `clients` | Client and site management |
| `alerts` | Alert monitoring and resolution |
| `runbooks` | Script and runbook execution |
| `api-patterns` | Common SuperOps.ai GraphQL patterns |
## Available Commands
| Command | Description |
|---------|-------------|
| `/create-ticket` | Create a new service ticket |
| `/list-assets` | List and filter assets |
## API Reference
- **Base URL**: `https://api.superops.ai/graphql` (US) or `https://euapi.superops.ai/graphql` (EU)
- **Auth**: Bearer token + `CustomerSubDomain` header
- **Rate Limit**: 800 requests per minute
- **Docs**: [SuperOps.ai API Documentation](https://developer.superops.ai/)
## Contributing
See the main [CONTRIBUTING.md](../../CONTRIBUTING.md) for guidelines.