Mythic MCP
This server provides a red-team/offensive-security MCP interface to Mythic C2 agents, enabling remote command execution, file operations, credential harvesting, and Active Directory attack automation.
Agent Management: List active agents (
get_all_agents) and target operations by agent_id.Execute Commands: Run arbitrary shell commands (
run_shell_command) or PowerShell scripts (execute_powershell) on target systems.File Operations: Read remote files (
read_file) and upload files to targets (upload_file).Credential Access: Run Mimikatz (
execute_mimikatz) and attempt user impersonation (run_as_user).Privilege Escalation: Run linPEAS/winPEAS (
privilege_escalation_peas) and SharpHound (run_sharphound) for AD enumeration.Active Directory Attacks: Enumerate domain users (
enum_domain_users), perform AD recon (ad_recon), and run Kerberoasting (run_kerberoast).
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Mythic MCPEnumerate all domain users via the active agent"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AI-Powered Red Teaming with Claude, C2 & MCP
A project exploring the integration of Claude, Model Context Protocol (MCP), and Command & Control (C2) Mythic to build an AI-powered copilot for Red Team operations.
The project aims to enable Claude to interact with C2 capabilities through MCP, understand the context and results of an ongoing operation, and provide context-aware recommendations, attack paths, and next-step actions based on the information gathered during the engagement.
Integration Diagram

Related MCP server: BloodyAD MCP
Requirements
uv
python3
Claude Desktop
Mythic C2 (Use docker to run the service)
A Windows victim machine in VMware
Preliminary steps
Install and run the Mythic C2 server. You need to use the official repository and run it in Docker. Repository link: Mythic Repository
Install the agents (Apollo, Apfell, Poseidon) and the profiles (HTTP, WebSocket).
Use some of the payloads to generate a payload to send to the victim machine.
On the victim machine, execute the payload to obtain a session on the Mythic C2 server.
Usage with Claude Desktop
To deploy an MCP server with Claude Desktop, we need to use the Developer Options. You will need to edit the claude_desktop_config.json file to configure the MCP server. The configuration format is as follows:
{
"mcpServers": {
"mythic_mcp": {
"command": "/snap/bin/uv",
"args": [
"--directory",
"/path/to/mythic_mcp/",
"run",
"main.py",
"mythic_admin",
"mythic_admin_password",
"localhost",
"7443"
]
}
}
}To find the mythic_admin and mythic_admin_password credentials after deploying the Mythic server, you can use the following commands:
sudo ./mythic-cli config get admin_user
sudo ./mythic-cli config get admin_passwordHow to Use
Once you have an active session in C2 and have uploaded the configuration file to Claude, you can use any prompt. However, we recommend running a few verification prompts first to ensure that the connection between C2, Claude, and the MCP server is working correctly.
Verify the available sessions
How many sessions are currently available?Verify the available commands
Which commands are available?Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA demonstration server that allows large language models to perform penetration testing tasks autonomously by interfacing with the Mythic C2 framework.78
- AlicenseNot gradedqualityCmaintenanceEnables Active Directory enumeration and abuse operations through the bloodyAD tool. Supports LDAP queries, user/group management, DNS operations, and security testing directly from AI assistants.16MIT
- AlicenseCqualityDmaintenanceEnables LLMs to perform Active Directory penetration testing using tools like NetExec, Bloodhound, Nmap, Certipy, and John the Ripper. Automates vulnerability discovery, attack path analysis, and documentation generation for security assessments.266MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to autonomously execute over 200 open-source penetration testing tools via MCP, including reconnaissance, web exploitation, and brute-forcing, through a unified server architecture with Docker sandboxing for safe execution.51MIT
Related MCP Connectors
MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.
MEOK MCP Hardening MCP — automated security red-team for any MCP server. Maps OWASP LLM Top 10
Offline methodology engine for authorized penetration testing, CTF, and security research.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/johanrobbenites/MCP-IA-for-Offensive-Security'
If you have feedback or need assistance with the MCP directory API, please join our Discord server