# Offense

The Offense MCP server for Claude Code gives an agent tools to audit dependencies, inspect source code and review workflows. It returns evidence for security findings and proposed fixes.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 71 repo stars
- Author: offense-research
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/offense-research/offense
- Updated: 2026-11-04
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/offense

## What it does

Offense gives a coding agent tools to audit dependencies, inspect source code and workflows, and test a proposed fix. Results arrive as structured security evidence through MCP. The agent investigates the project and runs tests using its existing access and permissions.

The server connects over HTTP to Offense’s hosted service. An assessment does not grant permission to edit application code or make paid calls; those actions need authorization. Offense also offers CLI and HTTP access, while this entry covers its MCP connection.

## Requirements
- Remote server: `https://offense.sh/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http offense https://offense.sh/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add offense --url https://offense.sh/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "offense": {
            "url": "https://offense.sh/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "offense": {
            "type": "http",
            "url": "https://offense.sh/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http offense https://offense.sh/mcp
```

## When to use it
- audit dependencies for security advisories
- inspect source code and project workflows
- gather evidence about a proposed fix

## Example prompts
- Audit this project’s dependencies and explain any security findings.
- Inspect the code and workflows related to this vulnerability.
- Assess this proposed fix and run relevant tests.

## Similar
- [Quiet Protocol Growth Offense](https://affpapa.org/en/nevibecode/mcp/quiet-protocol-growth-offense.md) — MCP server · 2301 installs
- [Context7](https://affpapa.org/en/nevibecode/mcp/context7.md) — MCP server · 5563 installs
- [Search Google Flights](https://affpapa.org/en/nevibecode/mcp/search-google-flights.md) — MCP server · 2595 installs
- [Math-MCP](https://affpapa.org/en/nevibecode/mcp/math-mcp.md) — MCP server · 5958 installs
- [pipeworx gateway](https://affpapa.org/en/nevibecode/mcp/pipeworx-gateway.md) — MCP server · 419019 installs
- [SparkForge](https://affpapa.org/en/nevibecode/mcp/sparkforge.md) — MCP server · 219896 installs
- [OpenWebSearch](https://affpapa.org/en/nevibecode/mcp/openwebsearch.md) — MCP server · 494 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
