Cobaltstrike MCP Server

by Cobalt-Strike• 64•• Scanned•Claim this listing•Request removal

MCP Server for Cobalt Strike interaction.

Cobaltstrike MCP Server is an open-source mcp server by Cobalt-Strike, written mainly in Python, with 64 GitHub stars and the Apache-2.0 license. Its code was last updated Oct 26, 2026.

Cobalt Strike MCP Server

Version 0.2 of the official Cobalt Strike MCP

Tools

NameDescription
cs_list_beaconsList beacons, or get one beacon by ID
cs_list_commandsList the commands beacons can run, with their help text
cs_execute_commandExecute one command on a beacon and return a submission receipt
cs_list_command_executionsList past command executions, or get one by ID
cs_read_command_outputRead the output of one command execution as plain text
cs_list_artifactsList artifacts stored on the team server for beacons to use
cs_upload_artifactGet a one-time link that stores a file as a new artifact
cs_list_downloadsList files downloaded from beacons, with transfers in progress
cs_fetch_downloadGet a one-time link to fetch a download's file
cs_list_screenshotsList screenshots taken on beacons
cs_fetch_screenshotGet a one-time link to fetch a screenshot's image
cs_get_team_serverGet team server information

Requirements

  • Cobalt Strike 4.13+
  • Must run on the team server host
  • Python 3.13+
  • uv
  • Optimized for Codex CLI and Claude Code, but should be compatible with any MCP client

Usage

Team Server

  1. Create config.yml
cp config.example.yml config.yml
  1. Update config.yml as needed (or use environment variable overrides)
SettingEnvironment variableDefault
cobalt_strike.urlCS_MCP_URLhttps://localhost:50443
cobalt_strike.usernameCS_MCP_USERNAMEmcp
CS_MCP_PASSWORD
cobalt_strike.password_pathCS_MCP_PASSWORD_PATH/run/secrets/cs_password
cobalt_strike.verify_sslCS_MCP_VERIFY_SSLfalse
cobalt_strike.token_duration_msCS_MCP_TOKEN_DURATION_MS86400000
limits.session_idle_timeout_secondsCS_MCP_SESSION_IDLE_TIMEOUT_SECONDS1800
limits.request_timeout_secondsCS_MCP_REQUEST_TIMEOUT_SECONDS30
limits.max_response_charsCS_MCP_MAX_RESPONSE_CHARS40000
limits.max_upload_bytesCS_MCP_MAX_UPLOAD_BYTES4000000
limits.output_wait_secondsCS_MCP_OUTPUT_WAIT_SECONDS30
commands.defaultCS_MCP_COMMANDS_DEFAULTask
commands.allowCS_MCP_COMMANDS_ALLOW[]
commands.askCS_MCP_COMMANDS_ASK[]
commands.denyCS_MCP_COMMANDS_DENY[]
artifacts.directoryCS_MCP_ARTIFACTS_DIRECTORY../server/rest-server/restapi/artifacts
  1. Start the MCP server
uv sync --locked --no-dev
uv run --locked --no-dev cobaltstrike-mcp-server --config ./config.yml

Operator Workstation

  1. Add to your preferred client

You may need to port forward or allow 50051 from your client to the team server.

Codex CLI

codex mcp add cobaltstrike --url http://teamserver:50051/mcp

Claude Code

claude mcp add --transport http cobaltstrike http://teamserver:50051/mcp
  1. Install the SpecterOps Skills marketplace (optional)

We recommend installing the SpecterOps skills repo and its Cobalt Strike operations plugin.

Codex CLI

codex plugin marketplace add SpecterOps/skills

Claude Code

/plugin marketplace add SpecterOps/skills

Once the marketplace is installed, make sure to enable the c2-cobaltstrike plugin.

Cobaltstrike MCP Server alternatives

View more →

Similar mcp servers in Other, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.

NameStarsLicenceLast updatedScan
Cobaltstrike MCP Server (this page)
Cobalt-Strike
64Apache-2.0Oct 26, 2026Scanned, no flagged issues
Github MCP Server
github
34kMITOct 30, 2026Scanned, no flagged issues
Fastapi MCP
tadata-org
12kMITNov 24, 2025Scanned, no flagged issues
GhidraMCP
LaurieWired
12kApache-2.0Oct 10, 2026Scanned, no flagged issues
MCP Go
mark3labs
9.2kMITOct 30, 2026Scanned, no flagged issues
Git MCP
idosal
8.5kApache-2.0May 8, 2026Scanned, no flagged issues