sophos-central-mcp
Read-only MCP server for Sophos Central that provides endpoint health, firewall inventory, switch settings, and email quarantine inspection through natural language queries.
README
Sophos Central MCP (read-only)
Unofficial MCP server exposing read-only Sophos Central information: antivirus/endpoint health, firewall inventory and status, switch settings, and email protection (quarantine, mailboxes, clawback status). Built against the public Sophos Central APIs using the vendor's own Postman collection as the source of truth for paths, headers, and response shapes.
Not affiliated with, endorsed by, or sponsored by Sophos.
Scope: read-only, by design
This server implements no mutating endpoints at all — not behind a flag, not behind a deny-list, they simply aren't wired up. Excluded on purpose:
- Endpoint: isolate/un-isolate, tamper-protection changes, policy CRUD, scans, forensic logs/memory dumps, endpoint-group CRUD, migrations.
- Firewall: firmware upgrades, reboot/other firewall actions, firewall-group CRUD, MDR threat-feed indicator writes.
- Switch: MAC-filter list writes.
- Email: quarantine/post-delivery-quarantine release or delete, clawback initiation, mailbox create/update/delete/bulk, alias/delegate/distribution-list-owner writes, attachment strip/reattach/download.
If you need any of those, they're documented in Sophos's API but not implemented here —
open an issue or add a tool following the same pattern in src/tools.ts.
Authentication
Sophos Central uses OAuth2 client-credentials. Create an API Credential in Sophos Central under Settings > API Credential Management, which gives you a Client ID and Client Secret scoped to one tenant (or an organization/partner account managing multiple tenants).
SOPHOS_CLIENT_ID=...
SOPHOS_CLIENT_SECRET=...
The server exchanges these for an access token (https://id.sophos.com/api/v2/oauth2/token),
resolves the caller's tenant ID and data-region API host via whoami, and sends
X-Tenant-ID (or X-Organization-ID/X-Partner-ID for those credential types) on every
subsequent request. No tenant ID needs to be configured manually.
Install
npm ci && npm run build
Then point your MCP client at dist/entry.js:
{
"mcpServers": {
"sophos-central": {
"command": "node",
"args": ["/path/to/sophos-central-mcp/dist/entry.js"],
"env": {
"SOPHOS_CLIENT_ID": "...",
"SOPHOS_CLIENT_SECRET": "..."
}
}
}
}
Tools
| Tool | Domain | Description |
|---|---|---|
sophos_whoami |
— | Resolved tenant/organization/partner identity and API region |
sophos_list_alerts |
Common | Cross-product alert feed (endpoint, firewall, email, etc.) |
sophos_get_alert |
Common | Get one alert by ID |
sophos_list_endpoints |
Endpoint | Device inventory with health/isolation/tamper status |
sophos_get_endpoint |
Endpoint | Get one endpoint by ID |
sophos_get_endpoint_isolation_status |
Endpoint | Isolation status for one endpoint |
sophos_get_endpoint_tamper_protection |
Endpoint | Tamper protection status for one endpoint |
sophos_list_endpoint_groups |
Endpoint | List device groups |
sophos_get_endpoint_group |
Endpoint | Get one device group |
sophos_list_endpoint_group_members |
Endpoint | List endpoints in a group |
sophos_list_firewalls |
Firewall | Firewall inventory, firmware, connection/sync status |
sophos_list_firewall_groups |
Firewall | List firewall groups |
sophos_get_firewall_group_sync_status |
Firewall | Per-firewall config sync status within a group |
sophos_get_firewall_mdr_threat_feed |
Firewall | MDR threat feed config for one firewall |
sophos_get_switch_mac_filtering |
Switch | Tenant-wide MAC filter allow-list |
sophos_list_switch_tasks |
Switch | Async switch config-push task status |
sophos_search_quarantine_messages |
Search quarantined email (malware/spam/impersonation) | |
sophos_get_quarantine_message_preview |
Preview one quarantined message | |
sophos_get_quarantine_message_urls |
URLs found in one quarantined message | |
sophos_get_quarantine_message_attachments |
Attachment metadata for one quarantined message | |
sophos_search_post_delivery_quarantine_messages |
Search post-delivery quarantine | |
sophos_get_post_delivery_quarantine_message_preview |
Preview one post-delivery-quarantined message | |
sophos_list_mailboxes |
List protected mailboxes | |
sophos_get_mailbox |
Get one mailbox by ID | |
sophos_get_message_clawback_status |
Status of a clawback request |
Sophos's own API surface notes
- Switch API is currently narrow. The vendor's own Postman examples only cover MAC-filter settings and async task status — no separate switch-device inventory endpoint is documented there as of this writing.
- Endpoint restore/file-browsing and firewall traffic logs are not covered by this API surface at all; Sophos Central's console remains the place for those.
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。