acronis-mcp
MCP server that exposes Acronis Cyber Protect Cloud APIs as 14 read-only tools for managing alerts, tasks, agents, resources, policies, and tenants.
README
acronis-mcp
Acronis MCP server — exposes the Acronis Cyber Protect Cloud platform APIs as MCP tools.
Naming note: app.mspbots.ai calls this integration "Acronis" (
sys_integration.subject_code = ACRONIS, type "BackUp Disaster Recovery Software"). The underlying vendor product is Acronis Cyber Protect Cloud, and its public API surface is officially named the "Acronis Cyber Platform APIs" (developer.acronis.com).
Overview
This server implements the Model Context Protocol (Streamable HTTP/SSE transport) and covers the 14 read-only interfaces that MSPbots' own Acronis integration actually uses across 5 Acronis sub-APIs, matching the interface scope configured in MSPbots' sys_integration/sys_integration_api tables:
| Sub-API | Tools |
|---|---|
| Alert Manager v1 | 6 |
| Task Manager v2 | 2 |
| Agent Manager v2 | 1 |
| Resource Management v4 | 2 |
| Policy Management v4 | 2 |
| Account Management v2 (tenants) | 1 |
It follows the MSPbots Vendor MCP Service SOP: stateless, no stored credentials, per-request header authentication.
The underlying API authenticates via OAuth2 Client Credentials (POST <datacenter-url>/api/2/idp/token with client_id + client_secret, matching the "Data Center URL / Client ID / Client Secret" fields configured in MSPbots' own Acronis integration). This server does not perform the token exchange itself — it receives an already-obtained bearer access token per request, the same pattern used for other real-OAuth2 vendors in this MCP fleet (e.g. BizRatings, ConnectWise Asio): the gateway mints/refreshes the token from client_id/client_secret, and only the resulting token — plus the tenant's data center URL — reaches this server.
Quick Start
Docker (recommended)
docker compose up --build
The server starts on http://localhost:8080.
Local (uv)
uv sync
python -m acronis_mcp
Health Check
curl http://localhost:8080/health
# {"status": "ok", "service": "acronis-mcp", "transport": "http"}
No credentials are required for the health endpoint.
授权参数说明 (Authentication)
Every request to /mcp must include the following HTTP headers:
| Header | 类型 | 是否必填 | 默认值 | 枚举值 | 字段描述 | Example |
|---|---|---|---|---|---|---|
X-Acronis-Token |
string | 必填 | 无 | 无(自由文本) | OAuth2 bearer access token,由调用方(Agent Platform / 上游网关)通过 POST <datacenter-url>/api/2/idp/token(client_credentials grant,需 client_id + client_secret)预先换取并负责刷新。本服务从不接触 client_id/client_secret,只转发已获取的 token。 |
X-Acronis-Token: <access_token> |
X-Acronis-Datacenter-Url |
string | 必填 | 无 | 无(不同租户对应不同数据中心域名,以该租户在 Acronis 管理控制台 / MSPbots 集成配置里的 Data Center URL 为准,例如 https://us5-cloud.acronis.com、https://eu2-cloud.acronis.com) |
Acronis Cyber Protect Cloud 每个租户被分配在某一个数据中心,没有统一默认地址,必须显式传入。 | X-Acronis-Datacenter-Url: https://us5-cloud.acronis.com |
Missing either header returns 401 Unauthorized.
Environment Variables
| Variable | Default | Description |
|---|---|---|
MCP_HTTP_PORT |
8080 |
Listening port |
MCP_HTTP_HOST |
0.0.0.0 |
Listening host |
MCP Endpoint
POST http://localhost:8080/mcp
Connect your MCP client with:
- Transport:
http(Streamable HTTP / SSE) - Headers:
X-Acronis-Token: <access_token>(required),X-Acronis-Datacenter-Url: <datacenter_url>(required)
Tool List
14 tools, matching the exact interface count MSPbots' own Acronis integration uses.
Alert Manager (6)
| Tool | 功能 | 参数 |
|---|---|---|
acronis_get_alerts |
按条件查全部告警 | limit?, severity?, type?, category?, tenant?, query?, show_deleted?, order?, updated_at?, created_at?, extra_params? |
acronis_get_customer_alerts |
按客户分组查告警 | customer_id(必填,列表), severity?, type?, category?, query?, show_deleted?, extra_params? |
acronis_get_customer_alerts_count |
查每个客户的告警计数 | severity?, type?, category?, show_deleted?, extra_params? |
acronis_get_alert_types |
查全部已注册告警类型 | os_type(必填,列表), category?, order? |
acronis_get_resource_status |
查含最高严重告警的资源 | id?(列表), embed_alert? |
acronis_get_alert_status |
按 scope 分组查最新最高严重告警 | scope_key(必填), scope_value?(列表) |
Task Manager (2)
| Tool | 功能 | 参数 |
|---|---|---|
acronis_get_tasks |
查任务列表 | state?, type?, priority?, resourceId?, policyId?, updatedAt?, limit?, after?, order?, lod?, extra_params? |
acronis_get_task_activities |
查任务活动列表 | state?, type?, taskId?, resourceId?, policyId?, updatedAt?, limit?, after?, order?, lod?, extra_params? |
Agent Manager (1)
| Tool | 功能 | 参数 |
|---|---|---|
acronis_get_agents |
查已注册 agent 列表 | hostname?, online?, os_family?, tenant_id?, up_to_date?, limit?, after?, before? |
Resource Management (2)
| Tool | 功能 | 参数 |
|---|---|---|
acronis_get_resources |
查全部受管资源(workload/设备/分组) | tenant_id?, agent_id?, parent_id?, type?, resource_id?, search?, include_attributes?, include_deleted?, is_group?, updated_at?, limit?, after?, before?, extra_params? |
acronis_get_resource_statuses |
查资源防护状态 | tenant_id?, agent_id?, resource_id?, search?, include_deleted?, updated_at?, order?, limit?, after?, before?, extra_params? |
Policy Management (2)
| Tool | 功能 | 参数 |
|---|---|---|
acronis_get_policies |
查防护策略列表 | tenant_id?, types?, enabled?, policy_id?, search?, include_settings?, templates_only?, limit?, after?, before?, extra_params? |
acronis_get_policy_applications |
查策略应用(策略与资源的绑定关系) | tenant_id?, policy_id?, context_id?, context_type?, status?, enabled_only?, limit?, after?, before?, extra_params? |
Account Management (1)
| Tool | 功能 | 参数 |
|---|---|---|
acronis_get_tenant |
按 ID 查租户信息 | tenant_id(必填), embed_path?, allow_deleted? |
测试示例 (Test Example)
Fetch alerts:
{
"method": "tools/call",
"params": { "name": "acronis_get_alerts", "arguments": { "limit": 10, "show_deleted": false } }
}
Equivalent curl against the running server (streamable HTTP MCP endpoint):
curl -X POST http://localhost:8080/mcp \
-H "Content-Type: application/json" \
-H "X-Acronis-Token: <access_token>" \
-H "X-Acronis-Datacenter-Url: https://us5-cloud.acronis.com" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": { "name": "acronis_get_alerts", "arguments": { "limit": 10 } }
}'
A parameterized call:
{
"method": "tools/call",
"params": {
"name": "acronis_get_tenant",
"arguments": { "tenant_id": "890f6ce1-918d-43c8-9f9c-8febb5bec432" }
}
}
API Reference
- API library:
https://developer.acronis.com/doc/outbound/apis/index.html - Alert Manager v1:
https://developer.acronis.com/doc/alerts/v1/reference/index.html - Task Manager v2:
https://developer.acronis.com/doc/tasks/v2/reference/index.html - Agent Manager v2:
https://developer.acronis.com/doc/agents/v2/reference/index.html - Resource & Policy Management v4:
https://developer.acronis.com/doc/resource-policy-management/v4/reference/index.html - Account Management v2:
https://developer.acronis.com/doc/account-management/v2/reference/index.html
Known Gaps / Implementation Notes
- Scope is intentionally bounded to the 14 interfaces MSPbots' own Acronis integration is configured to use, not the full Acronis Cyber Platform API surface (which also includes PSA, Event Manager, Disaster Recovery, EDR, Vaults Management, File Sync & Share, and write/management endpoints across every sub-API) — per this task's requirement that interface count stay consistent with MSPbots.
- Endpoints with a large filter surface (e.g.
acronis_get_alerts,acronis_get_customer_alerts,acronis_get_tasks,acronis_get_resources,acronis_get_policies) expose the most commonly-used filters as named parameters plus a genericextra_params: dictfor the remaining, less-common query filters documented in the vendor API reference. X-Acronis-Datacenter-Urlhas no default — Acronis Cyber Protect Cloud tenants are provisioned on one of several regional data centers with no single fallback, so the caller must always supply it (matches the "Data Center URL" field being a required field in MSPbots' own Acronis integration config).- Not yet tested against a live Acronis account — only protocol-level verification (health check, 401 on missing headers,
tools/listreturning all 14 tools) has been done so far.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。