Addigy
БесплатноНе проверенUnified MCP server for Addigy device management, exposing both v2 and legacy v1 APIs to query devices, alerts, policies, and applications.
Описание
Unified MCP server for Addigy device management, exposing both v2 and legacy v1 APIs to query devices, alerts, policies, and applications.
README
Addigy V2 MCP server — exposes the Addigy Cyber Platform API (v2) as MCP tools.
Naming note: app.mspbots.ai has two separate Addigy integrations: "Addigy" (
subject_code = ADDIGY, legacy auth via Site + Client ID + Client Secret) and "Addigy V2" (subject_code = ADDIGYV2, auth via a single API Key). This server implements Addigy V2 only, matching the ClickUp task's scope.
Overview
This server implements the Model Context Protocol (Streamable HTTP/SSE transport) and covers the 5 interfaces that MSPbots' own Addigy V2 integration actually uses, matching the interface scope configured in MSPbots' sys_integration/sys_integration_api tables:
| Tool | Addigy API |
|---|---|
addigy_query_devices |
POST /devices |
addigy_get_alerts |
GET /monitoring/received-alerts |
addigy_query_policies |
POST /oa/policies/query |
addigy_query_installed_apps_agent |
POST /oa/installed-apps/agent/query |
addigy_query_installed_apps_mdm |
POST /oa/installed-apps/mdm/query |
It follows the MSPbots Vendor MCP Service SOP: stateless, no stored credentials, per-request header authentication.
The underlying Addigy v2 API authenticates via a single static API Key (x-api-key header), created in the Addigy console under Account → Integrations — matching the single "API Key" field configured in MSPbots' Addigy V2 integration. This server forwards the caller-supplied key as-is; it never stores or persists it.
Quick Start
Docker (recommended)
docker compose up --build
The server starts on http://localhost:8080.
Local (uv)
uv sync
python -m addigy_mcp
Health Check
curl http://localhost:8080/health
# {"status": "ok", "service": "addigy-mcp", "transport": "http"}
No credentials are required for the health endpoint.
授权参数说明 (Authentication)
Every request to /mcp must include the following HTTP header:
| Header | 类型 | 是否必填 | 默认值 | 枚举值 | 字段描述 | Example |
|---|---|---|---|---|---|---|
X-Addigy-Api-Key |
string | 必填 | 无 | 无(自由文本) | Addigy 静态 API Key,在 Addigy 控制台 Account → Integrations 里创建,本服务将其原样转发为 Addigy 官方 API 要求的 x-api-key header,从不落盘存储。 |
X-Addigy-Api-Key: <api_key> |
Missing the header returns 401 Unauthorized.
Environment Variables
| Variable | Default | Description |
|---|---|---|
MCP_HTTP_PORT |
8080 |
Listening port |
MCP_HTTP_HOST |
0.0.0.0 |
Listening host |
ADDIGY_BASE_URL |
https://api.addigy.com/api/v2 |
Addigy API base URL |
MCP Endpoint
POST http://localhost:8080/mcp
Connect your MCP client with:
- Transport:
http(Streamable HTTP / SSE) - Headers:
X-Addigy-Api-Key: <api_key>(required)
Tool List
5 tools, matching the exact interface count MSPbots' own Addigy V2 integration uses.
| Tool | 功能 | 参数 |
|---|---|---|
addigy_query_devices |
按设备属性(fact)条件搜索设备 | page?, per_page?, search_any?, policy_id?, filters?(列表,每项含 audit_field/operation/type/value/range_value), desired_fact_identifiers?, sort_field?, sort_direction? |
addigy_get_alerts |
查已接收的监控告警列表 | page(必填), per_page(必填), status? |
addigy_query_policies |
查全部策略或按 ID 过滤策略 | policies?(策略 ID 列表,省略则返回全部), multitenancy?, child_organizations? |
addigy_query_installed_apps_agent |
查设备已装应用(Agent 上报,仅 macOS) | agent_ids(必填), sort_field(必填,"agent_id"/"name"), sort_direction(必填,"asc"/"desc"), names?, page?, per_page?, multitenancy?, child_organizations? |
addigy_query_installed_apps_mdm |
查设备已装应用(MDM 上报) | agent_ids(必填), limit(必填), skip(必填), sort_direction(必填), sort_field(必填), multitenancy?, child_organizations? |
multitenancy/child_organizations apply to the three /oa/... endpoints and control whether results include descendant (child) organizations, per Addigy's "Child Organizations" API convention.
测试示例 (Test Example)
Query policies:
{
"method": "tools/call",
"params": { "name": "addigy_query_policies", "arguments": {} }
}
Equivalent curl against the running server (streamable HTTP MCP endpoint):
curl -X POST http://localhost:8080/mcp \
-H "Content-Type: application/json" \
-H "X-Addigy-Api-Key: <api_key>" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": { "name": "addigy_query_policies", "arguments": {} }
}'
A parameterized call:
{
"method": "tools/call",
"params": {
"name": "addigy_get_alerts",
"arguments": { "page": "1", "per_page": "50" }
}
}
API Reference
- Documentation:
https://api.addigy.com/api/v2/documentation/ - Auth: single
x-api-keyheader (API keys created under Addigy Account → Integrations)
Known Gaps / Implementation Notes
- Scope is intentionally limited to the 5 interfaces MSPbots' Addigy V2 integration is configured to use, not the full Addigy API surface (which spans 300+ endpoints across devices, MDM commands, policies, benchmarks, scripts, webhooks, and many third-party integration passthroughs).
page/per_pageonaddigy_get_alertsare typed as strings because the vendor's own OpenAPI spec defines them astype: string(despite being numeric page/size values) — passed through as-is.- Not yet tested against a live Addigy account — only protocol-level verification (health check, 401 on missing header,
tools/listreturning all 5 tools) has been done so far.
Установка Addigy
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/MSPbotsAI/addigy-mcpFAQ
Addigy MCP бесплатный?
Да, Addigy MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Addigy?
Нет, Addigy работает без API-ключей и переменных окружения.
Addigy — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Addigy в Claude Desktop, Claude Code или Cursor?
Открой Addigy на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Addigy with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
