acronis-mcp
This server exposes an allowlisted MCP interface for querying Acronis Cyber Protect Cloud data, with 34 read-only tools in the provided schema and 3 opt-in write tools if enabled.
Fetch tenants, tenant batches/hierarchy/children, users, user batches, current user, search results, MFA status, and tenant usage metrics.
Query alerts: list/filter alerts, get one alert, categories, types, counters, grouped-by-scope/customer views, active counts, and top-severity resources.
Query protection policies and applications: policies, policy details, applications, issue statistics, application statuses, resources, resource counts/details, and protection status.
List/get Acronis agents and EDR incidents, and check response-action status.
When ACRONIS_ENABLE_WRITES=true, also mark an alert false positive, update an EDR investigation state, or execute a protection policy.
Enforces allowlists, per-tenant process isolation, SSRF/base-URL validation, response sanitisation/size caps, and rate limiting; excluded high-risk operations include create/delete, tokens, billing, branding, and EDR response initiation.
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., "@acronis-mcp list my Acronis tenants and show any active alerts"
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.
acronis-mcp
WYRE-AI hosted wrapper around the vendor's own MCP server for Acronis Cyber Protect Cloud
(@acronis-platform/mcp, pinned to the
exact version 1.0.1). The wrapper adds what the upstream server does not have:
a curated, tiered tool allowlist (34 read tools, 3 opt-in write tools out of upstream's 159),
per-tenant process isolation, hosted dual-era HTTP serving (2025-era
initializehandshake and 2026-07-28 stateless envelope), andX-Gateway-S2Sverification,response sanitising (size cap, secret/token redaction, uniform error shape),
an SSRF guard on the Acronis base URL (WYREAI-454).
tools/list is static (generated at build time), so it works without credentials and without
starting any child process. Only tools/call starts an upstream child.
Upstream pinning policy
@acronis-platform/mcp has no source repository and no provenance, and it ships as one esbuild
bundle that dependency scanners cannot see into. So it is pinned byte for byte
(scripts/upstream-pin.json):
the exact version in
package.json(no^/~),the tarball integrity (sha512) in
package-lock.json, whichnpm cienforces, andthe sha256 of every file the package can run: all of
bin/anddist/(bin/cli.js, which is what the pool executes, anddist/bundle.js). A file added or removed there fails the check too, and so does any symlink underbin/ordist/(a pinned file replaced by a link to identical content would otherwise pass the hash).
Not covered by the file hashes: the upstream's own dependencies, under
node_modules/@acronis-platform/mcp/node_modules (today supports-color). They are covered only
by the lockfile integrity (npm ci checks every tarball) and by the read-only /app in the image.
npm run verify-upstream (scripts/verify-upstream.mjs) checks all of it. It runs in both CI jobs
and in the Dockerfile after npm prune, so it checks the node_modules that ships; a mismatch
fails the image build.
Bumps happen by pull request only, and a human reviews them. Dependabot is told to ignore the
package (.github/dependabot.yml), so no bump PR exists for it. That is the whole of the repo-side
control: see "Required maintainer actions" below for what a file cannot enforce. A bump needs a
human to
diff the new bundle against the old one (beautify both and compare, or at least the outbound
fetch/httpcall sites, the token flow and anything touchingprocess.envor the filesystem),diff the upstream
tools/listagainstresearch/upstream-tools-1.0.1.json(new, renamed or duplicated tools),regenerate
src/generated/tools.tswithnpm run gen-tools,re-review
research/tiers.jsonand the integration test,update
scripts/upstream-pin.json(version,tarballIntegrityfromnpm view <pkg>@<version> dist.integrity, and the sha256 of each file infilesfromshasum -a 256).
Required maintainer actions (repository and organization settings)
.github/CODEOWNERS names the owners of the pin, lockfile, Dockerfile, egress guard, pool,
credential and sanitising code, and CI. None of that is enforced today. These are settings a
repository admin has to change; nothing in this repo can:
Enable "Require review from Code Owners" in the branch protection rule on
main(require_code_owner_reviewsisfalsenow).Require the status checks
Test on Node.js 22.x,Test on Node.js 24.xandCode Qualityonmain(none are required now), so the pin check and the image build cannot be skipped.Exclude
/Dockerfileand/.githubfrom the org'sdependabot-janitor. It auto-merges green grouped Dependabot PRs, and thegithub-actionsanddockergroups change exactly those two paths, which hold the pin check, the guard copy and the image hardening. With 1 and 2 off, such a PR can change them with no human review.
Until these are done, a bot can merge a change to the pin check or the Dockerfile unreviewed.
Egress (what the code does and what it cannot)
The code confines what it can. This is defence in depth, not a sandbox:
The base URL is validated to exactly one label under
acronis.com(see Credentials).Every child preloads
child-egress-guard.cjs. Itsfetchmay reach only the origin of its ownAPI_BASE_URL, and it passesredirect: "error", so a 307/308 from the token endpoint cannot replay theclient_secretto another host. It reads the request URL once, as a string (aURLthrough the prototypehrefgetter, aRequestthrough the prototypeurlgetter), and forwards that same string, so neither an object whosetoString()names another URL, nor aURLorRequestsubclass, nor a getter that answers differently the second time can pass the check and then request another host.The same guard aborts a response body over 256 KiB while it streams, before the bundle buffers and parses it (see "Pool sizing").
Regression risk, untested against a real tenant: redirect: "error" means any 3xx from Acronis,
for the token endpoint or an API call, now fails the call instead of being followed. Likewise a
response over 256 KiB now fails. Both were tested only against local fakes; neither has been run
against a real Acronis tenant, and a datacenter that redirects legitimately would show up as
upstream_unavailable.
An oversize response is an error, never a partial list. The cap is on the raw HTTP body, before
the bundle parses it, so there is no valid prefix to return, and a cut-off list that looks complete
("these are all the alerts") is worse than an error. The wrapper turns it into
{"error":{"code":"response_too_large",...}} (recognised only when the first text block of the error is
exactly the guard's HTTP request failed: Acronis response is larger than N bytes and was not read; an
upstream 400 whose body quotes that text is passed through as the real error, tested with a real child)
whose message says it is not an empty result and names the
tool's own narrowing parameters, read from its input schema (query.limit and query.after to page,
query.tenant, query.tenant_id or query.customer_id to scope, filters such as query.severity).
Only 12 of the 34 read tools take limit. The two with nothing to narrow by,
acronis_fetch_tenant_users and acronis_fetch_tenant_children, point to
acronis_fetch_users_batch and acronis_fetch_tenants_batch, which do. A large organization can
still hit the cap on a tool such as acronis_fetch_tenant_usages.
The guard covers the global fetch only. A hostile bundle can still open raw sockets, read files,
and read its siblings' /proc/<pid>/environ.
Restricting the container's outbound traffic to *.acronis.com cannot be done from inside the
container or from this repo, and has not been done. Azure Container Apps gives the container
unrestricted egress by default. It needs an infrastructure change in the Conduit fleet
(azure/vendor-fleet.bicep and its environment): a VNet-integrated environment whose outbound
traffic goes through a user-defined route to an FQDN-filtering firewall (for example Azure Firewall)
with an application rule that allows only *.acronis.com on 443. Not verified.
Also not solved (open): all children run as the same uid as the wrapper. A hostile bundle could
read the other children's /proc/<pid>/environ and the wrapper's own environment, which includes
CONDUIT_S2S_SECRET (the child's environment is built from scratch, but /proc/<ppid>/environ is
readable by the same uid). Per-child uids or a hardened /proc need container or platform changes.
The pin, the guard, the read-only /app (the Dockerfile keeps /app root-owned so a child cannot
rewrite the bundle, the guard or the wrapper) and the review above reduce that risk; they do not
remove it. Mirroring or vendoring the tarball (protection against the version being unpublished) is
also not done.
Upstream 1.0.1 ships three duplicated tool names (device_authorization_approval,
fetch_registration_tokens, create_registration_token); none are allowlisted, and the generator
refuses any allowlisted name that is missing or duplicated upstream.
Related MCP server: abnormal-mcp
Why one child process per tenant
One upstream process holds one privileged client_credentials token and uses it for every caller.
Sharing a process between tenants would let one tenant's request run with another tenant's token.
So src/upstream-pool.ts spawns one child per distinct credential tuple
(key = sha256(baseUrl, clientId, clientSecret); raw values are never logged) over stdio, using
@modelcontextprotocol/client, and routes each call to its own tenant's child.
Child binary:
require.resolve('@acronis-platform/mcp/package.json')→bin/cli.js, run withprocess.execPath.Child environment is built from scratch (the parent env is not inherited, so
CONDUIT_S2S_SECRETetc. cannot leak):PATH,NODE_ENV,API_BASE_URL,OAUTH_CLIENT_ID,OAUTH_CLIENT_SECRET,MCP_TRANSPORT=stdio,MCP_TOOLS_INCLUDE=<allowlist for enabled tiers>. (The MCP client SDK additionally adds its own non-secret defaults:HOME,LOGNAME,SHELL,TERM,USER.)Every child runs with
--max-old-space-size=80 --max-semi-space-size=1and preloadschild-egress-guard.cjs(see "Egress" and "Pool sizing"). One call runs in a child at a time.Idle TTL
ACRONIS_POOL_IDLE_MS(default 10 min), and every child is closed on shutdown. An evicted child that is mid-call is closed when the call ends.
Pool sizing and failure modes
Memory is the limit, and what counts is the peak under sustained load of the wrapper and of every child together, not idle sizes and not a one-shot call. (An earlier version of this section sized the pool from one-shot figures; a review showed that overshot by about 25%.)
npm run build && node scripts/sustained-load.mjs measures it: the real built wrapper as its own
process with the flags from the Dockerfile CMD, a real HTTP server, the real pool, real upstream
children and the real egress guard, against a fake Acronis that answers with realistic JSON lists at
the response cap. Several callers on several tenants run for 6 s while the wrapper's event loop is
stalled for 100 ms every 250 ms (a 0.25 vCPU container does this under load), and the RSS of the
wrapper and of each child is sampled every 20 ms. npm run test:load
(src/__tests__/sustained-load.test.ts; CI runs it after the other tests, and it is not part of
npm test because it needs the CPU to itself) runs it as a regression test and fails above the
container size or on any crashed child (set ACRONIS_SKIP_LOAD_TEST=1 to skip it).
The table below is macOS with Node 26. The Linux CI job (Ubuntu, not the alpine image and not under
docker run -m) prints the same measurement: on Node 24 the wrapper peaked at 123-128 MiB and a
child at 139-141 MiB, with a total of 349-350 MiB at 0.5 Gi (budget 512) and 659 MiB at 1 Gi
(budget 1024); Node 22 is lower (wrapper 98-103, child 123-133, 310-313 and 610 MiB). The constants
in src/upstream-pool.ts follow the largest of these: CHILD_PEAK_MB 145, WRAPPER_PEAK_MB 140
(the wrapper is lower on Linux; it was not lowered). Nobody working on this had Docker, so nothing
here is measured in the image. Before trusting a size, run the image under the real limit
(docker run -m 512m ...) and re-run the script there; adjust WRAPPER_PEAK_MB, CHILD_PEAK_MB and
CHILD_STARTUP_MB to what it shows.
Sustained load, 2 tenants, 6 callers, 6 s | Before | Now |
Wrapper | no heap cap; idle 121, peak 298-302 MiB |
|
One child | 480 KiB responses, 2 calls at once; idle 130, peak 198-200 MiB | 250 KiB responses, 1 call at a time, |
Children at 0.5 Gi | 2 | 1 |
Total RSS, peak | 691-692 MiB (budget 512; the pool believed about 480) | 330-338 MiB (budget 512) |
At 1 Gi with 4 tenants and 8 callers the total peaked at 627-628 MiB on macOS (wrapper 134-140, a child 123-125) and 659 MiB on Linux with Node 24. Two children plus a third starting (what 0.5 Gi would allow at 2) peaked at 483 MiB on macOS: it fits, but leaves no 15% margin, which is why 0.5 Gi gets 1.
A child is bounded these ways:
Heap cap: it runs with
--max-old-space-size=80. A child that exhausts its heap dies alone; the pool drops it and respawns on the tenant's next call (tested with the real child). With one call at a time and responses of at most 256 KiB, a child ran cleanly under the stalled load at 32 MiB, ran at about 60% of the throughput at 24 MiB and would not start at 16 MiB, so 80 leaves 2.5x. (With two calls at once and 480 KiB responses the old 80 MiB heap was marginal: the review saw V8 "Ineffective mark-compacts" crashes when the wrapper's event loop stalled.) It caps the V8 heap only; the response cap keeps native and external memory small.Response cap: the egress guard aborts any upstream response body over 256 KiB while it streams (or at once, if
Content-Lengthsays so), before the bundle buffers and parses it. The call fails withresponse_too_large(see "Egress" for what the model is told, and for the risk that this is untested against a real tenant). 256 KiB is a judgement, not a measurement of real Acronis list sizes.In-flight cap: one call runs in a child at a time. More wait in a per-child queue of at most 8 callers for up to 30 s, then get
rate_limited. So one tenant can have at most 9 calls in flight or waiting: the 10th at the same moment is refused at once withrate_limited, and a queued call that waits 30 s (nine slow Acronis calls in a row will) gets it too.Spawn timeout: a child that has not answered
initialize(it fetches its token first) within 30 s is killed; a child that replaces an idle one (the pool is full) within 8 s, because the idle child takes no new calls until the replacement is up, so a slow or tarpitted newcomer must not hold a healthy tenant for 30 s. A replacement that times out is remembered as a failed spawn (below), so a bad credential cannot repeat it.
The ceiling on children is derived from the container's memory limit (process.constrainedMemory(),
which reads the cgroup limit; 0, unknown or "unlimited" falls back to 512 MiB, i.e. 1 child).
ACRONIS_MEMORY_LIMIT_MB can only lower it: it is capped at the limit Node reads, and ignored
(with a warning) when Node cannot read one, so a wrong value cannot size the pool past the
container:
children = clamp(floor((limit / 1.15 - 140 wrapper peak - 115 one child starting) / 145 peak per child), 1, 4)Container memory | Children |
0.5 Gi (the fleet today, | 1 (190 MiB left for children: 1.3, floored) |
0.75 Gi | 2 (was 3 with the macOS child peak of 130) |
1 Gi or more | 4 (hard ceiling; 4.4 before the clamp) |
The 15% margin is applied to the whole sum, and the "one child starting" is the replacement the pool
starts before it evicts an idle child (below). ACRONIS_POOL_MAX can only lower the ceiling (a higher
value is clamped and logged). At startup the pool logs one line, Upstream pool, with the memory
limit it found (or unknown (assuming 512)), the derived ceiling, the effective maximum and the time
slice, so an operator can see why a 1 Gi container runs one child (Node could not read the limit:
constrainedMemory() is 0, and ACRONIS_MEMORY_LIMIT_MB cannot raise it).
What 1 child at 0.5 Gi means in practice: very few concurrent tenants. A second tenant that calls
while the first is mid-call waits for its turn (below), up to 30 s, and is then refused with
rate_limited. Every change of tenant is a cold start (a spawn plus a token fetch, slow at 0.25
vCPU). Two tenants that are both busy therefore share one child, taking turns of 10 s:
measured with 2 tenants x 3 callers for 45 s (macOS, Node 26), tenant 0 completed 267 calls and
tenant 1 223, none refused, the longest call 11.3 s (a slice plus a start). Recommendation: raise
the container to 1 Gi (4 children; no rate_limited in the 4-tenant run above). That is a Conduit
infrastructure change (azure/vendor-fleet.bicep), not part of this repository or this change.
How the pool behaves at the ceiling:
A new credential that finds an idle child in a full pool spawns its child first, and the idle child (LRU) is closed only when the new one is up, so a stream of bad credentials cannot flush healthy tenants' children. From the moment that spawn starts the idle child takes no new calls: its tenant queues behind the newcomer. The replacement lasts until the old child has exited, not only until the new one is up, so there are never more than max + 1 children alive (the +1 is that replacement, and at most one runs at a time: the idle child it replaces is claimed until the newcomer is up or has failed, and no second replacement may start before then). A child that leaves the pool any other way (evicted for idleness, or crashed) counts as alive until its close has finished too, so no child starts in its place before it has exited. The close escalates (stdin EOF, 2 s, SIGTERM, 2 s, SIGKILL; tested with a real child that ignores both) and the pool stops counting a close that never returns after 8 s, so one stuck child cannot hold up every later replacement. A child that leaves the pool while it is still starting (its caller disconnected, then it was replaced) counts until its spawn has ended, at most the 30 s spawn timeout, and then its close; shutdown never waits more than 8 s for it. A newcomer whose spawn fails or times out has its child killed (SIGKILL) and the spawner waits for the process to really exit before it reports the failure, so the replacement slot is not released while that child is still dying (the SDK closes the transport itself on a connect timeout and a later close returns at once). Tested with a counting spawner (30 distinct newcomers at max 2 with a slow-closing child: peak 3), under churn, and with real children: a hung replacement spawn with a newcomer queued behind it never has more than max + 1 live processes (3 before the kill-and-wait).
If every child is busy, or a replacement is starting, the caller waits in a queue of at most 8 callers, at most 3 of them for one credential (so one tenant's parallel callers cannot fill the queue and have every other tenant refused at once; a fourth caller of the same tenant is refused at once), for up to 30 s, then is refused at once with
{"error":{"code":"rate_limited",...}}(the 429 case). It never spawns an extra child.Minimum residency. An idle child is replaced only once it has been up for a time slice (10 s), so a slot is respawned at most about once per slice, however briefly its tenant pauses between calls. Before, any idle child was replaced the moment another credential waited, so tenants that paused for a moment between calls swapped the child back and forth, each swap a cold start (a token fetch and about 115 MiB, slow at 0.25 vCPU). Waiters wait for the child to age, or for another to free up. One timer for the pool wakes them when it has aged, in the order they arrived, so they are served in arrival order (a timer per waiter resumed them in timer order, which was out of order in 20 of 300 runs of a 5-waiter test under CPU load).
Turns. A child serves its tenant without limit while nobody else waits (the fast path is unchanged). Once a different credential is waiting and the child has held its slot for a time slice (10 s,
ACRONIS_POOL_SLICE_MS), it takes no new calls: the calls already in flight or queued in it finish (a call is never cut off), the child goes idle, and the slot passes to the waiters in the order they arrived. The tenant's later calls queue behind the waiter, and get the slot back after that tenant's own slice. Without this a tenant with a steady stream of calls kept its child busy for ever: before this change, 2 tenants x 3 callers on one child for 45 s gave tenant 1 607 calls and tenant 0 3 (6rate_limited, longest wait 30.1 s). A waiter is served within about one slice plus the calls in flight, which is why the slice is a third of the 30 s a caller waits. With more tenants than children the wait is several slices, so more than about three tenants per child will seerate_limited: that is the capacity limit, and the answer is memory.ACRONIS_POOL_SLICE_MSis clamped to between 1 s (a smaller slice is a respawn per call) and 15 s, half the 30 s wait (a longer one means a waiter times out before the child makes way).Measured churn (0.5 Gi, ceiling 1, real children, 2 tenants x 3 callers, 30 s, macOS, Node 26;
scripts/sustained-load.mjsdoes not take a think time, so these runs used a copy of the reviewer's harness with a pause between each caller's calls):Case
Spawns per minute, before -> after
Calls completed, before -> after
rate_limited, before -> afterback to back
38.4 -> 7.9
204 -> 1171
0 -> 0
500 ms pause between calls
20.3 -> 7.8
74 -> 175
0 -> 0
2 s pause
26.7 -> 7.4
45 -> 48
0 -> 0
10 tenants x 2 callers, 500 ms pause
28.9 -> 7.4
59 -> 117
492 -> 587
The reviewer measured higher churn before (157 spawns per minute at a 500 ms pause) than this repeat of the same shape did (20); the harness settings may differ. After, every case is at about one spawn per slice (6 per minute plus the start). The last row is the honest cost: with 10 tenants on one child, three tenants are served in 30 s (one per 10 s slice) and the rest wait out the 30 s and get
rate_limited(six of ten tenants got no call in 30 s). Before, the idle-child swaps spread the service thinly over all ten (4-8 calls each, 59 in all) and refused 492 calls. Neither is usable; more than about three active tenants needs more memory, so 1 Gi is a prerequisite for that, not an optimisation.Bad credentials cannot starve the incumbent tenant (see the limitations below for what they can still do to others). The negative cache (30 s) is per credential, so a stream of different bad credentials gets past it: each one that waits makes the incumbent yield once its slice is over, and the incumbent takes no new calls while the newcomer's spawn is tried. When that spawn fails the incumbent keeps its child and gets a whole new slice before another credential may ask it to make way again. So the incumbent, if healthy, is held for one failed spawn per slice it serves, and keeps at least
slice / (slice + 8 s)of its time however many bad credentials rotate: 56% at the default 10 s slice if every bad spawn runs to the 8 s replacement timeout, 87% if each fails after 1.5 s (and only 11% with the smallest slice, 1 s, which is one more reason not to lower it). Reviewer's probe (ceiling 1, slice 10 s, 30 s wait, 1.5 s bad spawns, 32 distinct bad clientIds in 48 s, a healthy tenant calling twice a second): the reviewer measured 1 call in 48 s with real children; the same shape on a fake clock, as a test, gave 20 of 96 before and gives 84 of 96 now, the longest gap between two of its calls 2 s.Known limitations of this queueing (not changed here).
A non-incumbent can still be starved. The guarantee above is for the tenant that already holds the child. With two healthy tenants and a stream of distinct bad credentials, the bad ones keep the 8-place queue full, and a healthy tenant that is not the incumbent is then refused at once (
rate_limited) instead of waiting for its turn. The reviewer measured it: the non-incumbent got 60 of 240 calls, with a 100 s gap between two of them. Only the credentials that get past the per-credential negative cache cause this, so a mitigation would be a per-source or global failed-spawn limit; that is a change of design and is not part of this one.A newcomer waits out failed replacements ahead of it. A failed replacement gives the incumbent a fresh slice, so a valid newcomer queued behind a bad credential waits for that slice to end before it may ask the incumbent to make way: one full slice (10 s by default) per bad credential ahead of it, plus its own spawn. The reviewer measured 16.5 s with one bad credential ahead, and
rate_limitedwith three ahead at the 30 s wait.
A caller that disconnects (the MCP request's abort signal, tested over real HTTP) leaves every queue at once and frees its place. This also holds while the child is still starting and just before the call would run: a caller that has gone is rejected and its call (possibly a write) never runs. The per-child queue (one running, 8 waiting) applies to callers waiting on a starting child too.
A failed spawn (wrong or revoked credentials, no route to the datacenter) is remembered for 30 s, keyed by the credential hash (at most 256 entries), and the same error is returned without spawning. After 30 s the next call tries again.
Rolling this out. Production runs the old default of 50 today: Conduit's bicep never sets
ACRONIS_POOL_MAX. Moving to 1 child at 0.5 Gi (and 0.25 vCPU) means cold starts whenever more than
one tenant is active, and rate_limited when the child is busy. Check the number of tenants active
in a busy hour (distinct credentials calling this server) before the roll, and raise the container
memory first if it is more than 1 (to 1 Gi for up to 4).
Not bounded: native and external memory of a child beyond what the caps above keep small. The container's OOM restart is still the last backstop for that.
Known upstream behaviours to be aware of:
Upstream 1.0.1 fetches an OAuth token eagerly at startup, so a child with bad credentials (or no route to the datacenter) exits immediately. The caller then gets an
{error:{code:"upstream_unavailable",…}}result; the first call per tenant pays the token round trip.Each tenant child runs with its own private, throwaway
HOME(mkdtemp, mode 0700, removed when the child exits), so the upstream token cache below is never shared between tenants.Upstream caches the access token on disk under
~/.mcp/token-cache(mode 0600, AES-256-GCM, keyed from the client secret).Upstream registers an extra built-in tool,
get_acronis_skill, that is not filtered byMCP_TOOLS_INCLUDE. The wrapper never lists or forwards it (the allowlist is enforced a second time in the call handler).
Tools
Tool names are acronis_ + the upstream name. A tool that is not in research/tiers.json is never
listed and never callable. This is enforced twice: MCP_TOOLS_INCLUDE on the child, and an allowlist
check in our tools/call handler.
read tools are always available (
readOnlyHint: true).write tools appear and work only when
ACRONIS_ENABLE_WRITES=true(defaultfalse); annotatedreadOnlyHint: false,destructiveHint: false.
Input schemas are taken verbatim from upstream. Because 37 tools exceeds the fleet's ~25 flat-tool
threshold, descriptions are cut to the first sentence (max 300 chars) with the
[Account Management API 2]-style prefix removed. Tool definitions live in
src/generated/tools.ts, produced by scripts/gen-tools.mjs (npm run gen-tools) from
research/upstream-tools-1.0.1.json filtered by research/tiers.json.
tools/list payload size (JSON bytes):
Surface | Before (upstream, full) | After (wrapper) |
Upstream, all 159 tools | 298,320 | n/a (not exposed) |
34 read tools | 70,343 | 67,309 |
37 tools (reads + writes) | 75,822 | 72,864 |
(Schemas dominate the payload and are kept from upstream, so description trimming saves ~5%.)
Tool | Tier | Upstream API |
| read | Account Management API 2 |
| read | Account Management API 2 |
| read | Account Management API 2 |
| read | Account Management API 2 |
| read | Account Management API 2 |
| read | Account Management API 2 |
| read | Account Management API 2 |
| read | Account Management API 2 |
| read | Account Management API 2 |
| read | Account Management API 2 |
| read | Alert Manager 1.0 |
| read | Alert Manager 1.0 |
| read | Alert Manager 1.0 |
| read | Alert Manager 1.0 |
| read | Alert Manager 1.0 |
| read | Alert Manager 1.0 |
| read | Alert Manager 1.0 |
| read | Alert Manager 1.0 |
| read | Alert Manager 1.0 |
| read | Alert Manager 1.0 |
| read | Resource and Policy Management API v4 |
| read | Resource and Policy Management API v4 |
| read | Resource and Policy Management API v4 |
| read | Resource and Policy Management API v4 |
| read | Resource and Policy Management API v4 |
| read | Resource and Policy Management API v4 |
| read | Resource and Policy Management API v4 |
| read | Resource and Policy Management API v4 |
| read | Resource and Policy Management API v4 |
| read | Agent Management REST API 2 |
| read | Agent Management REST API 2 |
| read | Endpoint Detection and Response API 1.0 |
| read | Endpoint Detection and Response API 1.0 |
| read | Endpoint Detection and Response API 1.0 |
| write | Alert Manager 1.0 |
| write | Endpoint Detection and Response API 1.0 |
| write | Resource and Policy Management API v4 |
Before enabling writes (ACRONIS_ENABLE_WRITES=true) two hardening items from the security
review (WYREAI-711) are still open, and the fleet does not enable writes, so only the 34 reads are
served: rejecting ., .., / and % in path parameters (which parameters are path parameters
depends on each upstream endpoint, so a blanket string check would break legitimate filters), and a
cap on the total response size (today each text block is capped at 100 KB, not their sum).
Excluded categories
Not exposed and not callable, whatever the environment:
tenant / user / API-client create and delete, and all other deletes
pricing, offering items, usage updates, editions (money)
tokens, one-time tokens (OTT), device authorization, IdP / OpenID configuration
registration tokens
branding
EDR
initiate_response_actioneverything else not named in
research/tiers.json
Response sanitising
Every upstream result passes through src/sanitize.ts: text is capped at 100 KB with a truncation
marker; values under keys matching secret|password|token|access_token|refresh_token|api[_-]?key|authorization|client_secret
are redacted in JSON; Bearer tokens and JWT-looking strings are redacted anywhere; non-text blocks
are dropped. Errors reach the caller as {"error":{"code","message"}} with the message capped at
500 chars and the tenant's credentials scrubbed.
Credentials
Copy .env.example. Leave CONDUIT_S2S_SECRET empty in that file.
Local / stdio (Claude Desktop, CLI): set
ACRONIS_BASE_URL,ACRONIS_CLIENT_ID,ACRONIS_CLIENT_SECRET(an Acronis API client withclient_credentials). stdio does not useCONDUIT_S2S_SECRET.Hosted / gateway (
AUTH_MODE=gateway): credentials arrive per request and never fall back to the environment.
Gateway header | Meaning |
| Datacenter URL, e.g. |
| API client ID |
| API client secret |
Base URL validation (SSRF guard): https only, hostname must be exactly one DNS label under
acronis.com (eu8-cloud.acronis.com; the same rule as Conduit), no userinfo, no non-default
port, no path/query/fragment. So acronis.com, a.b.acronis.com, a trailing dot, evilacronis.com,
acronis.com.evil.com and IDN/punycode look-alikes are all rejected (401 in gateway mode, no child
spawned). The URL parser lowercases the host, so EU8-Cloud.Acronis.com is the same host and is
stored lowercase.
Environment variables
Variable | Required | Description |
| stdio and | Acronis datacenter URL (see validation above) |
| stdio and | API client ID |
| stdio and | API client secret |
| No |
|
| No | Max concurrent upstream children. Default and ceiling are derived from the container memory (1 at 0.5 Gi, 4 at 1 Gi); this can only lower it. See "Pool sizing". |
| No | Lowers the memory the pool sizes itself for, in MiB. Capped at the container limit Node reads ( |
| No | How long (ms) a child serves its tenant, while another credential waits for a slot, before it takes no new calls and makes way, and the least time an idle child stays before another credential may replace it. Default |
| No | Idle time before a child is closed. Default |
| No |
|
| No |
|
| Yes for HTTP | Service-to-service secret. The HTTP server logs an error and exits non-zero when this is empty or a known placeholder. Compose will not start without it. Never commit a real value. Generate one with |
| No | Set to |
| No | Bind address when a real |
| No | HTTP port. Defaults to |
| No |
|
/health and /healthz stay unauthenticated and do not read credentials.
X-Gateway-S2S signing
With MCP_TRANSPORT=http and CONDUIT_S2S_SECRET set, every /mcp request must include X-Gateway-S2S:
X-Gateway-S2S: t=<unix seconds>,v1=<hex hmac-sha256>v1 is HMAC-SHA256 over the ASCII message t=<unix seconds>, keyed with CONDUIT_S2S_SECRET, hex-encoded. The timestamp must be within 300 seconds of the server clock. A missing or invalid header returns 401. The secret is never logged.
In AUTH_MODE=gateway, /mcp also requires the three X-Acronis-* headers. A request missing any of them (or carrying an invalid base URL) returns 401 and does not fall back to ACRONIS_*.
Run locally (stdio)
Requires Node >= 22.
npm install
npm run build
ACRONIS_BASE_URL=https://us5-cloud.acronis.com \
ACRONIS_CLIENT_ID=... ACRONIS_CLIENT_SECRET=... npm startRun as HTTP (gateway / hosted)
CONDUIT_S2S_SECRET="$(openssl rand -hex 32)" MCP_TRANSPORT=http AUTH_MODE=env \
ACRONIS_BASE_URL=https://us5-cloud.acronis.com ACRONIS_CLIENT_ID=... ACRONIS_CLIENT_SECRET=... npm start
# → http://127.0.0.1:8080/mcp, health at http://127.0.0.1:8080/healthLocal HTTP without a secret is development-only. It binds 127.0.0.1 and logs a warning:
MCP_TRANSPORT=http MCP_ALLOW_INSECURE_DEV=1 npm startDocker
The image (node:26-alpine, runs as user acronis) listens on 0.0.0.0 inside the container and
defaults to AUTH_MODE=gateway. No registry auth or build secret is needed. The container needs
outbound HTTPS to the Acronis datacenters (see "Egress" for what restricts it). The build fails if
the installed upstream bundle differs from the pin (scripts/verify-upstream.mjs).
docker build --platform linux/amd64 -t acronis-mcp .
docker run -e CONDUIT_S2S_SECRET="$(openssl rand -hex 32)" -p 127.0.0.1:8080:8080 acronis-mcpCompose refuses to start when CONDUIT_S2S_SECRET is unset and does not inject ACRONIS_*:
CONDUIT_S2S_SECRET="$(openssl rand -hex 32)" docker compose upDevelopment
npm install
npm run lint && npm run typecheck && npm test && npm run build
npm run smoke # dual-era HTTP smoke test (after build)
npm run gen-tools # regenerate src/generated/tools.ts
npm run verify-upstream # check the pinned upstream version, lockfile integrity and the sha256 of every file it runs
npm run test:load # sustained-load memory check of the built wrapper (after build; see "Pool sizing")The integration tests spawn the real pinned package. Upstream 1.0.1 needs a token endpoint before it
answers tools/list, so the tests point the child's API_BASE_URL (and a temp HOME) at a local
fake, with dummy credentials. http-tenant-isolation.test.ts goes through the real HTTP server and
checks, against real child processes, that different credentials get separate children and never
see each other's credentials.
License
Apache-2.0
Available Tools
34 toolsacronis_fetch_active_alert_countBRead-only
Returns count of active alerts and last modification time.
acronis_fetch_agentBRead-only
Gets one Acronis agent by ID.
Inputs: path (required).
acronis_fetch_agentsCRead-only
Lists the Acronis agents installed on machines in a tenant.
Inputs: query.
acronis_fetch_alertBRead-only
Fetches the information about the alert by ID.
Inputs: path (required), query.
acronis_fetch_alert_countersCRead-only
Fetches the alert counters that may be grouped by optional parameters.
Inputs: query.
acronis_fetch_alert_counts_per_customerCRead-only
Fetches count of alerts per customer.
Inputs: query.
acronis_fetch_alerts_grouped_by_scopeBRead-only
Gets the most recent of the most severe alerts for each group, grouped by the scope you choose.
Inputs: query.
acronis_fetch_alerts_grouped_per_customerCRead-only
Fetches alerts of the specified customers.
Inputs: query.
acronis_fetch_all_alertsCRead-only
Fetches all alerts by optional filtering parameters.
Inputs: query.
acronis_fetch_all_alert_typesCRead-only
Fetches all registered alert types.
Inputs: query.
acronis_fetch_applications_issue_statisticsCRead-only
Counts problems with applied policies, grouped by issue.
Inputs: query.
acronis_fetch_application_statuses_by_policyCRead-only
Gets the status of every resource a given policy is applied to.
Inputs: query.
acronis_fetch_categoriesCRead-only
Lists the alert categories that are turned on.
Inputs: query.
acronis_fetch_current_user_infoBRead-only
Fetches information about the currently authenticated user.
acronis_fetch_incidentBRead-only
Gets the details of one EDR security incident by ID.
Inputs: path (required), query, headers.
acronis_fetch_incidentsCRead-only
Lists EDR security incidents, with optional filters.
Inputs: query.
acronis_fetch_policiesCRead-only
Lists protection policies (called protection plans in the Acronis console).
Inputs: query.
acronis_fetch_policyBRead-only
Gets one protection policy and its settings by ID.
Inputs: path (required), query.
acronis_fetch_policy_applicationsCRead-only
Lists where policies are applied, meaning which resources each policy covers, with optional filters.
Inputs: query.
acronis_fetch_resourceCRead-only
Gets one resource (a machine, mailbox or other workload) by ID.
Inputs: path (required), query.
acronis_fetch_resource_countCRead-only
Fetch a count of all resources that match filter parameters.
Inputs: query.
acronis_fetch_resource_protection_statusCRead-only
Shows which resources are protected and which aren't.
Inputs: query.
acronis_fetch_resourcesCRead-only
Lists resources (machines, mailboxes and other workloads), with optional filters.
Inputs: query.
acronis_fetch_resources_with_top_severity_alertsCRead-only
Fetches the resources' statuses that contain the alerts with the highest severity found for the resources.
Inputs: query.
acronis_fetch_response_action_statusBRead-only
Gets the status of a response action that was started on an incident, such as isolating a machine.
Inputs: path (required), query.
acronis_fetch_tenantCRead-only
Fetches a tenant by ID.
Inputs: path (required), query.
acronis_fetch_tenant_childrenARead-only
Lists the IDs of the tenants directly under a tenant, such as a partner's customers.
Inputs: path (required), query.
acronis_fetch_tenant_mfa_statusCRead-only
Provides MFA status for tenant and progress of TOTP enablement by users.
Inputs: path (required).
acronis_fetch_tenants_batchBRead-only
Gets several tenants at once, by up to 100 tenant IDs, by parent tenant, or as a tenant and everything under it.
Inputs: query.
acronis_fetch_tenant_usagesCRead-only
Fetches a list of common usage metrics of the tenant.
Inputs: path (required), query.
acronis_fetch_tenant_usersBRead-only
Fetches a list of UUIDs of the tenant's users.
Inputs: path (required), query.
acronis_fetch_userCRead-only
Fetches a user by ID.
Inputs: path (required), query.
acronis_fetch_users_batchCRead-only
Gets details for several users at once.
Inputs: query.
acronis_searchCRead-only
Searches for tenants and users.
Inputs: query.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 34 tools
The tenant, user, policy, resource, agent, and incident tools are mostly distinguishable. However, the alert surface has many overlapping-sounding tools such as fetch_all_alerts, fetch_alert_counters, fetch_alerts_grouped_by_scope, fetch_alerts_grouped_per_customer, fetch_alert_counts_per_customer, and fetch_active_alert_count, so selecting the right one requires careful reading.
Nearly all tools use a consistent acronis_ prefix followed by snake_case fetch_* names, with one search_ exception. Minor variations like fetch_alert vs fetch_all_alerts and grouped/count naming are readable and predictable.
At 34 tools, the surface is large for a single MCP server and is especially heavy in alert-related read variants. Several alert count/grouping tools could likely be consolidated without losing capability.
The server provides broad read-only coverage across tenants, users, alerts, policies, resources, agents, and incidents. However, it lacks lifecycle or mutation operations such as creating/updating policies, acknowledging or resolving alerts, or starting response actions, and fetch_response_action_status has no corresponding action-start tool.
Maintenance
Related MCP Connectors
Sherweb Platform MCP server to manage subscriptions and orders. Use OpenID Connect to authenticate.
Hosted remote MCP for protected account access, permissions, activity history and supported undo.
Governed data discovery, exact queries, decisions, simulations, and runtime utilities over MCP.
Scopable MSP API: clients, quotes, assessments, compliance, QBRs. OAuth 2.1, read-only or read-write
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceMCP server that exposes Acronis Cyber Protect Cloud APIs as 14 read-only tools for managing alerts, tasks, agents, resources, policies, and tenants.-
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to query Abnormal Security for threats, message search, remediation history, ATO cases, vendor/BEC data, and opt-in evidence download and response actions.Apache 2.0
- AlicenseAqualityBmaintenanceProvides read-only visibility into CyberQP privileged access management data, including customer and account metadata, tenant event logs, and Just-In-Time account status and policies, for AI assistants.10Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to read a managed SOC's customer data, including confirmed incidents, detection app events and summaries, agent and firewall inventory, detection apps, account hierarchy, and Microsoft Defender and Microsoft 365 status. All operations are read-only, stateless, and multi-tenant via a per-request API key header.Apache 2.0