action1-mcp
Read-only MCP server for the Action1 RMM REST API, enabling access to endpoints, missing updates, vulnerabilities, installed software, policies, automations, and reports.
README
action1-mcp
MCP server for the Action1 RMM REST API. Gives Claude (or any other MCP client) read-only access to endpoints, missing updates, vulnerabilities, installed software, policies, automations and reports.
Unofficial — not affiliated with or endorsed by Action1 Corporation.
Why read-only
Action1's write surface deploys software and runs scripts on managed endpoints. That is remote code execution across a whole fleet, and it is not something to put behind a bearer token and a language model on day one. v1 exposes GETs only, and the guarantee is enforced in the HTTP client itself — not merely by the absence of write tools. See docs/ARCHITECTURE.md for the write tiers planned for v2 and SECURITY.md for the threat model.
Quick start
git clone https://github.com/molnkontakt/action1-mcp.git
cd action1-mcp
python3 -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
# Credentials from the Action1 console: Configuration → API Credentials
export ACTION1_CLIENT_ID=...
export ACTION1_CLIENT_SECRET=...
export ACTION1_REGION=NorthAmerica # or Europe / Australia / NA-2
export ACTION1_DEFAULT_ORG_ID=... # optional, saves passing org_id everywhere
action1-mcp # stdio transport
Wire it into Claude Code:
claude mcp add action1 -- action1-mcp
Shared HTTP server
One long-lived process instead of one per client session:
export ACTION1_MCP_BEARER="$(openssl rand -base64 36 | tr -d '=+/' | cut -c1-48)"
action1-mcp --transport http --host 127.0.0.1 --port 3002
{
"mcpServers": {
"action1": {
"type": "http",
"url": "https://mcp.example.com/action1/mcp",
"headers": { "Authorization": "Bearer <ACTION1_MCP_BEARER>" }
}
}
}
Bind loopback and put a TLS-terminating reverse proxy in front. The server
refuses to bind a non-loopback address when ACTION1_MCP_BEARER is unset, but
that check is a backstop, not a deployment plan — see
docs/DEPLOY.md.
Configuration
| Variable | Default | Purpose |
|---|---|---|
ACTION1_CLIENT_ID |
— | Required. API credential from the Action1 console |
ACTION1_CLIENT_SECRET |
— | Required. |
ACTION1_REGION |
NorthAmerica |
NorthAmerica, NA-2, Europe, Australia |
ACTION1_DEFAULT_ORG_ID |
unset | Org used when a tool is called without org_id |
ACTION1_MCP_BEARER |
unset | Bearer token required by the HTTP transport |
ACTION1_MCP_TRANSPORT |
stdio |
stdio or http; --transport overrides it |
ACTION1_MCP_HOST |
127.0.0.1 |
HTTP bind address; --host overrides it |
ACTION1_MCP_PORT |
3002 |
HTTP bind port; --port overrides it |
ACTION1_RATE_LIMIT_PER_MINUTE |
25 |
Local throttle; Action1's ceiling is 30/min per tenant |
ACTION1_MAX_ITEMS |
1000 |
Hard ceiling on items one tool call will page through. A tool's limit can ask for fewer, never more |
ACTION1_PAGE_SIZE |
200 |
Items per API request |
ACTION1_TIMEOUT_SECONDS |
60 |
Per-request timeout |
ACTION1_MAX_429_RETRIES |
3 |
Retries after a rate-limit response |
ACTION1_ALLOW_WRITE |
0 |
Unblocks non-GET requests. No write tools exist in v1 |
Tools
21 read tools — see docs/TOOLS.md for the full reference.
| Area | Tools |
|---|---|
| Identity | action1_whoami |
| Tenant | action1_list_organizations, action1_get_organization |
| Endpoints | action1_list_endpoints, action1_get_endpoint, action1_list_discovered_endpoints, action1_list_endpoint_groups, action1_get_endpoint_group_members |
| Patching | action1_list_missing_updates, action1_list_installed_apps, action1_list_packages |
| Vulnerabilities | action1_list_vulnerabilities, action1_get_vulnerability, action1_list_vulnerability_endpoints, action1_list_vulnerability_remediations |
| Automation | action1_list_policies, action1_get_policy_results, action1_list_automations, action1_list_scripts |
| Reports | action1_list_reports, action1_get_report_data |
Every list tool returns the same envelope:
{"items": [...], "returned": 200, "total_items": 1432, "truncated": true}
truncated: true means more data may exist beyond what came back. The list is a
prefix, not the whole set — narrow the query rather than concluding from a
partial answer. The flag errs towards true: several Action1 endpoints return no
total_items at all, and a missing counter is not evidence that the page you got
was everything.
Rate limiting
Action1 counts requests per enterprise, across every endpoint and every
integration hitting the tenant — so this server shares its budget with your
PowerShell scripts and any other tooling. It throttles locally below the
documented ceiling rather than discovering it through 429s, and when one arrives
anyway it honours the retry_after the API returns before falling back to
exponential backoff.
Development
pytest # no network: every request is served by an httpx MockTransport
ruff check .
mypy src
License
Apache-2.0. Provided as is; review before pointing it at a production tenant.
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。