RedTeam Agent logo

RedTeam Agent

Community
ktol1

RedTeam-Agent: AI-Powered Autonomous Red Team Framework via Model Context Protocol. AI红队与内网渗透自动化框架,支持 gogo, fscan, httpx, nuclei, impacket, playwright 等 15+ 渗透工具,让 LLM 直接化身安全审计黑客。

Publisherktol1
RepositoryRedTeam-Agent
LanguageC
Forks
11
Stars
78
Available tools
0
Transport typestdio
Links
  • Connect tools to AI workflows

    RedTeam Agent exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    78 stars and 11 forks from the linked repository.

RedTeam-Agent

AI-Powered Autonomous Red Team Framework

Let AI become your security audit hacker

License Python Skill Stars

English | 简体中文 | Documentation | Quick Start


Overview

RedTeam-Agent is an AI-powered red team framework using a skill-first terminal workflow. AI reads project skills, discovers tools, executes commands in terminal, and summarizes high-signal findings.

Core philosophy: no manual tool-by-tool operation. Let AI orchestrate the workflow end-to-end.

Key Features

  • Plug and play: 15+ tools with automated setup
  • AI-driven workflow: Skill + terminal execution
  • Token optimized: output filtering and file-first strategy
  • AD coverage: BloodHound + impacket + Responder chain
  • Multi-client support: Cursor, Claude Desktop, VS Code/Cline

Tool Matrix

Network

  • gogo: fast asset discovery
  • fscan: comprehensive host/service scan

Web

  • httpx: HTTP probing and fingerprinting
  • nuclei: template-based vulnerability validation
  • ffuf: directory and parameter fuzzing

Active Directory

  • SharpHound / bloodhound-python
  • impacket (GetNPUsers, GetUserSPNs, secretsdump, ntlmrelayx, etc.)
  • pywerview, ldapdomaindump

Lateral Movement

  • nxc (NetExec)
  • impacket-wmiexec
  • impacket-psexec

Quick Start

1. Requirements

text
Python 3.8+
Windows 10/11 or Linux/macOS
8GB+ RAM recommended

2. Installation

bash
git clone https://github.com/ktol1/RedTeam-Agent.git
cd RedTeam-Agent

python -m venv venv
# Windows PowerShell
.\venv\Scripts\Activate.ps1
# Linux/macOS
source venv/bin/activate

# Windows
python scripts/install_tools.py

# Linux/macOS
python scripts/install_tools_linux.py

3. Enable Skills Terminal Mode

No extra server setup is required.

bash
cd RedTeam-Agent
dir .\tools

AI will read the repository skill and .github/copilot-instructions.md, then execute terminal commands directly.

4. Example Prompts

text
First load the redteam skill, then scan 192.168.1.0/24 in terminal,
write output to scan.txt, and summarize high-value findings.

Use SharpHound to collect corp.local data and summarize attack paths.

Set up a chisel proxy and provide upload/run commands.

AD Attack Flow

  1. Recon: gogo / fscan / kerbrute / pywerview
  2. Collection: SharpHound or bloodhound-python
  3. Analysis: BloodHound GUI or scripts/bloodhound_analysis.py
  4. Attack: Kerberoast / AS-REP Roast / secretsdump / relay
  5. Lateral: nxc / wmiexec / psexec / getST

Terminal Commands (Skill-driven)

#ToolFunctionCommand
1gogoFast asset probegogo -t 100 -l hosts.txt -q -f gogo.txt
2fscanNetwork scannerfscan -h 192.168.1.0/24 -np -silent -nocolor -o fscan.txt
3httpxWeb fingerprintinghttpx -l urls.txt -sc -title -server -td -silent -o httpx.txt
4nucleiPOC scannernuclei -l urls.txt -tags cve,rce -s high,critical -nc -o nuclei.txt
5ffufDirectory fuzzingffuf -u http://target/FUZZ -w wordlist.txt -mc 200,301,302 -s -o ffuf.txt
6nxcLateral movementnxc smb 192.168.1.0/24 -u user -p pass --shares
7kerbruteKerberos enumkerbrute userenum -d corp.local --dc 192.168.1.10 users.txt -o valid_users.txt
8SharpHoundData collectionSharpHound.exe -c Default -d corp.local
9pywerviewDomain enumpywerview.py get-domain-user -d corp.local --dc-ip 192.168.1.10 -u user -p pass
10ldapdomaindumpLDAP dumpldapdomaindump ldap://192.168.1.10 -u 'corp\\user' -p 'password' -o .\\ldapdump
11responderLLMNR spoofingresponder -I eth0 -v
12wmiexecWMI execimpacket-wmiexec domain/user:pass@target 'whoami'
13psexecService execimpacket-psexec domain/user:pass@target cmd.exe
14secretsdumpCredential dumpimpacket-secretsdump corp.local/user:pass@dc -just-dc
15ntlmrelayxNTLM relayimpacket-ntlmrelayx -t ldap://dc --smb2support

Output Optimization

  • Remove ANSI colors
  • Compress blank lines
  • Truncate excessive output
  • Prefer file-first output for large scans
  • Summarize only high-signal findings

Documentation

Contributing

Issues and pull requests are welcome.

MIT License - Copyright (c) 2024-2026 ktol1

Use RedTeam Agent MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once RedTeam Agent is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add RedTeam Agent as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the RedTeam Agent MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "redteam-agent": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the RedTeam Agent MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the RedTeam Agent MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use RedTeam Agent to help me with this task?
RedTeam Agent
Sure. I read it.
Here is what I found using RedTeam Agent.

Frequently asked questions

What is the RedTeam Agent MCP server used for?

RedTeam Agent is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use RedTeam Agent MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use RedTeam Agent with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use RedTeam Agent MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With RedTeam Agent connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect RedTeam Agent MCP to TypingMind?

RedTeam Agent runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does RedTeam Agent MCP provide in TypingMind?

RedTeam Agent exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use RedTeam Agent MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If RedTeam Agent requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇