Sophos MCP
Unofficial MCP server that lets AI clients query and manage Sophos Central and Fusion
Sophos MCP is an open-source MCP server for security. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- macOS, Windows, Linux
- Runs
- Locally
- Access
- Needs a secret key or token
- Version
- 0.15.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add sophos-mcp --env SOPHOS_CLIENT_ID='<SOPHOS_CLIENT_ID>' --env SOPHOS_CLIENT_SECRET='<SOPHOS_CLIENT_SECRET>' -- npx -y sophos-central-mcp-serverAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"sophos-mcp": {
"command": "npx",
"args": [
"-y",
"sophos-central-mcp-server"
],
"env": {
"SOPHOS_CLIENT_ID": "<SOPHOS_CLIENT_ID>",
"SOPHOS_CLIENT_SECRET": "<SOPHOS_CLIENT_SECRET>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"sophos-mcp": {
"command": "npx",
"args": [
"-y",
"sophos-central-mcp-server"
],
"env": {
"SOPHOS_CLIENT_ID": "<SOPHOS_CLIENT_ID>",
"SOPHOS_CLIENT_SECRET": "<SOPHOS_CLIENT_SECRET>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"sophos-mcp": {
"command": "npx",
"args": [
"-y",
"sophos-central-mcp-server"
],
"env": {
"SOPHOS_CLIENT_ID": "<SOPHOS_CLIENT_ID>",
"SOPHOS_CLIENT_SECRET": "<SOPHOS_CLIENT_SECRET>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"sophos-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"sophos-central-mcp-server"
],
"env": {
"SOPHOS_CLIENT_ID": "<SOPHOS_CLIENT_ID>",
"SOPHOS_CLIENT_SECRET": "<SOPHOS_CLIENT_SECRET>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add sophos-mcp --env SOPHOS_CLIENT_ID='<SOPHOS_CLIENT_ID>' --env SOPHOS_CLIENT_SECRET='<SOPHOS_CLIENT_SECRET>' -- npx -y sophos-central-mcp-serverOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.sophos-mcp]
command = "npx"
args = ["-y", "sophos-central-mcp-server"]
env = { SOPHOS_CLIENT_ID = "<SOPHOS_CLIENT_ID>", SOPHOS_CLIENT_SECRET = "<SOPHOS_CLIENT_SECRET>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"sophos-mcp": {
"command": "npx",
"args": [
"-y",
"sophos-central-mcp-server"
],
"env": {
"SOPHOS_CLIENT_ID": "<SOPHOS_CLIENT_ID>",
"SOPHOS_CLIENT_SECRET": "<SOPHOS_CLIENT_SECRET>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "sophos-mcp": { "command": "npx", "args": [ "-y", "sophos-central-mcp-server" ], "env": { "SOPHOS_CLIENT_ID": "<SOPHOS_CLIENT_ID>", "SOPHOS_CLIENT_SECRET": "<SOPHOS_CLIENT_SECRET>" } } } }Or run: gemini mcp add -s user -e SOPHOS_CLIENT_ID='<SOPHOS_CLIENT_ID>' -e SOPHOS_CLIENT_SECRET='<SOPHOS_CLIENT_SECRET>' sophos-mcp npx -- -y sophos-central-mcp-server
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "sophos-mcp": { "command": "npx", "args": [ "-y", "sophos-central-mcp-server" ], "env": { "SOPHOS_CLIENT_ID": "<SOPHOS_CLIENT_ID>", "SOPHOS_CLIENT_SECRET": "<SOPHOS_CLIENT_SECRET>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "sophos-mcp": { "command": "npx", "args": [ "-y", "sophos-central-mcp-server" ], "env": { "SOPHOS_CLIENT_ID": "<SOPHOS_CLIENT_ID>", "SOPHOS_CLIENT_SECRET": "<SOPHOS_CLIENT_SECRET>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "sophos-mcp": { "command": "npx", "args": [ "-y", "sophos-central-mcp-server" ], "env": { "SOPHOS_CLIENT_ID": "<SOPHOS_CLIENT_ID>", "SOPHOS_CLIENT_SECRET": "<SOPHOS_CLIENT_SECRET>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "sophos-mcp": { "command": "npx", "args": [ "-y", "sophos-central-mcp-server" ], "env": { "SOPHOS_CLIENT_ID": "<SOPHOS_CLIENT_ID>", "SOPHOS_CLIENT_SECRET": "<SOPHOS_CLIENT_SECRET>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "sophos-mcp": { "command": "npx", "args": [ "-y", "sophos-central-mcp-server" ], "env": { "SOPHOS_CLIENT_ID": "<SOPHOS_CLIENT_ID>", "SOPHOS_CLIENT_SECRET": "<SOPHOS_CLIENT_SECRET>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "sophos-mcp": { "command": "npx", "args": [ "-y", "sophos-central-mcp-server" ], "env": { "SOPHOS_CLIENT_ID": "<SOPHOS_CLIENT_ID>", "SOPHOS_CLIENT_SECRET": "<SOPHOS_CLIENT_SECRET>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "sophos-mcp": { "command": "npx", "args": [ "-y", "sophos-central-mcp-server" ], "env": { "SOPHOS_CLIENT_ID": "<SOPHOS_CLIENT_ID>", "SOPHOS_CLIENT_SECRET": "<SOPHOS_CLIENT_SECRET>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
SOPHOS_CLIENT_IDClient ID of a Sophos Central API credential (tenant, partner or organisation).RequiredSOPHOS_CLIENT_SECRETClient secret that pairs with the client ID.RequiredTRANSPORTFixed to stdio. The server defaults to streamable HTTP without it.
About Sophos MCP
Gives AI assistants a set of tools for reading and changing a Sophos security estate through its public APIs. Access is granted with a Sophos API credential, and partner or organisation credentials reach across every managed tenant while tenant credentials stay limited to one tenant.
The server exposes several hundred tools spanning endpoints, alerts, policies, cases, detections, Data Lake search and AI Defense. It routes requests to the correct regional host, refreshes OAuth tokens automatically and retries after rate-limit responses. It runs over stdio for desktop and terminal clients or as a streamable HTTP service with an optional bearer token.
The project is maintained by an individual and is not an official Sophos product. It is aimed at security administrators and MSP teams who want an assistant to help with investigations, health reviews and routine configuration.
What it does
- Partner and tenant credentials
- Works with partner, organisation and single-tenant API credentials, exposing cross-tenant tools only where the credential allows.
- Automatic region routing
- Discovers each tenant's data region and sends requests to the matching regional API host.
- Dual transport support
- Runs over stdio for desktop and terminal clients or as a streamable HTTP server for other machines.
- Endpoint and alert tools
- Lists, inspects and acts on endpoints, isolation, scans and alerts through dedicated tools.
- Fusion case management
- Creates, updates, comments on and attaches evidence to Sophos Fusion cases through the GraphQL API.
- AI Defense policy tools
- Lists, previews, creates and reorders AI Defense policies, with read-back checks after writes.
Good for
- Reviewing tenant health and spotting security gaps across managed customers
- Isolating or scanning a suspicious endpoint from an AI chat
- Investigating detections and building a case with evidence attached
- Finding which endpoints run a given piece of software and whether they are stale
- Auditing or adjusting endpoint and web control policies
Pricing
Open source
Sophos MCP FAQ
Is this an official Sophos product?
No. It is an unofficial personal project by an individual and is not built, endorsed or supported by Sophos.
What credentials does Sophos MCP need?
A Sophos Central API Client ID and Client Secret. Partner and organisation credentials unlock cross-tenant tools, while tenant credentials cover a single tenant.
How can Sophos MCP be installed?
As a Claude Desktop extension (.mcpb), through Claude Code with npx, or self-hosted over streamable HTTP or stdio.
Does Sophos MCP need Node.js?
The Claude Desktop bundle does not. The Claude Code and self-hosted options require Node.js 22 or later.
Is Sophos MCP free?
Yes. Sophos MCP is open source, so you can use and self-host it for free.
How do I add Sophos MCP to Claude Code?
Run this command in your terminal: claude mcp add sophos-mcp --env SOPHOS_CLIENT_ID='<SOPHOS_CLIENT_ID>' --env SOPHOS_CLIENT_SECRET='<SOPHOS_CLIENT_SECRET>' -- npx -y sophos-central-mcp-server
What are the best alternatives to Sophos MCP?
The closest alternatives to Sophos MCP are Sophos Central MCP, Sophos Central MCP, CyberAgents AI Security Firewall, Proofpoint and Synapse Audit.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.
