# Sophos MCP

> Sophos MCP is an open-source MCP server for security. Unofficial MCP server that lets AI clients query and manage Sophos Central and Fusion. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** macOS, Windows, Linux, CLI, API, Self-hosted
- **Repository:** https://github.com/aaronjacobs000/sophos-mcp
- **MCP Registry name:** io.github.Aaronjacobs000/sophos-mcp
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-11-21

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
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
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```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>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```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.

### Cursor (~/.cursor/mcp.json)

```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.

### VS Code (~/.copilot/mcp-config.json)

```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.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add sophos-mcp --env SOPHOS_CLIENT_ID='<SOPHOS_CLIENT_ID>' --env SOPHOS_CLIENT_SECRET='<SOPHOS_CLIENT_SECRET>' -- npx -y sophos-central-mcp-server
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```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>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```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 (~/.config/devin/mcp_config.json)

```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 (cline_mcp_settings.json)

```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 (Zed settings.json)

```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 (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```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>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```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 (~/.kiro/settings/mcp.json)

```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.

### Other clients (your client's MCP settings (most use this shape))

```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>"
      }
    }
  }
}
```

## 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.

## Alternatives

- [Sophos Central MCP](https://ai-powered.com/mcp/sophos-central-mcp): Sophos Central MCP is an open-source MCP server for security.
- [Sophos Central MCP](https://ai-powered.com/mcp/sophos-central-mcp-2): Sophos Central MCP is an open-source MCP server for security.
- [CyberAgents AI Security Firewall](https://ai-powered.com/mcp/cyberagents-ai-security-firewall): CyberAgents AI Security Firewall is a freemium MCP server for security.
- [Proofpoint](https://ai-powered.com/mcp/proofpoint): Proofpoint is an open-source MCP server for security.
- [Synapse Audit](https://ai-powered.com/mcp/synapse-audit): Synapse Audit is an MCP server for security.
- [Proofpoint](https://ai-powered.com/mcp/proofpoint-2): Proofpoint is an open-source MCP server for security.
- [SaaS Alerts](https://ai-powered.com/mcp/saas-alerts-2): SaaS Alerts is an open-source MCP server for security.
- [Abnormal Security](https://ai-powered.com/mcp/abnormal-security-2): Abnormal Security is an open-source MCP server for security.

---
Source: https://ai-powered.com/mcp/sophos-mcp
