Mycop MCP Server

AI Code Security Scanner — detect and auto-fix vulnerabilities in AI-generated code.

Local serverstdioPython

What is the Mycop MCP server?

Connect Mycop to Claude, Cursor or any other MCP client and it stops being a tab you switch to. AI Code Security Scanner — detect and auto-fix vulnerabilities in AI-generated code. The mycop mcp server is what makes that connection.

What the server does

  • First SAST tool designed for AI-generated code — -- 200 rules targeting the exact vulnerability patterns that LLMs produce most often, covering OWASP Top 10 and CWE Top 25
  • AI-powered auto-fix, not just detection — -- mycop does not just find vulnerabilities, it fixes them. The mycop fix command rewrites insecure code using AI while preserving functionality
  • Multi-language with a single tool — -- scan Python, JavaScript, TypeScript, Go, and Java codebases without juggling Bandit, ESLint, and separate configs
  • Zero configuration — -- all 200 security rules are compiled into the binary. No rule downloads, no config files, no internet connection required. Just mycop scan . and go
  • MCP server for agentic workflows — -- plug mycop directly into Claude Code, Cursor, Windsurf, and other AI coding assistants via the Model Context Protocol
  • Free and open source — -- MIT licensed, forever

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Homebrew — The Homebrew tool exposed by this server
  • Cargo — The Cargo tool exposed by this server

Installation

ghcr.io/abdumajidrashidov/mycop on a container image is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Credentials and setup notes

Configuration is passed through the environment: ANTHROPIC_API_KEY, OPENAI_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Where it fits

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Mycop's toolset — Homebrew, Cargo — is a fair guide to whether it matches your workflow. It is maintained by abdumajidrashidov; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
HomebrewThe Homebrew tool exposed by this server.
CargoThe Cargo tool exposed by this server.

How to install the Mycop MCP server

{
  "mcpServers": {
    "mycop": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "ghcr.io/abdumajidrashidov/mycop"],
      "env": {
        "ANTHROPIC_API_KEY": "your-value",
        "OPENAI_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
ANTHROPIC_API_KEYCredential the server authenticates with.Yes
OPENAI_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Mycop to Homebrew.
  • Use Mycop to Cargo.

Frequently asked questions

It connects Mycop to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (Homebrew, Cargo) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Mycop directly.