Atlas / MCP servers / xpn / Mythic

MythicBLOCK

mcp/xpn/mythic

A simple POC to expose Mythic as a MCP server

Verdict
BLOCK
Grade
D
Trust score
69 /100
Exposed tools
6 2r · 4w · 0d
Transport
—
License
—
Stars
78
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

A quick MCP demo for Mythic, allowing LLMs to pentest on our behalf!

Requirements

  1. uv
  2. python3
  3. Claude Desktop (or other MCP Client)

Usage with Claude Desktop

To deploy this MCP Server with Claude Desktop, you'll need to edit your claude_desktop_config.json to add the following:

{
"mcpServers": {
"mythic_mcp": {
"command": "/Users/xpn/.local/bin/uv",
"args": [
"--directory",
"/full/path/to/mythic_mcp/",
"run",
"main.py",
"mythic_admin",
"mythic_admin_password",
"localhost",
"7443"
]
}
}
}

Once done, kick off Claude Desktop. There are sample prompts to show how to task the LLM, but really anything will work along the lines of:

You are an automated pentester, tasked with emulating a specific threat actor. The threat actor is APT31. Your objective is: Add a flag to C:\win.txt on DC01. Perform any required steps to meet the objective, using only techniques documented by the threat actor.
Read from source at commit dc6987080f31OBSERVED · 2026-10-07
Advertisement
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add mcpexample -- uvx mcpexample
claude-desktop
{
  "mcpServers": {
    "mcpexample": {
      "command": "uvx",
      "args": [
        "mcpexample"
      ]
    }
  }
}
03

Exposed tools (6)

2 read · 4 write · 0 destructive.

ToolRiskDescription
execute_mimikatzwriteRuns the hacker tool mimikatz with the provided arguments, returing Mimikatz output.
get_all_agentsreadReturns a list of active agents
read_filereadReads a file using the ReadFile win32 API call. Returns the contents of that file.
run_as_userwriteAttempt to authenticate as another user (network calls only) for the current session.
run_shell_commandwriteExecute a shell script command line against a running agent. This script is executed using the default command line interpreter.
upload_filewriteUpload a file to the Mythic server, and then upload the file to the remote target
04

Trust audit

BLOCKgrade D · trust 69/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)FAIL
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (3)

HIGHPrivilege escalation / persistence · review.unsafe_action · CWE-269, CWE-250
<tool:execute_mimikatz>
Runs the hacker tool mimikatz with the provided arguments, returing Mimikatz output.
Why it matters. Mimikatz is a credential-harvesting tool used for extracting passwords and hashes from memory; directing an AI agent to run it against systems enables unauthorized credential theft and lateral movement.
Fix. rewrite it so the instruction says plainly what it does, and asks the user before it acts
LOWInventory / provenance · inv.no_license · CWE-1104
Why it matters. no LICENSE file and no repo licence
Fix. add a licence
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
main.py:106
decoded_contents = base64.b64decode(content)

Gates applied: no_behavioural_pass, no_license.

Audited 2026-10-07 · audit v0.4.1 · source sha dc6987080f31full audit observations/trust-audit/mcp-server/xpn__mythic.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-07dc6987080f31BLOCKD69first audit
06

Questions

What is the Mythic MCP server?

A simple POC to expose Mythic as a MCP server

What tools does Mythic expose?

6 in total: 2 read-only, 4 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Mythic safe to connect to an agent?

No — not without reading the findings first. The audit graded it D (69/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on.

What credentials does Mythic need?

No credential environment variables were found in its source, so it appears to need none.

How current is this page?

The grade is for one exact copy of the source (dc6987080f31), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement