Cycode MCP Server

Boost security in your dev lifecycle via SAST, SCA, Secrets & IaC scanning with Cycode.

Local serverstdioPython

What is the Cycode MCP server?

Cycode mcp server lets Claude, Cursor and other MCP clients work with Cycode directly. Boost security in your dev lifecycle via SAST, SCA, Secrets & IaC scanning with Cycode.

What Cycode does

The Cycode Command Line Interface (CLI) is an application you can install locally to scan your repositories for secrets, infrastructure as code misconfigurations, software composition analysis vulnerabilities, and static application security testing issues.

Tools it exposes

Once connected, the assistant can call these 6 tools directly:

  • status — Show the CLI status and exit
  • cycode_secret_scan — Scan for hardcoded secrets
  • cycode_sca_scan — Scan for Software Composition Analysis (SCA) - vulnerabilities and license issues
  • cycode_iac_scan — Scan for Infrastructure as Code (IaC) misconfigurations
  • cycode_sast_scan — Scan for Static Application Security Testing (SAST) - code quality and security flaws
  • cycode_status — Get Cycode CLI version, authentication status, and configuration information

Installing the cycode mcp server

The server is distributed via PyPI as cycode, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Configuration

Before the server will start you need to supply 3 environment variables: CYCODE_CLIENT_ID, CYCODE_CLIENT_SECRET, CYCODE_ID_TOKEN. Keep credentials in your client's env block or a secrets manager rather than committing them.

Requirements

  • The Cycode CLI application requires Python version 3.9 or later. The MCP command is available only for Python 3.10 and above. If you're using an earlier Python version, this command will not be available. - Use the cycode auth command to authenticate to Cycode with the CLI - Alternatively, you can get a Cycode Client ID and Client Secret Key by following the steps

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Cycode sits in that group, and the shape of its toolset — status, cycode_secret_scan, cycode_sca_scan among others — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • Written in Python.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the cycode mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
statusShow the CLI status and exit.
cycode_secret_scanScan for hardcoded secrets
cycode_sca_scanScan for Software Composition Analysis (SCA) - vulnerabilities and license issues
cycode_iac_scanScan for Infrastructure as Code (IaC) misconfigurations
cycode_sast_scanScan for Static Application Security Testing (SAST) - code quality and security flaws
cycode_statusGet Cycode CLI version, authentication status, and configuration information

How to install the Cycode MCP server

{
  "mcpServers": {
    "cycode-cli": {
      "command": "uvx",
      "args": ["cycode"],
      "env": {
        "CYCODE_CLIENT_ID": "your-value",
        "CYCODE_CLIENT_SECRET": "your-value",
        "CYCODE_ID_TOKEN": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • The Cycode CLI application requires Python version 3.9 or later. The MCP command is available only for Python 3.10 and above. If you're using an earlier Python version, this command will not be available. - Use the cycode auth command to authenticate to Cycode with the CLI - Alternatively, you can get a Cycode Client ID and Client Secret Key by following the steps
VariableDescriptionRequired
CYCODE_CLIENT_IDConfiguration value read at startup.Optional
CYCODE_CLIENT_SECRETCredential the server authenticates with.Yes
CYCODE_ID_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use Cycode to status.
  • Use Cycode to cycode secret scan.
  • Use Cycode to cycode sca scan.

Frequently asked questions

It connects Cycode to MCP-compatible AI assistants such as Claude and Cursor, exposing 6 tools (status, cycode_secret_scan, cycode_sca_scan, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Cycode directly.