atera-mcp
Read-only-by-default MCP server for Atera RMM/PSA, with optional write/delete access and optional local ticket statistics.
Browse and filter tickets, including recently modified tickets, full details, comments, work hours, and attachments.
List and search customers, contacts, agents/devices, alerts, contracts, knowledge base articles, invoices, custom fields, network devices, departments, and billing rates.
Inspect agent hardware/OS, online status, exact machine lookup, and installed/available patches.
Use search helpers for customers, contacts, agents, alerts, and KB text when Atera cannot filter server-side.
Optionally enable a local SQLite ticket index for statistics: counts, trends, rankings, resolution/first-response times, SLA compliance, work hours, and advanced ticket search.
Opt in to write/delete tools via
ATERA_ACCESS; read-only tools carry MCP safety annotations and return compact, paginated results.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@atera-mcp show me all open tickets for Acme Corp"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
atera-mcp
A clean, read-only-by-default MCP server for the Atera RMM/PSA API v3.
Ticket statistics over your whole history (optional): a local SQLite index kept in sync with Atera answers counts, trends, rankings, resolution/first-response times and SLA compliance in milliseconds, over tens of thousands of tickets. See Ticket index and statistics.
50 tools over tickets, customers, contacts, agents (devices), alerts, contracts, knowledge base, billing, custom fields, network devices, departments and rates.
Every tool is listed from the first
tools/list. No "navigate first" step, no hidden state: works with any MCP host, including gateways and shared/pooled processes.Safe by default: read-only unless you opt in with
ATERA_ACCESS=writeorfull. Tools carry MCP annotations (readOnlyHint,destructiveHint,idempotentHint).Small outputs: list tools return a summary of each item (
full=truefor every field), null/empty fields are stripped, pages are capped at 50 items.Search helpers for what Atera can't filter server-side:
find_customers,find_contacts,find_agents, severity/customer/agent filters on alerts, text search in the knowledge base.Robust client: JWT keys sent as
Bearer, legacy keys asX-API-KEY; retries reads on 429/5xx/network errors (honoursRetry-After) but never replays a write that may have reached Atera; errors come back as a JSON envelope the model can act on.2 runtime dependencies:
@modelcontextprotocol/sdkandzod.
Quick start
You need Node.js 20+ (22.13+ for the ticket index) and an Atera API key (Atera → Admin → API). Prefer a key with read permissions only, unless you enable write tools.
ATERA_API_KEY=your-key npx -y atera-mcpClaude Desktop / Claude Code / Cursor
{
"mcpServers": {
"atera": {
"command": "npx",
"args": ["-y", "atera-mcp"],
"env": {
"ATERA_API_KEY": "your-key",
"ATERA_ACCESS": "read"
}
}
}
}Pin a version with atera-mcp@0.2.2. Without npm access, the tarball attached to each GitHub release works too, and so does git (slower: it builds on install):
npx -y https://github.com/ValentinAUCLERC/atera-mcp/releases/download/v0.2.2/atera-mcp-0.2.2.tgz
npx -y github:ValentinAUCLERC/atera-mcp#v0.2.2From source
git clone https://github.com/ValentinAUCLERC/atera-mcp.git
cd atera-mcp
npm ci
npm run build
ATERA_API_KEY=your-key node dist/index.jsRelated MCP server: Autotask MCP Server
Configuration
Variable | Default | Description |
| — (required) | Atera API key. JWT tokens are sent as |
|
|
|
| — | Default author of ticket comments (an existing Atera technician). See Comment author. |
| all | Comma-separated subset to expose fewer tools: |
|
| Timeout of one HTTP call to Atera. |
|
| Max size of one tool result. Longer lists are trimmed (whole items, with |
| — (disabled) | Enables the local ticket index and the |
|
| IANA time zone used for date filters and day/week/month grouping, e.g. |
|
| Max Atera requests per minute used by the index sync (capped at 600; Atera allows ~700 for the whole account). |
|
| Incremental sync period (tickets modified since the last sync). |
|
| Full reconciliation period (re-reads every ticket, removes deleted ones). |
|
| Timeout of one sync request, download included. |
|
| API base URL (tests, proxies). |
Example for a helpdesk assistant that only needs tickets and who's who:
ATERA_ACCESS=write ATERA_TOOLSETS=tickets,customers,contacts,agentsTools
Access: R read, W write (create/update), D delete. W tools need ATERA_ACCESS=write, D tools ATERA_ACCESS=full.
Toolset | Tool | Access | What it does |
tickets |
| R | Tickets by status and/or customer (summary) |
tickets |
| R | Tickets modified since a date, or whose status changed |
tickets |
| R | Full ticket: description, last comments, SLA |
tickets |
| R | Ticket conversation |
tickets |
| R | Billable / non-billable time, optionally each entry |
tickets |
| R | Ticket attachments |
tickets |
| W | Create a ticket for a contact (ID or email) |
tickets |
| W | Status, priority, impact, type, title, technician |
tickets |
| W | Technician comment, internal by default |
tickets |
| D | Delete a ticket |
stats |
| R | Counts, open/resolved, resolution & first-response times, SLA %, work hours; grouped by status, priority, type, source, customer, technician, end user or period (needs the index) |
stats |
| R | Tickets filtered by date ranges, technician, end user, title, several statuses (needs the index) |
stats |
| R | Index state: tickets indexed, last syncs, progress, last error (needs the index) |
customers |
| R | Customers (summary) |
customers |
| R | Search by name, domain or business number |
customers |
| R | Full customer |
customers |
| W | Create / update a customer |
customers |
| D | Delete a customer |
contacts |
| R | Contacts, exact email/phone filter |
contacts |
| R | Search by name/email, optionally per customer |
contacts |
| R | Full contact |
contacts |
| W | Create / update (or archive) a contact |
contacts |
| D | Delete a contact |
agents |
| R | Monitored machines, optionally per customer |
agents |
| R | Search by machine, user, IP, customer; online/offline filter |
agents |
| R | Full hardware/OS record |
agents |
| R | Exact machine name lookup |
agents |
| R | Installed or available Windows updates |
agents |
| D | Remove an agent |
alerts |
| R | Alerts by status; severity/customer/agent filters |
alerts |
| R | Full alert |
alerts |
| W | Raise / resolve an alert |
alerts |
| D | Delete an alert |
account |
| R | Account behind the API key |
contracts |
| R | Contracts, optionally per customer |
knowledge |
| R | Knowledge base, optional text search |
billing |
| R | Invoices |
customfields |
| R | Custom field definitions |
customfields |
| R | Custom values of a ticket, customer, contact, agent… |
customfields |
| W | Set a custom value |
devices |
| R | Network devices (generic, TCP, SNMP, HTTP) |
departments |
| R | Departments |
rates |
| R | Products or expenses rates |
Output shapes
List tools:
{ "items": [ ... ], "page": 1, "totalPages": 4, "totalItems": 73, "hasMore": true }find_* tools (and filtered list_alerts / list_kb_articles) scan pages of 50 client-side:
{ "items": [ ... ], "scannedPages": 3, "totalPages": 12, "truncated": true }truncated: true means the scan stopped before the last page (limit reached or maxPages hit): there may be more matches.
Errors (isError: true):
{ "error": { "code": "not_found", "message": "Atera returned HTTP 404 for GET /tickets/99: ...", "status": 404, "retryable": false } }code is one of invalid_argument, unauthorized, forbidden, not_found, rate_limited, upstream_error, network_error.
Comment author
Atera API keys belong to the account, not to a person, so Atera needs every ticket comment to name an existing technician (otherwise it answers 404 Invalid input). add_ticket_comment picks the author in this order:
The user declared by the MCP client in the
tools/callrequest:_meta.user.email. A chat app that knows who is logged in can sign comments as that person. The model cannot override it, so text inside a ticket can't make the server sign as someone else.technicianId/technicianEmailpassed by the model.ATERA_TECHNICIAN_EMAIL.
With none of them, the tool returns an error without calling Atera.
{
"method": "tools/call",
"params": {
"name": "add_ticket_comment",
"arguments": { "ticketId": 123, "comment": "Called the user" },
"_meta": { "user": { "email": "alice@example.com" } }
}
}Ticket index and statistics
Atera's API returns at most 50 tickets per call and can only filter tickets by status and customer. Computing statistics by paging through the API from a chat is slow, expensive in tokens and gives wrong numbers. With ATERA_CACHE_DIR set, the server keeps a local SQLite copy of every ticket's metadata (no comment text) and answers statistics from it.
How it stays up to date:
Initial build, in the background on first start: walks every page of
/ticketsatATERA_SYNC_RPM. 40,000 tickets = 800 requests ≈ 3 minutes at the default rate. It is resumable: if the process stops, it continues where it was. When a page is too heavy to download in time (descriptions with inline images…), the page size shrinks (50 → 25 → 10 → 5 → 1) around it, then grows back; a single ticket that still cannot be downloaded is skipped and logged. Until it completes, the stats tools answer "index being built (page x / y)" instead of failing.Incremental sync every
ATERA_SYNC_INTERVAL_MIN:/tickets/lastmodifiedsince the last sync (with a 10-minute overlap). Usually 1 request. A stale index is also refreshed just before answering a question.Full reconciliation every
ATERA_SYNC_FULL_MIN: re-reads everything, which also refreshes fields that do not bump the modification date. A ticket missing from the run is removed only after Atera confirms it is gone (HTTP 404).
After a restart the index is read from disk and caught up incrementally, so keep ATERA_CACHE_DIR on persistent storage (a Docker volume). Every answer includes index.dataAsOf, the time of the last successful sync.
Sizing (measured on 40,000 synthetic tickets): ~10 MB on disk, aggregates over the whole index in under a second, results of a few KB.
Examples of questions it answers: tickets per month over the last two years; average and median resolution time per technician in 2025; open tickets per customer; first-response SLA compliance last quarter; oldest open tickets.
The index lives in the MCP process: the server must stay up for periodic syncs to run. Hosts that stop idle MCP servers simply resume the sync at the next start. If several processes share the same index file (e.g. an old process still running after a configuration change), a lease stored in the database makes sure only one of them syncs; the others just read.
Notes and limits
Atera allows about 700 requests per minute per account.
find_*tools cost one request per scanned page (10 by default, 40 max). The index sync stays underATERA_SYNC_RPM.Updates use Atera's partial update endpoints: only the fields you pass are sent.
The API key never appears in tool results or logs. Logs go to stderr (stdout is the MCP channel).
Endpoints and payloads follow Atera's published Swagger for API v3. The spec is public: the developer portal (https://api.atera.com/devportal) loads it from
https://api.atera.com/proxy/publicapi/v3/openapi. If a write misbehaves on your account, please open an issue with the error envelope.
Development
npm ci
npm run typecheck
npm test
npm run buildTests mock fetch and drive the real MCP server through an in-memory transport, so they need no Atera account.
Releases: push a vX.Y.Z tag; the release workflow builds, tests, publishes to npm (trusted publishing, with provenance) and attaches atera-mcp-X.Y.Z.tgz to the GitHub release.
License
MIT
Available Tools
32 toolsfind_agentsFind agentsARead-onlyIdempotent
Search agents by machine name, logged-in user, IP or customer name (contains, case-insensitive), optionally only offline/online ones. For an exact machine name prefer get_agent_by_machine.
Inputs: limit, query, online, maxPages, +1 more.
find_contactsFind contactsARead-onlyIdempotent
Search contacts whose name or email contains the query, optionally restricted to one customer. Use it to get an EndUserID.
Inputs: limit, query, maxPages, customerId, +1 more.
find_customersFind customers by nameARead-onlyIdempotent
Search customers whose name, domain or business number contains the query (case-insensitive). Use it to get a CustomerID from a company name.
Inputs: query (required), limit, maxPages.
get_accountGet Atera accountARead-onlyIdempotent
The Atera account behind the API key: company, plan, time zone.
Inputs: no named parameters.
get_agentGet an agentBRead-onlyIdempotent
Full agent record: hardware, OS, Office, disks, battery, IP/MAC addresses, last reboot…
Inputs: agentId (required).
get_agent_by_machineGet agents by machine nameCRead-onlyIdempotent
Agents whose machine name is exactly this one (Atera lookup).
Inputs: machineName (required), full, page, itemsInPage.
get_agent_patchesGet agent patchesBRead-onlyIdempotent
Installed or available (missing) Windows updates of a device, by DeviceGuid.
Inputs: kind (required), deviceGuid (required).
get_alertGet an alertBRead-onlyIdempotent
Full alert record (thresholds, message, related ticket…).
Inputs: alertId (required).
get_contactGet a contactCRead-onlyIdempotent
Full contact record.
Inputs: contactId (required).
get_contractGet a contractBRead-onlyIdempotent
Full contract record, including rates and included hours.
Inputs: contractId (required).
get_customerGet a customerBRead-onlyIdempotent
Full customer record (address, notes, links…).
Inputs: customerId (required).
get_custom_fieldsGet custom field valuesCRead-onlyIdempotent
Custom field values of one entity (all fields, or a single one with fieldName).
Inputs: entity (required), entityId (required), fieldName.
get_departmentGet a departmentCRead-onlyIdempotent
One department.
Inputs: departmentId (required).
get_deviceGet a network deviceCRead-onlyIdempotent
One network-monitored device.
Inputs: type (required), deviceId (required).
get_invoiceGet an invoiceBRead-onlyIdempotent
Full invoice with line items, issuer and recipient.
Inputs: invoiceNumber (required).
get_ticketGet a ticketBRead-onlyIdempotent
Full ticket record: description (first comment), last end-user and technician comments, SLA dates and durations.
Inputs: ticketId (required), includeRelations.
get_ticket_work_hoursGet ticket work hoursARead-onlyIdempotent
Time spent on a ticket: billable / non-billable totals, plus the individual time entries when entries=true.
Inputs: ticketId (required), page, entries, itemsInPage.
list_agentsList agents (devices)ARead-onlyIdempotent
List monitored machines (Atera agents): name, customer, OS, online status, last seen, logged-in user. Optionally only one customer.
Inputs: full, page, customerId, itemsInPage.
list_alertsList alertsARead-onlyIdempotent
List alerts. Status is filtered by Atera; severity, customer and agent filters scan up to maxPages pages.
Inputs: full, page, limit, status, +5 more.
list_contactsList contactsARead-onlyIdempotent
List contacts (end users). Exact filter by email or phone is done by Atera.
Inputs: full, page, email, phone, +1 more.
list_contractsList contractsBRead-onlyIdempotent
Customer contracts (retainer, block hours, hourly…), optionally for one customer.
Inputs: full, page, customerId, itemsInPage.
list_customersList customersARead-onlyIdempotent
List customers (ID, name, domain, city, phone). Use find_customers to search by name.
Inputs: full, page, itemsInPage.
list_custom_field_definitionsList custom field definitionsBRead-onlyIdempotent
Custom fields defined in Atera: name, data type, target entity and allowed values.
Inputs: no named parameters.
list_departmentsList departmentsCRead-onlyIdempotent
Customer departments.
Inputs: full, page, itemsInPage.
list_devicesList network devicesARead-onlyIdempotent
Network-monitored devices (generic, TCP, SNMP or HTTP) — not the agents installed on machines.
Inputs: type (required), full, page, itemsInPage.
list_invoicesList invoicesCRead-onlyIdempotent
Billing invoices (number, date, contract, totals).
Inputs: full, page, itemsInPage.
list_kb_articlesList knowledge base articlesBRead-onlyIdempotent
Knowledge base articles. With query, scans articles whose product, keywords, category, section or content contains it.
Inputs: full, page, limit, query, +2 more.
list_modified_ticketsList recently modified ticketsBRead-onlyIdempotent
Tickets modified since a date ("last_modified", default) or whose status changed ("status_modified"). Good for "what happened today / since Monday".
Inputs: full, mode, page, since, +2 more.
list_ratesList billing ratesCRead-onlyIdempotent
Billing rates: products or expenses.
Inputs: kind (required), full, page, itemsInPage.
list_ticket_attachmentsList ticket attachmentsCRead-onlyIdempotent
Attachments of a ticket (names and links as returned by Atera).
Inputs: ticketId (required).
list_ticket_commentsList ticket commentsBRead-onlyIdempotent
Conversation of a ticket: author, date, internal flag and text of each comment.
Inputs: ticketId (required), full, page, itemsInPage.
list_ticketsList ticketsARead-onlyIdempotent
List tickets (summary: number, title, status, priority, customer, end user, technician, dates). Filter by status and/or customer. Newest first is not guaranteed: use list_modified_tickets for recent activity.
Inputs: full, page, customerId, itemsInPage, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 32 tools
Tools are grouped by distinct Atera resources, and descriptions proactively distinguish easily confused pairs such as list_customers/find_customers, list_devices/list_agents, and get_agent/find_agents/get_agent_by_machine. The main residual ambiguity is the multiple agent-retrieval variants, but selection guidance is strong.
All tool names use a predictable snake_case verb_noun pattern with list_, get_, and find_ prefixes. Compound names such as get_agent_by_machine and get_ticket_work_hours still follow the same convention without mixing casing or verb styles.
With 32 tools, the server exceeds the rubric's 25+ threshold for 'too many.' Although Atera is a broad platform, many tools are list/get/search variants that could be consolidated or better namespaced, making the surface heavy for an agent to navigate.
The read/query surface is comprehensive across customers, contacts, agents, devices, tickets, alerts, invoices, contracts, KB articles, and custom fields. However, there are no create, update, or delete operations, so the set cannot perform common lifecycle actions such as opening or updating tickets, adding comments, or managing records.
Maintenance
Related MCP Connectors
Check devices, alerts and tickets in Atera, and open tickets, comment or resolve alerts.
Read tickets, clients, assets and invoices; create and update tickets, add notes in HaloPSA.
Read tickets, contacts, companies, agents and groups; create, update and reply to tickets.
Lets AI agents analyze API metrics, request logs, and traces, and manage apps and alerts.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides comprehensive access to the Kaseya VSAX (VSA 10) REST API v3 through 67 specialized tools. It enables users to manage devices, run workflows, execute scripts, and oversee organizational data using natural language and OData query support.1MIT
- AlicenseCqualityCmaintenanceProvides AI assistants with direct access to Autotask PSA for MSP operations. Enables natural language interaction for ticket management, time logging, company lookups, project tracking, and billing review through 39 comprehensive tools.100Apache 2.0
- AlicenseBqualityDmaintenanceComprehensive read/write access to the Datto RMM API v2, enabling management of devices, sites, alerts, audits, jobs, variables, filters, and activity logs through 46 tools.46MIT
- AlicenseNot gradedqualityBmaintenanceLets an AI agent read an MSP's customers, monitored agents, alerts, tickets and contacts through the Atera RMM/PSA v3 API, and, on explicit request, create customers and tickets, update ticket fields and add ticket comments. It runs statelessly over MCP Streamable HTTP with a per-request API key and exposes all 20 list, get and write tools from the first tools/list call.Apache 2.0