mythic-mcp

null-event/mythic-mcp

3.2

If you are the rightful owner of mythic-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

The Mythic MCP Server is a Python-based server that exposes Mythic C2 capabilities via various tools and resources, supporting both stdio and streamable-http transports.

Tools
12
Resources
0
Prompts
0

Mythic MCP Server (Python)

  • MCP server exposing Mythic C2 via tools/resources
  • Supports stdio (IDE hosts) and streamable-http (Docker MCP Toolkit)

Configuration

  • MYTHIC_SERVER (e.g., mythic.example.com)
  • MYTHIC_PORT (default 7443)
  • MYTHIC_SSL (true/false, default true)
  • MYTHIC_API_TOKEN (preferred)
  • MYTHIC_USERNAME / MYTHIC_PASSWORD (not implemented yet)
  • MYTHIC_GRAPHQL_URL (optional override)
  • MCP_TRANSPORT (stdio or streamable-http)

Run (STDIO)

  • python -m venv .venv && source .venv/bin/activate
  • pip install -r requirements.txt
  • export MYTHIC_SERVER=... MYTHIC_PORT=7443 MYTHIC_API_TOKEN="Bearer <token>"
  • export MCP_TRANSPORT=stdio
  • python -m mythic_mcp_server

Run (Docker + MCP Toolkit)

  • docker build -t mythic-mcp .
  • docker run -e MYTHIC_SERVER=... -e MYTHIC_PORT=7443 -e MYTHIC_API_TOKEN="Bearer <token>" -e MCP_TRANSPORT=streamable-http -p 8000:8000 mythic-mcp
  • Connect via MCP Inspector: http://localhost:8000/mcp

Tools

  • mythic_graphql
  • list_active_callbacks()
  • list_tasks()
  • issue_task()
  • list_operators()
  • list_payloads()
  • get_callback_info
  • get_task_output()
  • download_file()
  • upload_file
  • get_operation_info
  • run_mythic_script

Notes

  • Avoid printing to stdout in stdio mode; logging goes to stderr.
  • Username/password auth planned; use API token for now.