mirror of
https://github.com/GH05TCREW/pentestagent.git
synced 2026-07-25 02:35:23 -04:00
[PR #21] [MERGED] Restore clean MCP setup (revert experimental changes) #25
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/GH05TCREW/pentestagent/pull/21
Author: @giveen
Created: 1/21/2026
Status: ✅ Merged
Merged: 1/22/2026
Merged by: @GH05TCREW
Base:
main← Head:mcp-cleanup📝 Commits (10+)
c737453chore(mcp): add visibility note for mcp-cleanup branchc5c6feechore(mcp): disable MCP auto-start and auto-connect; document manual installf3f3b09mcp: add daemon mode + disconnect; harden StdioTransport cleanup080a32amcp: add unix socket control + tools call/list via daemon84203c0mcp: auto-connect when configured; add socket control and tools calld29e1f7tui: instantiate MCPManager at startup to auto-connect and register MCP tools1a54deamcp: allow background connect without registering tools; TUI starts background connect(register=False)d6c5d8etui: register MCP tools quietly at startup (register=True, quiet=True)30e2476chore(mcp): remove vendored HexStrike filesdb06dcfchore(mcp): remove hexstrike/metasploit adapters and helper scripts📊 Changes
37 files changed (+741 additions, -25400 deletions)
View changed files
📝
.env.example(+9 -15)➕
MCP-CLEANUP-NOTE.md(+15 -0)📝
README.md(+8 -4)➖
dupe-workspace.tar.gz(+0 -0)➖
expimp-workspace.tar.gz(+0 -0)📝
pentestagent/interface/cli.py(+4 -15)📝
pentestagent/interface/main.py(+373 -2)📝
pentestagent/interface/tui.py(+23 -15)➕
pentestagent/mcp/example_adapter.py(+83 -0)➖
pentestagent/mcp/hexstrike_adapter.py(+0 -338)📝
pentestagent/mcp/manager.py(+4 -315)📝
pentestagent/mcp/mcp_servers.json(+1 -27)➖
pentestagent/mcp/metasploit_adapter.py(+0 -414)➕
pentestagent/mcp/stdio_adapter.py(+181 -0)📝
pentestagent/mcp/transport.py(+5 -287)📝
pentestagent/workspaces/utils.py(+1 -1)➖
requirements-hexstrike.txt(+0 -3)➖
scripts/add_hexstrike_subtree.sh(+0 -32)➖
scripts/add_metasploit_subtree.sh(+0 -84)➖
scripts/install_hexstrike_deps.ps1(+0 -45)...and 17 more files
📄 Description
I wanted to apologize for the earlier MCP changes I pushed in.
After working with them a bit more, I wasn’t happy with the direction or the amount of noise they introduced into the project.
Rather than trying to patch around it, I decided it was cleaner and safer to roll the MCP setup back to commit
49c0b93.This PR restores the original structure from that commit and removes the experimental MCP additions. From here, we can re‑introduce MCP support in a more controlled and incremental way if we decide to bring it back.
Thanks for your patience while I cleaned this up.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.